Ivan, 

I tried doing what you did and it increased the size by a factor of 10

> Sys.getenv("R_QPDF","R_GSCMD","GS_QUALITY")
[1] "/Library/Frameworks/R.framework/Resources/bin/qpdf"
> Sys.getenv("R_QPDF")
[1] "/Library/Frameworks/R.framework/Resources/bin/qpdf"
> Sys.getenv("R_GSCMD")
[1] "/usr/local/bin/Cellar/ghostscript/10.03.0/bin/gs"
> Sys.getenv("GS_QUALITY")
[1] "ebook"
> tools::compactPDF(
+ "microplot/inst/doc",
gs_cmd = "gs", gs_quality = "ebook",
+ verbose = TRUE)
+ qs_quality="ebook" : use_gs=TRUE, use_qpdf=TRUE
#{pdf}s = length(paths) = 1
- microplot/inst/doc/rmhPoster.pdf:    gs: res=0;  + qpdf: res=0; 
    ==> (new=3.73094e+06)/(old=380862) = 9.79603 .. not worth using
> 

Can you send me the 96Kb file?  I will then substitute it into 
microplot_1.0-47.tar.gz
and send that version to CRAN.

Thank you 
Rich


> On Jul 23, 2025, at 19:00, Ivan Krylov <ikry...@disroot.org> wrote:
> 
> untar("microplot_1.0-47.tar.gz.orig");
> tools::compactPDF(
>  "microplot/inst/doc",
>  gs_cmd = "gs", gs_quality = "ebook",
>  verbose = TRUE
> )
> '

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to