When i installed package iRF and met this error.
My laptop is Macos Monterey systerm with apple silicon chip. i followed the instruction typed the following command:
curl -OL http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /
but its useless and always presents error below.
Downloading GitHub repo karlkumbier/iRF2.0@HEAD
make: /opt/R/arm64/bin/gfortran: No such file or directory
make: *** [rfsub.o] Error 1
ERROR: compilation failed for package ‘iRF’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/iRF’
Warning: installation of package ‘/var/folders/2z/qnkwn_vn4q35d493w1987n3w0000gn/T//Rtmpi1BGCz/filec9e6101bb85/iRF_3.0.0.tar.gz’ had non-zero exit status
Here is package page[1]: https://github.com/karlkumbier/iRF2.0
Thanks in advance if anyone know how to solve this error.