[R-pkg-devel] Problem compressing vignettes for CRAN
Dear Ivan You must have psychic powers. After some digging I find that the copy installed by TexLive is hidden from other software so I need to install it again. I suppose while I am at it I should try installing qpdf. Michael
On 06/10/2023 15:48, Ivan Krylov wrote:
? Fri, 6 Oct 2023 15:36:45 +0100 Michael Dewey <lists at dewey.myzen.co.uk> ?????:
But I did use the option --compact-vignettes=both when I built the tarball.
I do have gs installed but not qpdf. I built the package under Windows if that is relevant.
Is the Ghostscript executable on the %PATH%? It might help to install a newer version. It may also be informative to extract the vignette *.pdf files from the source package tarball and run tools::compactPDF(pdfs, gs_quality='ebook', verbose = TRUE) to see whether it breaks at any point.
Michael