bcm-uga / pcadapt

Performing highly efficient genome scans for local adaptation with R package pcadapt v4
https://bcm-uga.github.io/pcadapt
37 stars 10 forks source link

Failed install #16

Closed clinnen closed 6 years ago

clinnen commented 6 years ago

Hello, I would like to try out your program, but when I attempted installing it from github, it fails. Attached is a text file with the installation warnings and errors. Any advice you have would be greatly appreciated. Thank you, Catherine Installation-errors.txt

privefl commented 6 years ago

Your issue is library not found for -lgfortran, a known issue when installing package {RcppArmadillo} on Mac.

Please see see this blog post for a solution.

mblumuga commented 6 years ago

@clinnen Which version of pcadapt did you try to install?

clinnen commented 6 years ago

Thanks for getting back to me. I attempted to install a couple of different versions (all with similar outcomes). The errors attached above occurred when I attempted to install whatever is on github ("devtools::install_github("bcm-uga/pcadapt"). I also attempted to install the latest version that was archived on CRAN. Is there a particular version I should be using that is not one of these? I will also investigate the RcppArmadillo issue noted above. Thanks!

clinnen commented 6 years ago

I just followed the advice posted by @privefl and it worked like a charm. But if this is the wrong version of pcadapt, please let me know and I'll reinstall. Thanks!

mblumuga commented 6 years ago

You can now install the main version on github using devtools::install_github("bcm-uga/pcadapt"). The modification of @privefl for pooled-seq data with n=2 is now included in the master branch of pcadapt.

clinnen commented 6 years ago

Thanks!