bmihaljevic / bnclassify

Learning Discrete Bayesian Network Classifiers from Data
18 stars 10 forks source link

CRAN warning: checking sizes of PDF files under 'inst/doc' ... WARNING #28

Open bmihaljevic opened 6 years ago

bmihaljevic commented 6 years ago

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:

ms609 commented 5 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.

bmihaljevic commented 5 years ago

Thanks! I will have a look at this once I get to a bnclassify update.