seurat icon indicating copy to clipboard operation
seurat copied to clipboard

Couldn't install Seurat4.1.1 on R 4.2, and error message with "ERROR: lazy loading failed for package 'Seurat'

Open zyb1984 opened this issue 2 years ago • 5 comments

Couldn't install Seurat4.1.1 on R 4.2, and error message  with "ERROR: lazy loading failed for package 'Seurat', and no other error messages were be warned.

1651476945

R version 4.2.0 (2022-04-22 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19044)

Matrix products: default

locale: [1] LC_COLLATE=Chinese (Simplified)_China.utf8 LC_CTYPE=Chinese (Simplified)_China.utf8
[3] LC_MONETARY=Chinese (Simplified)_China.utf8 LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.utf8

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

loaded via a namespace (and not attached): [1] Rcpp_1.0.8 compiler_4.2.0 plyr_1.8.6 pillar_1.7.0 RColorBrewer_1.1-3 [6] tools_4.2.0 lifecycle_1.0.1 tibble_3.1.6 nlme_3.1-157 gtable_0.3.0
[11] lattice_0.20-45 mgcv_1.8-40 pkgconfig_2.0.3 rlang_1.0.2 Matrix_1.4-1
[16] cli_3.2.0 DBI_1.1.2 parallel_4.2.0 stringr_1.4.0 dplyr_1.0.8
[21] cluster_2.1.3 generics_0.1.2 vctrs_0.3.8 grid_4.2.0 tidyselect_1.1.2
[26] glue_1.6.2 data.table_1.14.2 R6_2.5.1 fansi_1.0.2 microeco_0.7.5
[31] ggplot2_3.3.5 purrr_0.3.4 reshape2_1.4.4 magrittr_2.0.2 scales_1.2.0
[36] ellipsis_0.3.2 MASS_7.3-56 splines_4.2.0 assertthat_0.2.1 permute_0.9-7
[41] ape_5.6-2 colorspace_2.0-3 utf8_1.2.2 stringi_1.7.6 munsell_0.5.0
[46] crayon_1.5.1 vegan_2.5-7

insert reproducible example here

Try more than one time

zyb1984 avatar May 02 '22 07:05 zyb1984

I have the same issue. I did not have error when I install Rccp library.

Could you advise what to correct this issue? Thanks Tiphaine

> install.packages("Seurat", repos = c("https://seurat.nygenome.org/", "https://cloud.r-project.org"))
also installing the dependency ‘SeuratObject’

Warning in install.packages :
  unable to access index for repository https://seurat.nygenome.org/bin/macosx/contrib/4.2:
  cannot open URL 'https://seurat.nygenome.org/bin/macosx/contrib/4.2/PACKAGES'

  There are binary versions available but the source versions are later:
             binary source needs_compilation
SeuratObject  4.0.4  4.1.0              TRUE
Seurat        4.1.0  4.1.1              TRUE

Do you want to install from sources the packages which need compilation? (Yes/no/cancel) Yes
installing the source packages ‘SeuratObject’, ‘Seurat’

trying URL 'https://cloud.r-project.org/src/contrib/SeuratObject_4.1.0.tar.gz'
Content type 'application/x-gzip' length 188875 bytes (184 KB)
==================================================
downloaded 184 KB

trying URL 'https://cloud.r-project.org/src/contrib/Seurat_4.1.1.tar.gz'
Content type 'application/x-gzip' length 1427419 bytes (1.4 MB)
==================================================
downloaded 1.4 MB

* installing *source* package ‘SeuratObject’ ...
** package ‘SeuratObject’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25:
In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:26:
In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/RcppCommon.h:157:
In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/traits.h:53:
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_sexptype_traits.h:63:43: error: no member named 'complex' in namespace 'std'
template<> struct r_sexptype_traits< std::complex<double> >{ enum{ rtype = CPLXSXP } ; } ;
                                     ~~~~~^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_sexptype_traits.h:63:57: error: expected '(' for function-style cast or type construction
template<> struct r_sexptype_traits< std::complex<double> >{ enum{ rtype = CPLXSXP } ; } ;
                                                  ~~~~~~^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_sexptype_traits.h:63:59: error: expected unqualified-id
template<> struct r_sexptype_traits< std::complex<double> >{ enum{ rtype = CPLXSXP } ; } ;
                                                          ^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_sexptype_traits.h:64:43: error: no member named 'complex' in namespace 'std'
template<> struct r_sexptype_traits< std::complex<float> >{ enum{ rtype = CPLXSXP } ; } ;
                                     ~~~~~^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_sexptype_traits.h:64:56: error: expected '(' for function-style cast or type construction
template<> struct r_sexptype_traits< std::complex<float> >{ enum{ rtype = CPLXSXP } ; } ;
                                                  ~~~~~^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_sexptype_traits.h:64:58: error: expected unqualified-id
template<> struct r_sexptype_traits< std::complex<float> >{ enum{ rtype = CPLXSXP } ; } ;
                                                         ^
In file included from RcppExports.cpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25:
In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:26:
In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/RcppCommon.h:157:
In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/traits.h:54:
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_type_traits.h:173:39: error: no member named 'complex' in namespace 'std'
template<> struct r_type_traits< std::complex<double> >{ typedef r_type_primitive_tag r_category ; } ;
                                 ~~~~~^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_type_traits.h:173:53: error: expected '(' for function-style cast or type construction
template<> struct r_type_traits< std::complex<double> >{ typedef r_type_primitive_tag r_category ; } ;
                                              ~~~~~~^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_type_traits.h:173:55: error: expected unqualified-id
template<> struct r_type_traits< std::complex<double> >{ typedef r_type_primitive_tag r_category ; } ;
                                                      ^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_type_traits.h:174:67: error: no member named 'complex' in namespace 'std'
template<> struct r_type_traits< std::pair<const std::string,std::complex<double> > >{ typedef r_type_primitive_tag r_category ; } ;
                                                             ~~~~~^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_type_traits.h:174:81: error: expected '(' for function-style cast or type construction
template<> struct r_type_traits< std::pair<const std::string,std::complex<double> > >{ typedef r_type_primitive_tag r_category ; } ;
                                                                          ~~~~~~^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_type_traits.h:174:85: error: expected unqualified-id
template<> struct r_type_traits< std::pair<const std::string,std::complex<double> > >{ typedef r_type_primitive_tag r_category ; } ;
                                                                                    ^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_type_traits.h:177:39: error: no member named 'complex' in namespace 'std'
template<> struct r_type_traits< std::complex<float> >{ typedef r_type_primitive_tag r_category ; } ;
                                 ~~~~~^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_type_traits.h:177:52: error: expected '(' for function-style cast or type construction
template<> struct r_type_traits< std::complex<float> >{ typedef r_type_primitive_tag r_category ; } ;
                                              ~~~~~^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_type_traits.h:177:54: error: expected unqualified-id
template<> struct r_type_traits< std::complex<float> >{ typedef r_type_primitive_tag r_category ; } ;
                                                     ^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_type_traits.h:178:67: error: no member named 'complex' in namespace 'std'
template<> struct r_type_traits< std::pair<const std::string,std::complex<float> > >{ typedef r_type_primitive_tag r_category ; } ;
                                                             ~~~~~^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_type_traits.h:178:80: error: expected '(' for function-style cast or type construction
template<> struct r_type_traits< std::pair<const std::string,std::complex<float> > >{ typedef r_type_primitive_tag r_category ; } ;
                                                                          ~~~~~^
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/r_type_traits.h:178:84: error: expected unqualified-id
template<> struct r_type_traits< std::pair<const std::string,std::complex<float> > >{ typedef r_type_primitive_tag r_category ; } ;
                                                                                   ^
In file included from RcppExports.cpp:4:
In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigen.h:25:
In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen/include/RcppEigenForward.h:26:
In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/RcppCommon.h:157:
In file included from /Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/traits.h:57:
/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include/Rcpp/traits/wrap_type_traits.h:90:43: error: no member named 'complex' in namespace 'std'
template <> struct wrap_type_traits< std::complex<float> > { typedef wrap_type_primitive_tag wrap_category; } ;
                                     ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘SeuratObject’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/SeuratObject’
Warning in install.packages :
  installation of package ‘SeuratObject’ had non-zero exit status
ERROR: dependency ‘SeuratObject’ is not available for package ‘Seurat’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Seurat’
Warning in install.packages :
  installation of package ‘Seurat’ had non-zero exit status

The downloaded source packages are in
	‘/private/var/folders/tf/pt7y2qv94q35wmy7r7lwyy9m0000gn/T/RtmpxoJ6aT/downloaded_packages’`

> sessionInfo()
R version 4.2.0 (2022-04-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Monterey 12.3.1

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

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

TiphaineCMartin avatar May 04 '22 12:05 TiphaineCMartin

I am getting a similar error:

library("Seurat") Error in library("Seurat") : there is no package called 'Seurat' install.packages("Seurat") Installing package into '/users/mbartlet/R/packages/singularity-R4.1.2' (as 'lib' is unspecified) also installing the dependencies 'rgeos', 'SeuratObject'

trying URL 'https://cloud.r-project.org/src/contrib/rgeos_0.5-9.tar.gz' Content type 'application/x-gzip' length 290240 bytes (283 KB)

downloaded 283 KB

trying URL 'https://cloud.r-project.org/src/contrib/SeuratObject_4.1.0.tar.gz' Content type 'application/x-gzip' length 188875 bytes (184 KB)

downloaded 184 KB

trying URL 'https://cloud.r-project.org/src/contrib/Seurat_4.1.1.tar.gz' Content type 'application/x-gzip' length 1427419 bytes (1.4 MB)

downloaded 1.4 MB

WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

  • installing source package 'rgeos' ... ** package 'rgeos' successfully unpacked and MD5 sums checked ** using staged installation configure: CC: gcc -std=gnu99 -std=gnu11 configure: CXX: g++ -std=gnu++14 configure: rgeos: 0.5-9 checking for /usr/bin/svnversion... no configure: svn revision: 684 checking for geos-config... no no configure: error: geos-config not found or not executable. ERROR: configuration failed for package 'rgeos'
  • removing '/users/mbartlet/R/packages/singularity-R4.1.2/rgeos' Warning in install.packages : installation of package 'rgeos' had non-zero exit status WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

ERROR: dependency 'rgeos' is not available for package 'SeuratObject'

  • removing '/users/mbartlet/R/packages/singularity-R4.1.2/SeuratObject' Warning in install.packages : installation of package 'SeuratObject' had non-zero exit status WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

ERROR: dependency 'SeuratObject' is not available for package 'Seurat'

  • removing '/users/mbartlet/R/packages/singularity-R4.1.2/Seurat' Warning in install.packages : installation of package 'Seurat' had non-zero exit status

The downloaded source packages are in '/tmp/RtmpWxQlki/downloaded_packages'

install.packages("rgeos") Installing package into '/users/mbartlet/R/packages/singularity-R4.1.2' (as 'lib' is unspecified) trying URL 'https://cloud.r-project.org/src/contrib/rgeos_0.5-9.tar.gz' Content type 'application/x-gzip' length 290240 bytes (283 KB) ================================================== downloaded 283 KB

WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

  • installing source package 'rgeos' ... ** package 'rgeos' successfully unpacked and MD5 sums checked ** using staged installation configure: CC: gcc -std=gnu99 -std=gnu11 configure: CXX: g++ -std=gnu++14 configure: rgeos: 0.5-9 checking for /usr/bin/svnversion... no configure: svn revision: 684 checking for geos-config... no no configure: error: geos-config not found or not executable. ERROR: configuration failed for package 'rgeos'
  • removing '/users/mbartlet/R/packages/singularity-R4.1.2/rgeos' Warning in install.packages : installation of package 'rgeos' had non-zero exit status

The downloaded source packages are in '/tmp/RtmpWxQlki/downloaded_packages'

options(timeout = 1200) install.packages("rgeos") Installing package into '/users/mbartlet/R/packages/singularity-R4.1.2' (as 'lib' is unspecified) trying URL 'https://cloud.r-project.org/src/contrib/rgeos_0.5-9.tar.gz' Content type 'application/x-gzip' length 290240 bytes (283 KB) ================================================== downloaded 283 KB

WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

  • installing source package 'rgeos' ... ** package 'rgeos' successfully unpacked and MD5 sums checked ** using staged installation configure: CC: gcc -std=gnu99 -std=gnu11 configure: CXX: g++ -std=gnu++14 configure: rgeos: 0.5-9 checking for /usr/bin/svnversion... no configure: svn revision: 684 checking for geos-config... no no configure: error: geos-config not found or not executable. ERROR: configuration failed for package 'rgeos'
  • removing '/users/mbartlet/R/packages/singularity-R4.1.2/rgeos' Warning in install.packages : installation of package 'rgeos' had non-zero exit status

The downloaded source packages are in '/tmp/RtmpWxQlki/downloaded_packages'

install.packages("rgeos", repos="http://R-Forge.R-project.org") Installing package into '/users/mbartlet/R/packages/singularity-R4.1.2' (as 'lib' is unspecified) trying URL 'http://R-Forge.R-project.org/src/contrib/rgeos_0.5-10.tar.gz' Content type 'application/x-gzip' length 280616 bytes (274 KB) ================================================== downloaded 274 KB

WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

  • installing source package 'rgeos' ... ** using staged installation configure: CC: gcc -std=gnu99 -std=gnu11 configure: CXX: g++ -std=gnu++14 configure: rgeos: 0.5-10 checking for /usr/bin/svnversion... no cat: inst/SVN_VERSION: No such file or directory configure: svn revision: checking for geos-config... no no configure: error: geos-config not found or not executable. ERROR: configuration failed for package 'rgeos'
  • removing '/users/mbartlet/R/packages/singularity-R4.1.2/rgeos' Warning in install.packages : installation of package 'rgeos' had non-zero exit status

The downloaded source packages are in '/tmp/RtmpWxQlki/downloaded_packages'

p037_20220407 Error: object 'p037_20220407' not found #!/bin/Rscript MBARTLETT library("Seurat") Error in library("Seurat") : there is no package called 'Seurat' remotes::install_github(repo = 'satijalab/seurat', ref = 'develop') Downloading GitHub repo satijalab/seurat@develop These packages have more recent versions available. It is recommended to update all of them. Which would you like to update?

1: All
2: CRAN packages only
3: None
4: cli (3.2.0 -> 3.3.0) [CRAN] 5: sp (1.4-6 -> 1.4-7) [CRAN] 6: tibble (3.1.6 -> 3.1.7) [CRAN] 7: dplyr (1.0.8 -> 1.0.9) [CRAN] 8: ggplot2 (3.3.5 -> 3.3.6) [CRAN] 9: httr (1.4.2 -> 1.4.3) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 1 cli (3.2.0 -> 3.3.0) [CRAN] sp (1.4-6 -> 1.4-7) [CRAN] tibble (3.1.6 -> 3.1.7) [CRAN] dplyr (1.0.8 -> 1.0.9) [CRAN] rgeos (NA -> 0.5-9) [CRAN] ggplot2 (3.3.5 -> 3.3.6) [CRAN] httr (1.4.2 -> 1.4.3) [CRAN] SeuratObject (NA -> 4.1.0) [CRAN] Installing 8 packages: cli, sp, tibble, dplyr, rgeos, ggplot2, httr, SeuratObject Installing packages into '/users/mbartlet/R/packages/singularity-R4.1.2' (as 'lib' is unspecified) trying URL 'https://cloud.r-project.org/src/contrib/cli_3.3.0.tar.gz' Content type 'application/x-gzip' length 495823 bytes (484 KB)

downloaded 484 KB

trying URL 'https://cloud.r-project.org/src/contrib/sp_1.4-7.tar.gz' Content type 'application/x-gzip' length 1424284 bytes (1.4 MB)

downloaded 1.4 MB

trying URL 'https://cloud.r-project.org/src/contrib/tibble_3.1.7.tar.gz' Content type 'application/x-gzip' length 674873 bytes (659 KB)

downloaded 659 KB

trying URL 'https://cloud.r-project.org/src/contrib/dplyr_1.0.9.tar.gz' Content type 'application/x-gzip' length 957637 bytes (935 KB)

downloaded 935 KB

trying URL 'https://cloud.r-project.org/src/contrib/rgeos_0.5-9.tar.gz' Content type 'application/x-gzip' length 290240 bytes (283 KB)

downloaded 283 KB

trying URL 'https://cloud.r-project.org/src/contrib/ggplot2_3.3.6.tar.gz' Content type 'application/x-gzip' length 3061989 bytes (2.9 MB)

downloaded 2.9 MB

trying URL 'https://cloud.r-project.org/src/contrib/httr_1.4.3.tar.gz' Content type 'application/x-gzip' length 161122 bytes (157 KB)

downloaded 157 KB

trying URL 'https://cloud.r-project.org/src/contrib/SeuratObject_4.1.0.tar.gz' Content type 'application/x-gzip' length 188875 bytes (184 KB)

downloaded 184 KB

WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

  • installing source package 'cli' ... ** package 'cli' successfully unpacked and MD5 sums checked ** using staged installation ** libs gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c ansi.c -o ansi.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c cleancall.c -o cleancall.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c diff.c -o diff.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c errors.c -o errors.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c md5.c -o md5.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c progress-altrep.c -o progress-altrep.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c progress.c -o progress.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c sha256.c -o sha256.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c thread.c -o thread.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c tty.c -o tty.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8.c -o utf8.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c win-utf8.c -o win-utf8.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c winfiles.c -o winfiles.o gcc -std=gnu99 -std=gnu11 -shared -L/usr/lib/R/lib -Wl,-z,relro -o cli.so ansi.o cleancall.o diff.o errors.o init.o md5.o progress-altrep.o progress.o sha256.o thread.o tty.o utf8.o win-utf8.o winfiles.o -L/usr/lib/R/lib -lR installing to /users/mbartlet/R/packages/singularity-R4.1.2/00LOCK-cli/00new/cli/libs ** R ** inst ** byte-compile and prepare package for lazy loading WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** help *** installing help indices *** copying figures ** building package indices WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** testing if installed package can be loaded from temporary location WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** testing if installed package keeps a record of temporary installation path

  • DONE (cli) WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

  • installing source package 'sp' ... ** package 'sp' successfully unpacked and MD5 sums checked ** using staged installation ** libs gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c Rcentroid.c -o Rcentroid.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c gcdist.c -o gcdist.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c pip.c -o pip.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c pip2.c -o pip2.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c sp_xports.c -o sp_xports.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c surfaceArea.c -o surfaceArea.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c zerodist.c -o zerodist.o gcc -std=gnu99 -std=gnu11 -shared -L/usr/lib/R/lib -Wl,-z,relro -o sp.so Rcentroid.o gcdist.o init.o pip.o pip2.o sp_xports.o surfaceArea.o zerodist.o -L/usr/lib/R/lib -lR installing to /users/mbartlet/R/packages/singularity-R4.1.2/00LOCK-sp/00new/sp/libs ** R ** data ** demo ** inst ** byte-compile and prepare package for lazy loading WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** help *** installing help indices ** building package indices WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** installing vignettes ** testing if installed package can be loaded from temporary location WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** testing if installed package keeps a record of temporary installation path

  • DONE (sp) WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

  • installing source package 'tibble' ... ** package 'tibble' successfully unpacked and MD5 sums checked ** using staged installation ** libs gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c attributes.c -o attributes.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c coerce.c -o coerce.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c matrixToDataFrame.c -o matrixToDataFrame.o gcc -std=gnu99 -std=gnu11 -shared -L/usr/lib/R/lib -Wl,-z,relro -o tibble.so attributes.o coerce.o init.o matrixToDataFrame.o -L/usr/lib/R/lib -lR installing to /users/mbartlet/R/packages/singularity-R4.1.2/00LOCK-tibble/00new/tibble/libs ** R ** inst ** byte-compile and prepare package for lazy loading WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** help *** installing help indices *** copying figures ** building package indices WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** installing vignettes ** testing if installed package can be loaded from temporary location WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** testing if installed package keeps a record of temporary installation path

  • DONE (tibble) WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

  • installing source package 'httr' ... ** package 'httr' successfully unpacked and MD5 sums checked ** using staged installation ** R ** demo ** inst ** byte-compile and prepare package for lazy loading WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** help *** installing help indices ** building package indices WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** installing vignettes ** testing if installed package can be loaded from temporary location WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** testing if installed package can be loaded from final location WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** testing if installed package keeps a record of temporary installation path

  • DONE (httr) WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

  • installing source package 'dplyr' ... ** package 'dplyr' successfully unpacked and MD5 sums checked ** using staged installation ** libs g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c chop.cpp -o chop.o g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c filter.cpp -o filter.o g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c funs.cpp -o funs.o g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c group_by.cpp -o group_by.o g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c group_data.cpp -o group_data.o g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c imports.cpp -o imports.o g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.cpp -o init.o g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c mask.cpp -o mask.o g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c mutate.cpp -o mutate.o g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c slice.cpp -o slice.o g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c summarise.cpp -o summarise.o g++ -std=gnu++14 -shared -L/usr/lib/R/lib -Wl,-z,relro -o dplyr.so chop.o filter.o funs.o group_by.o group_data.o imports.o init.o mask.o mutate.o slice.o summarise.o -L/usr/lib/R/lib -lR installing to /users/mbartlet/R/packages/singularity-R4.1.2/00LOCK-dplyr/00new/dplyr/libs ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** help *** installing help indices *** copying figures ** building package indices WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** installing vignettes ** testing if installed package can be loaded from temporary location WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** testing if installed package keeps a record of temporary installation path

  • DONE (dplyr) WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

  • installing source package 'rgeos' ... ** package 'rgeos' successfully unpacked and MD5 sums checked ** using staged installation configure: CC: gcc -std=gnu99 -std=gnu11 configure: CXX: g++ -std=gnu++14 configure: rgeos: 0.5-9 checking for /usr/bin/svnversion... no configure: svn revision: 684 checking for geos-config... no no configure: error: geos-config not found or not executable. ERROR: configuration failed for package 'rgeos'
  • removing '/users/mbartlet/R/packages/singularity-R4.1.2/rgeos' WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

  • installing source package 'ggplot2' ... ** package 'ggplot2' successfully unpacked and MD5 sums checked ** using staged installation ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** help *** installing help indices *** copying figures ** building package indices WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** installing vignettes ** testing if installed package can be loaded from temporary location WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** testing if installed package can be loaded from final location WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

** testing if installed package keeps a record of temporary installation path

  • DONE (ggplot2) WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

ERROR: dependency 'rgeos' is not available for package 'SeuratObject'

  • removing '/users/mbartlet/R/packages/singularity-R4.1.2/SeuratObject'

The downloaded source packages are in '/tmp/RtmpWxQlki/downloaded_packages' WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

v checking for file '/tmp/RtmpWxQlki/remotesc224764a0773/satijalab-seurat-3bee84a/DESCRIPTION' ...

  • preparing 'Seurat': (428ms) v checking DESCRIPTION meta-information

  • cleaning src

  • installing the package to process help pages (504ms) ----------------------------------- WARNING: invalid R_MAX_VSIZE ignored

    WARNING: invalid R_MAX_VSIZE ignored

    ERROR: dependency 'SeuratObject' is not available for package 'Seurat'

  • removing '/tmp/Rtmpdw0SzX/Rinst3407b4ffe7de4/Seurat' ----------------------------------- ERROR: package installation failed Error: Failed to install 'Seurat' from GitHub: System command 'R' failed, exit status: 1, stdout & stderr were printed In addition: Warning messages: 1: In i.p(...) : installation of package 'rgeos' had non-zero exit status 2: In i.p(...) : installation of package 'SeuratObject' had non-zero exit status

install.packages("Seurat", repos = c("https://seurat.nygenome.org/", "https://cloud.r-project.org")) Installing package into '/users/mbartlet/R/packages/singularity-R4.1.2' (as 'lib' is unspecified) also installing the dependencies 'rgeos', 'SeuratObject'

trying URL 'https://cloud.r-project.org/src/contrib/rgeos_0.5-9.tar.gz' Content type 'application/x-gzip' length 290240 bytes (283 KB)

downloaded 283 KB

trying URL 'https://cloud.r-project.org/src/contrib/SeuratObject_4.1.0.tar.gz' Content type 'application/x-gzip' length 188875 bytes (184 KB)

downloaded 184 KB

trying URL 'https://cloud.r-project.org/src/contrib/Seurat_4.1.1.tar.gz' Content type 'application/x-gzip' length 1427419 bytes (1.4 MB)

downloaded 1.4 MB

WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

  • installing source package 'rgeos' ... ** package 'rgeos' successfully unpacked and MD5 sums checked ** using staged installation configure: CC: gcc -std=gnu99 -std=gnu11 configure: CXX: g++ -std=gnu++14 configure: rgeos: 0.5-9 checking for /usr/bin/svnversion... no configure: svn revision: 684 checking for geos-config... no no configure: error: geos-config not found or not executable. ERROR: configuration failed for package 'rgeos'
  • removing '/users/mbartlet/R/packages/singularity-R4.1.2/rgeos' Warning in install.packages : installation of package 'rgeos' had non-zero exit status WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

ERROR: dependency 'rgeos' is not available for package 'SeuratObject'

  • removing '/users/mbartlet/R/packages/singularity-R4.1.2/SeuratObject' Warning in install.packages : installation of package 'SeuratObject' had non-zero exit status WARNING: invalid R_MAX_VSIZE ignored

WARNING: invalid R_MAX_VSIZE ignored

ERROR: dependency 'SeuratObject' is not available for package 'Seurat'

  • removing '/users/mbartlet/R/packages/singularity-R4.1.2/Seurat' Warning in install.packages : installation of package 'Seurat' had non-zero exit status

The downloaded source packages are in '/tmp/RtmpWxQlki/downloaded_packages'

mbartl13 avatar May 04 '22 14:05 mbartl13

@TiphaineCMartin run install.packages("Seurat") and choose "No" when it asks if you want to compile from source

@zyb1984 please include the full code you're running and the output (not as screenshots)

timoast avatar May 20 '22 20:05 timoast

What's with all the thumb down's ? Please be constructive, folks!

plijnzaad avatar Sep 29 '22 11:09 plijnzaad

Thank you very much, all had been solved, maybe this was caused by some incompatibility with the part of upgrade.

zyb1984 avatar Sep 29 '22 11:09 zyb1984

Closing this issue, please open a new issue if anyone is encountering difficulties with installing the latest version of Seurat.

mhkowalski avatar Jul 07 '23 21:07 mhkowalski