[R-SIG-Mac] Missing qpdf

Matthew Heun m@tthew@heun @end|ng |rom me@com
Mon Dec 20 21:09:40 CET 2021


Thanks! 

The "First option" worked for me.  Specifically, I installed the "R-4.1-branch 4.1.2 patched" version from https://mac.r-project.org, and everything works (without the external installation of qpdf).

Happy Holidays!

Cheers,

Matt






> On Dec 19, 2021, at 10:02 PM, Simon Urbanek <simon.urbanek using R-project.org> wrote:
> 
> Matt,
> 
> First option: try using the latest R from https://mac.R-project.org since the latest releases include qpdf in the distribution so there is no need to install it externally.
> 
> Second option: use R instead of RStudio since the latter is just a complicated way to call "R CMD check" so calling it directly should work.
> 
> Third option: ask RStudio support how to get it to work since that requires manipulation of (exported) PATH inside RStudio.
> 
> Cheers,
> Simon
> 
> 
>> On Dec 20, 2021, at 3:16 PM, Matthew Heun via R-SIG-Mac <r-sig-mac using r-project.org> wrote:
>> 
>> All:
>> 
>> I'm hoping this list is the right place to post this question.  If not, feel free to direct me elsewhere.  I also looked for a search option for this list but couldn't find one.  Sorry!
>> 
>> I'm on a new M1 Pro MacBook Pro.  (Yay!)  I installed the arm64 version of R and the latest version of RStudio.  I'm now setting up for package development with RStudio.  When checking any of my packages in RStudio (Build|Check Package), I see:
>> 
>> 
>> checking data for ASCII and uncompressed saves ... OK
>>  WARNING
>> ‘qpdf’ is needed for checks on size reduction of PDFs
>> 
>> 
>> This warning does not appear on my Intel Mac.
>> 
>> 
>> I attempted the following to try to eliminate this warning:
>> 
>> * Installed qpdf (from https://mac.r-project.org/libs-arm64/) into /opt/R/arm64/bin. 
>> 
>> * As suggested at https://mac.r-project.org/libs-arm64/, I added /opt/R/arm64/bin to PATH such that I see the following in the macOS Terminal app:
>> 
>> mkh2 using Mac91836 ~ % echo $PATH
>> /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Library/Apple/usr/bin:/opt/R/arm64/bin
>> 
>> and
>> 
>> mkh2 using Mac91836 ~ % which qpdf
>> /opt/R/arm64/bin/qpdf
>> 
>> 
>> However, the problem persists.
>> 
>> 
>> Is there something else I should be doing to eliminate this warning?
>> 
>> 
>> Any suggestions will be welcome.
>> 
>> Thanks,
>> 
>> Matt
>> 
>> 
>> P.S.  Many, many thanks to everyone who keeps R for Mac viable!  Your contributions are incredibly valuable.
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac using r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
> 



More information about the R-SIG-Mac mailing list