Re: [R-pkg-devel] Some, but not all vignettes compressed

2024-04-25 Thread Ivan Krylov via R-package-devel
В Thu, 25 Apr 2024 11:54:49 -0700 Bryan Hanson пишет: > So my version of gs blows things up! The relatively good news is that GhostScript is not solely to blame. A fresh build of "GPL Ghostscript 10.03.0 (2024-03-06)" was able to reduce the files to 16..70% of their original size on my computer.

Re: [R-pkg-devel] Some, but not all vignettes compressed

2024-04-25 Thread Bryan Hanson
Thank you so much Ivan for investigating. I didn’t even notice the *increase*! The results of the tests you requested are very interesting: R > tools::compactPDF("doc", gs_quality = "none", verbose = TRUE) qs_quality="none" : use_gs=FALSE, use_qpdf=TRUE #{pdf}s = length(paths) = 8 - doc/Vig_01_

Re: [R-pkg-devel] Some, but not all vignettes compressed

2024-04-25 Thread Ivan Krylov via R-package-devel
В Thu, 25 Apr 2024 08:54:41 -0700 Bryan Hanson пишет: > 'gs+qpdf' made some significant size reductions: > compacted 'Vig_02_Conceptual_Intro_PCA.pdf' from 432Kb to 143Kb > compacted 'Vig_03_Step_By_Step_PCA.pdf' from 414Kb to 101Kb > compacted 'Vig_04_Scores_Loadings.pdf' from 3

[R-pkg-devel] Some, but not all vignettes compressed

2024-04-25 Thread Bryan Hanson
I have a peculiar problem regarding vignette compaction. Package LearnPCA has 8 vignettes. I am working on the devel branch with code at https://github.com/bryanhanson/LearnPCA/tree/devel. The problem is that at CRAN and on win-builder they detect that 5/8 vignettes need to be compacted. Loca