-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Ran into an error when installing the nlme package after running "make install"
Error: Error installing package 'nlme':
- installing source package ‘nlme’ ...
** package ‘nlme’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’
sh: /opt/gfortran/bin/gfortran: No such file or directory
using SDK: ‘MacOSX14.2.sdk’
/opt/gfortran/bin/gfortran -arch arm64 -fPIC -Wall -g -O2 -c chol.f -o chol.o
make[1]: /opt/gfortran/bin/gfortran: No such file or directory
make[1]: *** [chol.o] Error 1
ERROR: compilation failed for package ‘nlme’ - removing ‘/Users/Katelyn/Library/CloudStorage/OneDrive-EmoryUniversity/DATA-550/Final_Project/Peer_Review/Xaviera/PeerReview_Xaviera/renv/staging/1/nlme’
R was unable to find the gfortran binary.
gfortran is required for the compilation of FORTRAN source files.
Please check that gfortran is installed and available on the PATH.
Please see https://stackoverflow.com/q/35999874 for more information.
Reason(s):
- 'sh: /opt/gfortran/bin/gfortran: No such file or directory'
- 'make[1]: /opt/gfortran/bin/gfortran: No such file or directory'
install of package 'nlme' failed [error code 1]
Traceback (most recent calls last):
13: renv::restore(prompt = FALSE)
12: renv_restore_run_actions(project, diff, current, lockfile, rebuild)
11: renv_install_impl(records)
10: renv_install_staged(records)
9: renv_install_default(records)
8: handler(package, renv_install_package(record))
7: renv_install_package(record)
6: withCallingHandlers(renv_install_package_impl(record), error = function(e) writef("FAILED"))
5: renv_install_package_impl(record)
4: r_cmd_install(package, path)
3: r_exec_error(package, output, "install", status)
2: abort(all)
1: stop(fallback)
Execution halted
make: *** [install] Error 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels