Search code examples
rcranroxygen2

CRAN note when using roxygen2 template


I'm using rogyxen2 template in my R package. As suggested, I added my template R files in a folder called "man-roxygen" in the package directory.

However, when I R CMD check I get the following note:

Non-standard file/directory found at top level: ‘man-roxygen’

Any way to fix this?

Cheers, Philippe


Solution

  • You need to add man-roxygen to the .Rbuildignore file. See the plyr package and how it has done this here. And this post on SO might also be useful.