Hi

I have just added a vignette to an R package that is already on CRAN. However, 
when I submit the new version I get

* checking sizes of PDF files under 'inst/doc' ... WARNING

  'gs+qpdf' made some significant size reductions:
     compacted 'article.pdf' from 794Kb to 530Kb

I have tried building the package using

R CMD build --compact-vignettes="gs+pdf"

but the size of the vignette pdf does not get reduced

I have also tried


R CMD build --compact-vignettes="pdf"

R CMD build --compact-vignettes="gs"

R CMD build --compact-vignettes="both"

and

devtools::build(args = c('--compact-vignettes=gs+qpdf'))

devtools::build(args = c('--compact-vignettes=qpdf'))

devtools::build(args = c('--compact-vignettes=gs'))

devtools::build(args = c('--compact-vignettes=both'))

In all cases these options have no effect on the size of the pdf.

I do have both gs and qpdf available on the system.

$ which gs

/usr/bin/gs

$ which qpdf

/usr/bin/qpdf

Any help / guidance would be much appreciated.

Many thanks,

Dan








        [[alternative HTML version deleted]]

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

Reply via email to