Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rcmdcheck is not building the pdf manual #137

Closed
aravind-j opened this issue Mar 3, 2021 · 1 comment
Closed

rcmdcheck is not building the pdf manual #137

aravind-j opened this issue Mar 3, 2021 · 1 comment
Labels
bug an unexpected problem or unintended behavior

Comments

@aravind-j
Copy link

When running rcmdcheck as follows as the --no-manual argument is missing, the source package being built for testing should include the pdf manual. However, the Rd files are not being converted to latex and then pdf.

rcmdcheck::rcmdcheck(args = c("--as-cran"), error_on = "warning")

So I am getting the following error.

 Package has help file(s) containing install/render-stage \Sexpr{} expressions but no prebuilt PDF manual.

As I see, rcmdcheck:::build_package does not build the pdf manual.

rcmdcheck:::build_package(path = ".", tmpdir = tempdir(),
                          libpath = .libPaths(), quiet = FALSE, build_args = "")

Alternatively with devtools::build the pdf manual is built.

devtools::build(path = ".", binary = FALSE, manual = TRUE)
@gaborcsardi
Copy link
Member

FWIW you can build the tar.gz first, and call rcmdcheck() on that, to work around it.

@gaborcsardi gaborcsardi added the bug an unexpected problem or unintended behavior label Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants