-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error installing via Rstudio #222
Comments
UPDATE ON THIS STEP: I HAVE SINCE RESOLVED ISSUE ON THIS SYSTEM AND INSTALLED- followed advice in this thread #217 Hi, to update this, on my work (more used) macbook I don't seem to get the above erroor. However, now when I try and install on R on this machine I get the following: Downloading GitHub repo zdk123/SpiecEasi@HEAD
This seem to be a gfortran issue, but is not something I am sure how to fix. Do you know how I would get round this? Admittedly I am not an expert on the gfortran side of things, so unsure where this unfound library may be or how I would resolve it. As far as I know, xcode is already installed and I have updated it in the terminal via softwareupdate --install -a , but this doesnt seem to help the issue? |
Hi,
I am having the current error when installing via R-studio on personal macbook (sorry if this is already covered somewhere else, but couldnt find it when searching):
** using staged installation
** libs
clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include' -I/usr/local/include -fPIC -Wall -g -O2 -c ADMM.cpp -o ADMM.o
In file included from ADMM.cpp:1:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppArmadillo/include/RcppArmadilloForward.h:25:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/RcppCommon.h:30:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/Rcpp/r/headers.h:62:
In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/Rcpp/platform/compiler.h:100:
In file included from /Users/sdl1c18/opt/miniconda3/bin/../include/c++/v1/cmath:308:
/Users/sdl1c18/opt/miniconda3/bin/../include/c++/v1/math.h:300:15: fatal error: 'math.h' file not found
#include_next <math.h>
^~~~~~~~
1 error generated.
make: *** [/Library/Frameworks/R.framework/Resources/etc/Makeconf:175: ADMM.o] Error 1
ERROR: compilation failed for package ‘SpiecEasi’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/lj/w_2_h2hx29jcfj_0r46j1j0m0000gp/T//Rtmpgd9ImH/file195f19ce97a4/SpiecEasi_1.1.2.tar.gz’ had non-zero exit status
Do you know what may solve this? is it an rcpp issue?
Thanks
The text was updated successfully, but these errors were encountered: