galaxyproject / galaxyproject/training-material

r-ape package: latest version incompatible with RStudio IT

Open
#4,182 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.