[R-pkg-devel] consider running tools::compactPDF(gs_quality = "ebook")

Juhee Lee |jh988488 @end|ng |rom gm@||@com
Wed Oct 2 14:34:22 CEST 2019


Dear all.

I checked my package on win-builder, and got this message:

* checking sizes of PDF files under 'inst/doc' ... WARNING
  'gs+qpdf' made some significant size reductions:
     compacted 'vignette.pdf' from 541Kb to 234Kb
  consider running tools::compactPDF(gs_quality = "ebook") on these files


But, I run R CMD build --compact-vignettes="gs+qpdf", and

I installed gs and qpdf on my system.

How can I solve this problem?


Best regards


Juhee Lee.

---------------------------------------

> Sys.which(Sys.getenv("R_GSCMD"))
C:\\Program Files\\gs\\gs9.27\\bin\\gswin64c.exe
   "C:\\PROGRA~1\\gs\\gs9.27\\bin\\gswin64c.exe"
> Sys.which(Sys.getenv("R_QPDF"))
C:\\Program Files\\qpdf-9.0.1\\bin\\qpdf.exe
   "C:\\PROGRA~1\\QPDF-9~1.1\\bin\\qpdf.exe"
> sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

Matrix products: default

locale:
[1] LC_COLLATE=Korean_Korea.949  LC_CTYPE=Korean_Korea.949
LC_MONETARY=Korean_Korea.949
[4] LC_NUMERIC=C                 LC_TIME=Korean_Korea.949

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] LARisk_0.1.1

loaded via a namespace (and not attached):
[1] compiler_3.6.1 tools_3.6.1    Rcpp_1.0.2

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list