How to get rid of a size warning in R for package development

If you do R CMD build --help you will see the two lines

--compact-vignettes=  try to compact PDF files under inst/doc:  
                      "no" (default), "qpdf", "gs", "gs+qpdf", "both"

Per recent discussion on the mailing lists, you may want arguments gs+qpdf or both. You may want to experiment with both. Use of the option should render a package that does not trigger the NOTE.

And I presume there is a way to pass that onto devtools as well but I am not familiar with its functions so I can’t give you a direct pointer.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top