On 24.05.2017 18:06, Fernanda De Bastiani wrote:
Dear Sir/Madam, please, I am trying to submit a package to CRAN (with a vignette) but I receive the following warning * checking sizes of PDF files under 'inst/doc' ... WARNING 'gs+qpdf' made some significant size reductions: compacted 'name.pdf' from 1212Kb to 924Kb consider running tools::compactPDF(gs_quality = "ebook") on these files I use windows sytem and Rstudio. I have added this command --compact-vignettes="gs+qpdf" in the build option, then I received the message above. Please what exactly I have to add or change in order to improve the gs quality to ebook?
Not sure about RStudio, but in R I'd use R CMD build --compact-vignettes="both" ... but note you need to have both gs and qpdf installed and on the PATH. Best, Uwe Ligges
Thank you, Fernanda [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel