Corretion about write a directory.
Run roxygenise on the package.