В Fri, 11 Nov 2022 12:54:52 +0000 "Grose, Daniel" <dan.gr...@lancaster.ac.uk> пишет:
> * checking sizes of PDF files under 'inst/doc' ... WARNING > 'gs+qpdf' made some significant size reductions: > compacted 'cpop.pdf' from 805Kb to 547Kb > consider running tools::compactPDF(gs_quality = "ebook") on these > files > > I do not understand how I can do this given that the pdf is produced > when installing the package. Any ideas ? I think that the PDF file is built during R CMD build, not (only) R CMD INSTALL. At the very least, the source package currently on CRAN contains both the *.pdf and the *.ltx files under inst/doc: https://github.com/cran/cpop/tree/master/inst/doc Does it help to pass the --compact-vignettes=gs+qpdf argument to R CMD build? It seems to be off by default. -- Best regards, Ivan ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel