galaxyproject / galaxyproject/training-material
r-ape package: latest version incompatible with RStudio IT
- Dominant language
- HTML
- Stars
- 367
- Forks
- 1.1k
- Avg merge
- 16h 27m
- Merged PRs (30d)
- 49
Description
https://training.galaxyproject.org/training-material/topics/evolution/tutorials/mtb_phylogeny/tutorial.html#visualize-and-manipulate-the-tree suggests to install **r-ape** with `conda install r-ape`, which currently results in r-ape 5.7.1 getting installed. When you do that, however,and try to use it from RStudio you're getting:
```
> library("ape")
Error: package or namespace load failed for 'ape' in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/opt/miniconda/lib/R/library/ape/libs/ape.so':
/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /opt/miniconda/lib/R/library/ape/libs/ape.so)
In addition: Warning message:
package 'ape' was built under R version 4.1.3
```
The workaround is to run: `conda install r-ape==5.5` instead so at a minimum the tutorial should get updated with this instruction. No idea whether it's possible to come up with something more maintainable than that, @cstritt @GaloGS?
Contributor guide
Assessment
This issue has not been assessed yet.