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
- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.1.3'
this used to install gfortran 8.2, but now it installs 12, which leads to:
clang -mmacosx-version-min=10.13 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o flashClust.so hc.o hcass2.o -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran
i think it's because R 4.1.3 was built against gfortran 8.2 ... and now setup-r has moved to gfortran 12 (for these older versions of R), it no longer works.
with thanks
The text was updated successfully, but these errors were encountered:
Thanks for the report! I did try it with R 3.6.x, but that does not hardcode the paths into the R config, like R 4.1.x does. Just fixed this in v2, so if you re-run it, it should work.
To Reproduce
log here https://github.com/jonathon-love/r-package-snapshot/actions/runs/4805568169/jobs/8552111730
i'm using:
this used to install gfortran 8.2, but now it installs 12, which leads to:
i think it's because R 4.1.3 was built against gfortran 8.2 ... and now
setup-r
has moved to gfortran 12 (for these older versions of R), it no longer works.with thanks
The text was updated successfully, but these errors were encountered: