radian fails to load package while base R works without a problem
Opened this issue · 1 comments
I want to switch to radian, however, some of the packages that I use on a daily basis fail to load when trying it with radian. The interesting thing is, that they load without any problem when I use base R.
This is the error that occurs:
Error: package or namespace load failed for ‘GenomeInfoDb’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/R/x86_64-pc-linux-gnu-library/4.2/RCurl/libs/RCurl.so':
/usr/local/software/archive/linux-scientific7-x86_64/gcc-9/gcc-9.3.0-qszxcci5frtw4aul3m44oarpvxzyrgpp/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /rds/user/hpc-work/software/micromamba/bin/../lib/./libicuuc.so.73)
Error: package ‘GenomeInfoDb’ could not be loaded
I checked and /home/R/x86_64-pc-linux-gnu-library/4.2/RCurl/libs/RCurl.so
does exist.
This is the output of radian --version
:
radian version: 0.6.9
r executable: /usr/local/R/4.2.2/lib64/R/bin/R
r version: 4.2.2
python executable: /rds/user/software/micromamba/bin/python3.9
python version: 3.9.18
The output of .libPaths()
is the same for both radian and R:
[1] "/home/R/x86_64-pc-linux-gnu-library/4.2"
[2] "/usr/local/R/4.2.2/lib64/R/library"
The output of Sys.getenv("PATH")
is also the same for both radian and base R.
Manually specifying --r-binary
and setting R_HOME
did not change anything.
It seems to be related to issue #243, but I was unable fix that problem...
Thank you very much in advance for any help!
UPDATE:
I created a new micromamba env with (micromamba create -n radian_env radian
) and then ran radian from this env and now everything works as intended!