SingleR-inc / SingleR

Clone of the Bioconductor repository for the SingleR package.
https://bioconductor.org/packages/devel/bioc/html/SingleR.html
GNU General Public License v3.0
172 stars 19 forks source link

Installation of SingleR in R/4.2.2 using BiocManager v3.16 fails #260

Open star0044 opened 8 months ago

star0044 commented 8 months ago

I'm trying to re-install SingleR after upgrading to R/4.2.2 and I get the following error message

make: *** [integrate_build.o] Error 1 ERROR: compilation failed for package ‘SingleR’

Any advice on how I can get SingleR installed will be greatly appreciated

I am able to install all the dependencies, but still get the error. Here is the full output of my attempt to install SingleR. At the end is the session info:

BiocManager::install("SingleR") 'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package = "BiocManager")' for details. Replacement repositories: CRAN: https://mirror.las.iastate.edu/CRAN Bioconductor version 3.16 (BiocManager 1.30.22), R 4.2.2 (2022-10-31) Installing package(s) 'SingleR' trying URL 'https://bioconductor.org/packages/3.16/bioc/src/contrib/SingleR_2.0.0.tar.gz' Content type 'application/gzip' length 728090 bytes (711 KB)

downloaded 711 KB

The downloaded source packages are in ‘/tmp/Rtmp1jg8q6/downloaded_packages’ Warning message: In install.packages(...) : installation of package ‘SingleR’ had non-zero exit status

sessionInfo() R version 4.2.2 (2022-10-31) Platform: x86_64-pc-linux-gnu (64-bit) Running under: CentOS Linux 7 (Core)

Matrix products: default BLAS: /common/software/install/spack/linux-centos7-ivybridge/gcc-8.2.0/r-4.2.2-vp7tydeosl55o3d5hp5plulp6evljtbp/rlib/R/lib/libRblas.so LAPACK: /common/software/install/spack/linux-centos7-ivybridge/gcc-8.2.0/r-4.2.2-vp7tydeosl55o3d5hp5plulp6evljtbp/rlib/R/lib/libRlapack.so

locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] BiocManager_1.30.22

loaded via a namespace (and not attached): [1] compiler_4.2.2 tools_4.2.2

LTLA commented 8 months ago

Looks related to #232, and probably fixed by f3c97e7092417068980876792be88ad3ec3ab229. It seems you'd have to update your installation anyway, given that it says you're running BioC 3.16 (latest is 3.18).