Closed garyzhubc closed 3 years ago
Hi Peiyuan,
Thank you for your interest in our approach and for reporting the installation error.
Would you mind posting the error to the glmnetPlus repo along with the types of CPU you have in your environment?
If you are using a new mac with Apple Silicon, you may find it useful to checkout gfortran alternatives: https://github.com/fxcoudert/gfortran-for-macOS I personally don't have such machines but you may find it useful to check out some of the information.
I will also ask our colleagues if somebody is aware of the issue.
I suspect this is because the gfortran compiler was built for a different architecture. This might be relevant https://cran.r-project.org/bin/macosx/tools/
Alternatively, if you have a working C/C++ compiler you can take a look at our new implementation at compact branch. It worked on my older Macbook Pro using clang, but we haven't done extensive testing on MacOS.
Thanks this is fixed by following the GitHub link. Although my Mac is still using Intel, the new Mac OS system requires reinstalling gfortran to the newest build.
When I was trying to install glmnetPlus on latest Mac OS this error showed up so that installation cannot complete.