Closed alexWhitworth closed 1 year ago
This does not have much to do with pkgbuild. devtools::check_built()
uses different flags than plain R CMD check
, in particular, it adds --as-cran
by default.
EDIT: oh, wait, I missed that you also ran devtools::check_built()
on the R CMD build
output.
OTOH I see:
Warning in tools:::.build_packages() :
invalid value for '--compact-vignettes', assuming "qpdf"
which is because devtools::check_built()
does not use a shell, so you should pass the build arguments without quoting:
pkgbuild::build("./imputeMulti", vignettes=TRUE, args= c("--compact-vignettes=gs+qpdf"))
@gaborcsardi running R CMD CHECK ... --as-cran
does not reproduce the warning from pkgbuild
... This does indeed have to do with pkgbuild
.
Edit. Ah, thanks for the syntax correction. This does indeed resolve the issue locally. I'm still getting the warning with submission to CRAN. But perhaps that's a separate issue.
When building my package via
pkgbuild::build
instead of command lineR CMD BUILD
I am generating new errors.To Reproduce
R CMD BUILD imputeMulti --compact-vignettes='gs+qpdf'
R CMD CHECK ./imputeMulti_0.8.4.tar.gz
. result = "Status: OK"