Open bmihaljevic opened 6 years ago
Have you tried adding the following line to your .travis.yml
file?
r_build_args: '--compact-vignettes="gs+qpdf"'
(see: https://github.com/achubaty/grainscape/commit/582046b0deb890749bf4c17da9d6f3a3d93f5971)
I've found that locally, RStudio dislikes --compact-vignettes="gs+qpdf"
, but works with --compact-vignettes=both
, so it may be worth trying both on Travis if one doesn't work.
Thanks! I will have a look at this once I get to a bnclassify update.
On Travis and win-builder there was one WARNING:
Since the vignette is generated automatically from vignettes/overview.rmd and I don't know of anything I can do to reduce the size of the resulting pdf. I avoided the warning locally by using
devtools::check(args = '--as-cran', cran = TRUE, check_version = TRUE, build_args = c('--resave-data','--compact-vignettes="gs+qpdf"'))
.See also: