cole-trapnell-lab / monocle3

Other
330 stars 100 forks source link

Problem downloading Monocle3 dependencies (terra) on M1 Pro MacBook #614

Open garrett-lam opened 2 years ago

garrett-lam commented 2 years ago

Describe the bug

To Reproduce

library(BiocManager) Bioconductor version 3.15 (BiocManager 1.30.18), R 4.2.1 (2022-06-23) BiocManager::install(c('BiocGenerics', 'DelayedArray', 'DelayedMatrixStats',

  • 'limma', 'lme4', 'S4Vectors', 'SingleCellExperiment',
  • 'SummarizedExperiment', 'batchelor', 'Matrix.utils',
  • 'HDF5Array', 'terra', 'ggrastr')) 'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details

replacement repositories: CRAN: https://cran.rstudio.com/

Bioconductor version 3.15 (BiocManager 1.30.18), R 4.2.1 (2022-06-23) Installing package(s) 'terra'

There is a binary version available but the source version is later: binary source needs_compilation terra 1.5-21 1.6-3 TRUE

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) yes installing the source package ‘terra’

trying URL 'https://cran.rstudio.com/src/contrib/terra_1.6-3.tar.gz' Content type 'application/x-gzip' length 686866 bytes (670 KB)

downloaded 670 KB

The downloaded source packages are in ‘/private/var/folders/89/g3h_xtg92b725qqgg7b883sr0000gn/T/Rtmpl092so/downloaded_packages’ Old packages: 'edgeR', 'globals', 'MASS', 'RCurl', 'sf', 'terra' Update all/some/none? [a/s/n]: n Warning messages: 1: package(s) not installed when version(s) same as current; use force = TRUE to re-install: 'BiocGenerics' 'DelayedArray' 'DelayedMatrixStats' 'limma' 'lme4' 'S4Vectors' 'SingleCellExperiment' 'SummarizedExperiment' 'batchelor' 'Matrix.utils' 'HDF5Array' 'ggrastr' 2: In install.packages(...) : installation of package ‘terra’ had non-zero exit status

traceback()

traceback() No traceback available

sessionInfo():

sessionInfo() R version 4.2.1 (2022-06-23) Platform: x86_64-apple-darwin17.0 (64-bit) Running under: macOS Monterey 12.0.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

other attached packages: [1] BiocManager_1.30.18

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

techgirl2022 commented 2 years ago

Hi Garrett, I also noticed this issue while trying to install monocle3 dependencies on my macbook pro and am still troubleshooting this step. Did you run into any issues while installing 'sf'?

garrett-lam commented 2 years ago

Yes, I have problems installing 'sf' too. I posted on their github as well.

brookeabrown commented 2 years ago

Hello, I am having this issue as well. Have you had any success fixing the issue? Thanks!

techgirl2022 commented 2 years ago

Mac OS X was giving me issues so I tried to install monocle3 on my Windows desktop computer and that worked (the difference is only needing to install Rtools while running R version 4.1.0.