phenoscape / rphenoscape

R package to make phenotypic traits from the Phenoscape Knowledgebase available from within R.
https://rphenoscape.phenoscape.org/
Other
5 stars 5 forks source link

Fixes CircleCI tests cache problem #269

Closed johnbradley closed 1 year ago

johnbradley commented 1 year ago

Adds CircleCI CACHE_VERSION environment variable to allow running tests with a clean cache. The CACHE_VERSION Environment variable can be changed within the CircleCI project settings to a higher number to clear the cache. https://support.circleci.com/hc/en-us/articles/115015426888-Clear-Project-Dependency-Cache

This was to fix a problem where a new version of the R container failed to install dependencies:

> devtools::install_deps(dep = TRUE)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object '/usr/local/lib/R/site-library/stringi/libs/stringi.so':
  libicui18n.so.66: cannot open shared object file: No such file or directory
Calls: loadNamespace ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load
Execution halted

Fixes https://github.com/phenoscape/rphenoscape/issues/268