jorainer / ensembldb

This is the ensembldb development repository.
https://jorainer.github.io/ensembldb
33 stars 10 forks source link

Trying to install ensembldb in Rstudio 3.6.3 #153

Open noodlebasket1 opened 1 month ago

noodlebasket1 commented 1 month ago

Hello, I'm trying to install ensembldb in Rstudio 3.6.3 on my Macbook Air (MacOS Montery) and receive the following error:

BiocManager::install("ensembldb") 'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package = "BiocManager")' for details. Replacement repositories: CRAN: https://cran.rstudio.com/ Bioconductor version 3.10 (BiocManager 1.30.23), R 3.6.3 (2020-02-29) Old packages: 'cluster', 'KernSmooth', 'mgcv', 'nlme' Update all/some/none? [a/s/n]: a Warning: unable to access index for repository https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6: cannot open URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/PACKAGES' Packages which are only available in source form, and may need compilation of C/C++/Fortran: ‘cluster’ ‘KernSmooth’ ‘mgcv’ ‘nlme’ Do you want to attempt to install these from sources? (Yes/no/cancel) Yes installing the source packages ‘cluster’, ‘KernSmooth’, ‘mgcv’, ‘nlme’

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

downloaded 360 KB

trying URL 'https://cran.rstudio.com/src/contrib/KernSmooth_2.23-22.tar.gz' Content type 'application/x-gzip' length 25996 bytes (25 KB)

downloaded 25 KB

trying URL 'https://cran.rstudio.com/src/contrib/mgcv_1.9-1.tar.gz' Content type 'application/x-gzip' length 1083217 bytes (1.0 MB)

downloaded 1.0 MB

trying URL 'https://cran.rstudio.com/src/contrib/nlme_3.1-164.tar.gz' Content type 'application/x-gzip' length 836832 bytes (817 KB)

downloaded 817 KB

The downloaded source packages are in ‘/private/var/folders/fm/sjxn7fbd4zj1xbt31ldp78z00000gn/T/Rtmp26HJTi/downloaded_packages’ Warning messages: 1: package(s) not installed when version(s) same as or greater than current; use force = TRUE to re-install: 'ensembldb' 2: In install.packages(update[instlib == l, "Package"], l, repos = repos, : installation of package ‘cluster’ had non-zero exit status 3: In install.packages(update[instlib == l, "Package"], l, repos = repos, : installation of package ‘KernSmooth’ had non-zero exit status 4: In install.packages(update[instlib == l, "Package"], l, repos = repos, : installation of package ‘nlme’ had non-zero exit status 5: In install.packages(update[instlib == l, "Package"], l, repos = repos, : installation of package ‘mgcv’ had non-zero exit status

Every time I try to install the dependencies one by one, the same error pops up that the other dependencies are needed. Any suggestions?

noodlebasket1 commented 1 month ago

As for the "fopenmp" issue for the mgcv dependency, I tried using: Sys.setenv(USE_OPENMP = "no") install.packages("mgcv", type = "source")

but to no avail

jorainer commented 1 month ago

Note ensembldb does not depend on or require/import the mgcv package. you could simply say n to the question Update all/some/none.

Also (but unrelated), you are using a pretty old version of R/Bioconductor - maybe you could consider updating to R 4.0.0 / Bioconductor 3.19 too?