Shicheng-Guo / rbiotools

Other
0 stars 0 forks source link

'qpdf' is needed for checks on size reduction of PDFs #1

Open Shicheng-Guo opened 3 years ago

Shicheng-Guo commented 3 years ago

Somehow, you will meet this problem when check your R package with cran standard: devtools::check(args = c('--as-cran')). How to solve this problem? I have checked several different way, but finally realize this one is the best solution:

1. Download qpdf for windows from https://sourceforge.net/projects/qpdf/?source=typ_redirect
2. Extract files in a temp folder
3. Copy the contents of the bin folder to %SystemRoot%\System32

Actually, %SystemRoot%\System32 is the folder of C:\Windows\System32

Shicheng-Guo commented 3 years ago

For Linux, not like windows, it looks thing is easy

conda install -c conda-forge qpdf
conda install -c conda-forge ghostscript