Fix CI
Closed this issue · 0 comments
hechth commented
The problem seems to be related to the ICU package and library being loaded on the runner. See: conda-forge/r-stringi-feedstock#18
Run conda activate recetox-aplcms
* installing *source* package ‘recetox.aplcms’ ...
** using non-staged installation
** R
** data
** tests
** byte-compile and prepare package for lazy loading
Error: package or namespace load failed for ‘stringr’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/share/miniconda/envs/recetox-aplcms/lib/R/library/stringi/libs/stringi.so':
libicui[18](https://github.com/RECETOX/recetox-aplcms/actions/runs/4692943768/jobs/8319291699?pr=193#step:19:19)n.so.58: cannot open shared object file: No such file or directory
Execution halted
ERROR: lazy loading failed for package ‘recetox.aplcms’
* removing ‘/tmp/RtmpjkHVkV/R_LIBS1da8682a371a/recetox.aplcms’
Error in file(con, "r") : cannot open the connection
Calls: <Anonymous> -> package_coverage -> add_hooks -> readLines -> file
In addition: Warning messages:
1: In utils::install.packages(repos = NULL, lib = install_path, pkg$path, :
installation of package ‘/home/runner/work/recetox-aplcms/recetox-aplcms’ had non-zero exit status
2: In file(con, "r") :
cannot open file '/tmp/RtmpjkHVkV/R_LIBS1da8682a371a/recetox.aplcms/R/recetox.aplcms': No such file or directory
Execution halted
Error: Process completed with exit code 1.