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

devtools::check() in vignette causes R CMD check to fail. #8

Closed
dewittpe opened this issue Dec 17, 2019 · 0 comments
Closed

devtools::check() in vignette causes R CMD check to fail. #8

dewittpe opened this issue Dec 17, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dewittpe
Copy link
Owner

For some reason having the devtools::check in the export vignette results in a R CMD check --as-cran failure, but R CMD check will pass.

To reproduce the error:

git checkout 6c88ae3
make check          # Status Ok
make check-as-cran  # Status 1 Warning, 1 Note

The warning is:

* checking re-building of vignette outputs ... WARNING
Error(s) in re-building vignettes:
  ...
--- re-building ‘api.Rmd’ using rmarkdown
--- finished re-building ‘api.Rmd’

--- re-building ‘export.Rmd’ using rmarkdown
Quitting from lines 128-130 (export.Rmd) 
Error: processing vignette 'export.Rmd' failed with diagnostics:
R CMD check found WARNINGs
--- failed re-building ‘export.Rmd’

SUMMARY: processing the following file failed:
  ‘export.Rmd’

Error: Vignette re-building failed.
Execution halted

The lines causing the issue:

head -n 130 vignettes/export.Rmd 
  ```{r warning = FALSE}
  check <- devtools::check(pkg = prj_dir, quiet = TRUE, cran = FALSE)
  check
  ```
@dewittpe dewittpe added the bug Something isn't working label Dec 17, 2019
@dewittpe dewittpe self-assigned this Dec 17, 2019
dewittpe added a commit that referenced this issue Dec 18, 2019
this change was needed to pass the R build on 3.5.3,

re #8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant