I just upgraded my Mac to Catalina and I've been having problems installing packages.
In particular I've been getting an error that suggests gfortran might be the problem.
I'm trying to install the sf package and it requires installing classInt and units.
The first batch of error messages are as follows:
** package ‘classInt’ successfully unpacked and MD5 sums checked
** libs
gfortran-4.8 -fPIC -g -O2 -c fish1.f -o fish1.o
make: gfortran-4.8: No such file or directory
make: *** [fish1.o] Error 1
ERROR: compilation failed for package ‘classInt’
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/classInt’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/classInt’
Warning in install.packages :
installation of package ‘classInt’ had non-zero exit status
I'm not sure if I have other problems further along or this failure then just causes cascading problems.
Oh I have R 3.3.2 installed.
Does anyone have suggestions for how I fix this error?
Thanks