UCLouvain-CBIO / scpdata

Single Cell Proteomics Data
https://uclouvain-cbio.github.io/scpdata/
4 stars 3 forks source link

"Error: package or namespace load failed for 'scpdata'" when installing dev version #14

Closed Cajun-data closed 10 months ago

Cajun-data commented 10 months ago

Hi - I am running into an issue installing using: remotes::install_github("UCLouvain-CBIO/scpdata", force = T)

I receive the following error: ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for 'scpdata': .onLoad failed in loadNamespace() for 'scpdata', details: call: FUN(X[[i]], ...) error: 'leduc2022_pSCoPE' not found in ExperimentHub Error: loading failed Execution halted ERROR: loading failed

lgatto commented 10 months ago

My guess is that you are running the current release version of Bioconductor, i.e 3.17, but leduc2022_pSCoPE was added as part of the devel version (3.18). You can check this with

> BiocManager::version()
[1] ‘3.17’

that reproduces your issue, and

> BiocManager::version()
[1] ‘3.18’

that succeeds.

This is also confirmed by the package's NEWS file, that indicates that leduc2022_pSCoPE (and other) data have been added to the devel release.

See Using the ‘Devel’ Version of Bioconductor for details on using Bioc devel.

The take-home message here is to always install Bioconductor package with BiocManager::install().