KlausVigo / phangorn

Phylogenetic analysis in R
http://klausvigo.github.io/phangorn/
202 stars 38 forks source link

[conda] r-phangorn misses depenency openblas #99

Open lmuenter opened 4 years ago

lmuenter commented 4 years ago

Hey there, thanks for the package! However, when installing via conda, the dependency openblas is missing. Maybe this can be added?

phangorn install

conda install -c r r-phangorn

The error message:

Error: package or namespace load failed for ‘phangorn’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '~/conda/envs/phangorn_env/lib/R/library/phangorn/libs/phangorn.so': libopenblas.so.0: cannot open shared object file: No such file or directory

KlausVigo commented 4 years ago

Dear @lmuenter this seems to be a problem with conda, not with phangorn. I am not involved with the conda packaging and I am sorry but can't help with it. I like the idea that one has only one way to install lots of packages with conda, but installing packages in R with install.packages("phangorn") is very robust and I never had problems. Regards, Klaus

lmuenter commented 4 years ago

Hello @KlausVigo Thanks for the info! My problem could be resolved easily (you just need to install openblas). I just wanted to inform you nonetheless. I'm using conda, since other dependencies for my pipeline are available via conda. These dependencies are programs written in various languages. Additionally, I wrote several scripts utilizing phangorn, ggtree and other R-packages. I figured it would be a good way to make everything reproducible by just providing a environment.yml with the pipeline's repository. Best wishes,

Lukas