13

When running R CMD check on packages on a Mac build server, I'm getting a warning

‘qpdf’ is needed for checks on size reduction of PDFs

I can't seem to get qpdf installed and on the system. I tried installing via the fink package manager, but according to the package database (http://pdb.finkproject.org/pdb/package.php/qpdf), qpdf doesn't seem to have been built since osx 10.6, and I'm on 10.8.3.

Can anyone point me to qpdf mac install or build instructions? Or is there a way to disable the warning when checking R packages?

This is somewhat related to the question qpdf.exe for compactPDF?, although they were on a windows machine and I'm on a mac.

Community
  • 1
  • 1
skyebend
  • 1,079
  • 6
  • 19

2 Answers2

27

You can install qpdf with homebrew:

brew install qpdf
user1981275
  • 13,002
  • 8
  • 72
  • 101
4

MacPorts can help you. Download MacPorts from http://www.macports.org/ and run sudo port install qpdf.

Roland
  • 127,288
  • 10
  • 191
  • 288
Shuduo
  • 727
  • 5
  • 14
  • ping @SimonUrbanek : You might want to solicit opinions on the R-SIG-Mac Mailing List. I know that Simon has expressed concerns about mixing R packages with MacPorts- and Fink-installed packages. – IRTFM Jun 06 '13 at 17:00