MarioniLab / scran

Clone of the Bioconductor repository for the scran package.
https://bioconductor.org/packages/devel/bioc/html/scran.html
39 stars 23 forks source link

Installation of package ‘scran’ had non-zero exit status #87

Open awurmser opened 3 years ago

awurmser commented 3 years ago

Hello,

I have tried to install the package "scran", but will receive the following error code. I have tried to google the error, but have not been able to come up with a workable solution. I am currently using R version 4.0.4 (2021-02-15). I also tried to install the other missing packages, but they returned the same error codes.

BiocManager::install('scran') Bioconductor version 3.12 (BiocManager 1.30.10), R 4.0.4 (2021-02-15) Installing package(s) 'scran' also installing the dependencies ‘sparseMatrixStats’, ‘scuttle’, ‘DelayedMatrixS tats’

trying URL 'https://bioconductor.org/packages/3.12/bioc/src/contrib/sparseMatrix Stats_1.2.1.tar.gz' Content type 'application/x-gzip' length 698554 bytes (682 KB)

downloaded 682 KB

trying URL 'https://bioconductor.org/packages/3.12/bioc/src/contrib/scuttle_1.0. 4.tar.gz' Content type 'application/x-gzip' length 387528 bytes (378 KB)

downloaded 378 KB

trying URL 'https://bioconductor.org/packages/3.12/bioc/src/contrib/DelayedMatri xStats_1.12.3.tar.gz' Content type 'application/x-gzip' length 271827 bytes (265 KB)

downloaded 265 KB

trying URL 'https://bioconductor.org/packages/3.12/bioc/src/contrib/scran_1.18.5 .tar.gz' Content type 'application/x-gzip' length 1818765 bytes (1.7 MB)

downloaded 1.7 MB

The downloaded source packages are in ‘/tmp/Rtmps6q95U/downloaded_packages’ Old packages: 'boot', 'cluster', 'MASS', 'mgcv' Update all/some/none? [a/s/n]: a trying URL 'https://cran.rstudio.com/src/contrib/boot_1.3-27.tar.gz' Content type 'application/x-gzip' length 236799 bytes (231 KB)

downloaded 231 KB

trying URL 'https://cran.rstudio.com/src/contrib/cluster_2.1.1.tar.gz' Content type 'application/x-gzip' length 397306 bytes (387 KB)

downloaded 387 KB

trying URL 'https://cran.rstudio.com/src/contrib/MASS_7.3-53.1.tar.gz' Content type 'application/x-gzip' length 505007 bytes (493 KB)

downloaded 493 KB

trying URL 'https://cran.rstudio.com/src/contrib/mgcv_1.8-34.tar.gz' Content type 'application/x-gzip' length 1149538 bytes (1.1 MB)

downloaded 1.1 MB

The downloaded source packages are in ‘/tmp/Rtmps6q95U/downloaded_packages’ Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning messages: 1: In install.packages(...) : installation of package ‘sparseMatrixStats’ had non-zero exit status 2: In install.packages(...) : installation of package ‘DelayedMatrixStats’ had non-zero exit status 3: In install.packages(...) : installation of package ‘scuttle’ had non-zero exit status 4: In install.packages(...) : installation of package ‘scran’ had non-zero exit status

I would very much appreciate your help,

Best, Annabelle

LTLA commented 3 years ago

This is really a sparseMatrixStats problem, see my comments in the linked issue.

awurmser commented 3 years ago

Thank you LTLA, it was indeed a problem with the compiler version. I updated to gcc 7.2 and was fine. Best,