Home > other >  Mac Rstudio cannot install the Bioconductor, has been stuck in here
Mac Rstudio cannot install the Bioconductor, has been stuck in here

Time:11-20

The results are as follows, could you tell me the great spirit and how to solve? Thank you
Source (" https://bioconductor.org/biocLite.R ")
Error: With R version 3.5 or greater, install Bioconductor packages using BiocManager; See https://bioconductor.org/install
if (! RequireNamespace (" BiocManager ", quietly=TRUE))
+ install packages (" BiocManager ")
BiocManager: : install (" rhdf5 ")
4.0.2 Bioconductor version 3.11 (BiocManager 1.30.10), R (2020-06-22)
Installing the package (s) 'rhdf5'
Trying URL 'https://bioconductor.org/packages/3.11/bioc/bin/macosx/contrib/4.0/rhdf5_2.32.2.tgz'
The Content type 'application/x - gzip' length of 2434821 bytes (2.3 MB)
==================================================
Downloaded 2.3 MB


The downloaded binary packages are in
/var/folders/fk1 - fk/kn3g1qz55h9gl4x29h85w5100000gn/T//RtmpzkwacZ downloaded_packages
Old packages: 'MASS', 'MGCV'
Update all/some/none? A/s/n:
A

There are binary versions available but the source versions are later:
Binary source needs_compilation
MASS of 7.3-51.6-7.3-52 TRUE
MGCV 1.8-1.8-31 32 TRUE

Do you want to install the from sources the packages which need compilation? (Yes/no/cancel) Yes
Installing the source packages' MASS ', 'MGCV
'
Trying URL 'https://cran.rstudio.com/src/contrib/MASS_7.3-52.tar.gz'
The Content type 'application/x - gzip' length of 494809 bytes (483 KB)
==================================================
Downloaded 483 KB

Trying URL 'https://cran.rstudio.com/src/contrib/mgcv_1.8-32.tar.gz'
The Content type 'application/x - gzip' length of 1004383 bytes (980 KB)
==================================================
Downloaded 980 KB

* source installing * * package 'MASS'...
* * package 'MASS' successfully unpacked and MD5 sums checked
* * the using staged installation
* * libs
Xcrun: error: invalid active developer path (/Library/developer/CommandLineTools), missing xcrun at:/Library/developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package 'MASS'
* o '/Library/Frameworks/R.f ramework/Versions/4.0/Resources/Library/MASS'
* restoring previous'/Library/Frameworks/R.f ramework/Versions/4.0/Resources/Library/MASS '
* source installing * * package 'MGCV...
* * package 'MGCV successfully unpacked and MD5 sums checked
* * the using staged installation
* * libs
Xcrun: error: invalid active developer path (/Library/developer/CommandLineTools), missing xcrun at:/Library/developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package 'MGCV
'* o '/Library/Frameworks/R.f ramework/Versions/4.0/Resources/Library/MGCV
'* restoring previous'/Library/Frameworks/R.f ramework/Versions/4.0/Resources/Library/MGCV
'
The downloaded source packages are in
'/private/var/folders/fk1 - fk/kn3g1qz55h9gl4x29h85w5100000gn/T/RtmpzkwacZ downloaded_packages
'Warning messages:
1: In the install packages (update/instlib==l, "Package", l, repos=repos, :
The installation of package 'MASS' had non - zero exit status
2: In the install packages (update/instlib==l, "Package", l, repos=repos, :
The installation of package 'MGCV had non - zero exit status
  • Related