No manual pdf created during build of R package
Asked Answered
P

1

8

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

Peppercorn answered 22/7, 2016 at 8:7 Comment(1)
Try in plain R console to ensure that problem is related to RStudio/roxygen/devtools and not to R.Rope
B
8

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).

Boling answered 1/9, 2016 at 14:48 Comment(1)
Thank you for this information! The unchecking trick does indeed work. I have notified Hadley of the issue.Peppercorn

© 2022 - 2024 — McMap. All rights reserved.