Skip to content

help with installing R packages on Mac : these packages are downloaded but not compiled

5 messages · Bert Gunter, Jeff Newmiller, Bogdan Tanasa +1 more

#
Dear all,

I would appreciate to have your prompt help please on the following issue :

I am the process of installing R and R packages on MacOS Monterrey.

The packages are downloaded but not compiled and are not installed, as
shown below.

 I would appreciate any help that you can offer please. Thank you.
Installing package into
?/Users/btanasa/Library/R/x86_64/4.1/library?(as ?lib? is unspecified)
trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.1/tidyverse_1.3.1.tgz'
Content type 'application/x-gzip' length 421072 bytes (411
KB)==================================================
downloaded 411 KB


The downloaded binary packages are in
    /var/folders/j1/vfxkcdz51l945jpfb2vplcsw47dvp9/T//RtmpYudPdW/downloaded_packages>
Error: package or namespace load failed for ?tidyverse?:
 .onLoad failed in loadNamespace() for 'broom', details:
  call: loadNamespace(x)
  error: there is no package called ?backports?
#
Mac specific issues generally belong on the R-sig-mac list, not here(I
of course don't know whether this is Mac specific or not. Folks on the
Mac list presumably would).


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Mar 23, 2022 at 5:41 PM Bogdan Tanasa <tanasa at gmail.com> wrote:
#
Tidyverse has dozens of dependencies... and when a dependency fails to install then you often need to install it explicitly... the automatic dependency algorithm doesn't seem to work robustly.

Carefully read your error messages... it looks like you should start by installing backports.
On March 23, 2022 5:52:29 PM PDT, Bert Gunter <bgunter.4567 at gmail.com> wrote:

  
    
#
Thank you Jeff.

Well, the same messages I do receive not only I do install "tidyverse" but
also any other packages from BioConductor ;

specifically, the packages are downloaded but not compiled and not
installed.

I believe that it is a more global R issue with Mac Monterey, although I do
not know how to solve it. Thanks,

Bogdan



On Wed, Mar 23, 2022 at 6:42 PM Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
wrote:

  
  
#
Pay attention to your error messages:

? .onLoad failed in loadNamespace() for 'broom', details:
 call: loadNamespace(x)
 error: there is no package called ?backports??

? 
David

Sent from my iPhone