Marc in the box
Marc in the box

Reputation: 11995

No manual pdf created during build of R package

I see that my recent package build no longer creates a manual even though I have not added "--no-manual" to the build settings. I didn't have this problem before - I have recently updated both devtools and roxygen2.

Am I missing something?

Here is how I set my project options:

enter image description here

Upvotes: 8

Views: 1937

Answers (1)

Randy Zwitch
Randy Zwitch

Reputation: 2064

A solution would just be to run $ R CMD Rd2pdf <package name> if the package is already built, or uncheck Use devtools package functions if available

devtools box

For whatever reason, devtools injects --as-cran --no-manual into the build process, even though you don't specify it as a user (you can see this in your build log in RStudio).

Upvotes: 8

Related Questions