UCLouvain-CBIO / depmap

Cancer Dependency Map package
https://uclouvain-cbio.github.io/depmap/
24 stars 7 forks source link

Install Error #84

Closed millersan closed 1 year ago

millersan commented 1 year ago

Hello,

I have an error trying to install depmap:

Error: package or namespace load failed for 'depmap':
 .onLoad failed in loadNamespace() for 'depmap', details:
  call: h(simpleError(msg, call))
  error: error in evaluating the argument 'x' in selecting a method for function 'query': DEFUNCT: As of ExperimentHub (>1.17.2), default caching location has changed.
  Problematic cache: C:\Users\ADMINI~1\AppData\Local/ExperimentHub/ExperimentHub/Cache

Error: loading failed
Execution halted
ERROR: loading failed
* removing 'F:/software/R-4.2.2/library/depmap'

Thanks Best Mirrersan

> sessionInfo()
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 14393)

Matrix products: default

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

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

loaded via a namespace (and not attached):
 [1] ps_1.7.2            prettyunits_1.1.1   crayon_1.5.2        withr_2.5.0         rprojroot_2.0.3    
 [6] R6_2.5.1            cli_3.6.0           curl_5.0.0          rstudioapi_0.14     remotes_2.4.2      
[11] callr_3.7.3         desc_1.4.2          tools_4.2.2         compiler_4.2.2      processx_3.8.0     
[16] pkgbuild_1.4.0      BiocManager_1.30.20
lgatto commented 1 year ago

I think the error you are seeing is due to a change in the default ExperimentHub cache location. See here for details. Could you check and update us here.

millersan commented 1 year ago

solve by running this pipline https://bioconductor.org/packages/devel/bioc/vignettes/ExperimentHub/inst/doc/ExperimentHub.html#default-caching-location-update