I cannot generate .Rd documentation files for my package using RStudio and Roxygen2. First, let me mention that I went through the similar issues posted here and already did the following:
Roxygen2 blocks initiated at the beginning of a file with # '
Configured build tools> Created documentation using Roxygen> Configuration> Checked all the fields in the section "Use rosgen for generation" and "Automatically roguenize at startup"
- Make sure there are no .Rd files in the "man" folder.
And even after that, when I do "Build and Reload" on RStudio, I get the following output (note the line that says: MYPACKAGE man pages are not specified in the package:
= => devtools :: document (roclets = c ('rd', 'collate', 'namespace', 'vignette'))>
MYPACKAGE Documentation Update MYPACKAGE Download Documentation Complete
==> Rcmd.exe INSTALL --no-multiarch --with-keep.source MYPACKAGE
- installation to the C library: /Users/user/Documents/R/win-library/3.3
- installing the source package 'MYPACKAGE' ... ** P ** data * moving datasets for lazyload DB ** preparing a package for lazy loading No pages found in the package "MYPACKAGE" man ** Help * setting help indices ** building package indices ** testing if the installed package can be downloaded
- DONE (MYPACKAGE)
Edit: Further research revealed that this is because I have subdirectories in my R directory, which is not supported by default. A possible solution was found here , which, however, I have not tried. I will send a report with the results as soon as I can run the tests.
source share