zdk123 / SpiecEasi

Sparse InversE Covariance estimation for Ecological Association and Statistical Inference
GNU General Public License v3.0
197 stars 68 forks source link

error installing via Rstudio #222

Open spencerlong1 opened 2 years ago

spencerlong1 commented 2 years ago

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):

library("devtools") install_github("zdk123/SpiecEasi") Downloading GitHub repo zdk123/SpiecEasi@HEAD ✔ checking for file ‘/private/var/folders/lj/w_2_h2hx29jcfj_0r46j1j0m0000gp/T/Rtmpgd9ImH/remotes195f53884e54/zdk123-SpiecEasi-c463727/DESCRIPTION’ ... ─ preparing ‘SpiecEasi’: ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories Removed empty directory ‘SpiecEasi/inst’ ─ looking to see if a ‘data/datalist’ file should be added ─ building ‘SpiecEasi_1.1.2.tar.gz’

Do you know what may solve this? is it an rcpp issue?

Thanks

spencerlong1 commented 2 years ago

UPDATE ON THIS STEP: I HAVE SINCE RESOLVED ISSUE ON THIS SYSTEM AND INSTALLED- followed advice in this thread https://github.com/zdk123/SpiecEasi/issues/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 ✔ checking for file ‘/private/var/folders/lj/w_2_h2hx29jcfj_0r46j1j0m0000gp/T/RtmpuY8PIr/remotes24f2948a28a/zdk123-SpiecEasi-c463727/DESCRIPTION’ ... ─ preparing ‘SpiecEasi’: ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories Removed empty directory ‘SpiecEasi/inst’ ─ looking to see if a ‘data/datalist’ file should be added ─ building ‘SpiecEasi_1.1.2.tar.gz’

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?