stephens999 / ashr

An R package for adaptive shrinkage
GNU General Public License v3.0
79 stars 35 forks source link

Error when installing #97

Open agombolay opened 5 years ago

agombolay commented 5 years ago

When running "install_github("stephens999/ashr")", I got the following error: clang: error: unsupported option '-fopenmp' make: *** [RcppExports.o] Error 1 ERROR: compilation failed for package ‘mixsqp’

pcarbo commented 5 years ago

@agombolay Do you have a Mac?

agombolay commented 5 years ago

Yes

willwerscheid commented 5 years ago

@agombolay I ran into a similar issue a while ago. Following @pcarbo 's notes about using the correct compilers and properly setting up your Makevars file resolved the issue for me. See here: https://pcarbo.github.io/pcarbo/r-macos.html

pcarbo commented 5 years ago

Thanks @willwerscheid.

@agombolay If that is too daunting, we hope to have ashr up and running on CRAN again soon. We will inform you when the issue is resolved.