You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running renv::restore() to set up the package environment for running the pipeline is not working as expected on macOS Sonoma 14.2.1.
Reproduction / Steps To Reproduce
open R project using a recent Mac OS
run renv::restore()
renv downloads recorded packages successfully
compilation fails with this output:
ld: warning: search path '/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0' not found
ld: warning: search path '/opt/gfortran/lib' not found
ld: library 'gfortran' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Matrix.so] Error 1
ERROR: compilation failed for package ‘Matrix’
* removing ‘/Users/[username]/github/nordatlantisk-ft/renv/staging/1/Matrix’
install of package 'Matrix' failed [error code 1]
Current Behavior
Running
renv::restore()
to set up the package environment for running the pipeline is not working as expected on macOS Sonoma 14.2.1.Reproduction / Steps To Reproduce
renv::restore()
Solution: Manually install a Fortran compiler (and Xcode, if not already done), see https://cran.r-project.org/bin/macosx/tools/
Anything else?
No response
The text was updated successfully, but these errors were encountered: