I need a C compiler and gofrortran to install a package. I was able to get the c complier with:
xcode-select --install
Unfortunately I am having trouble getting a working fortran complier. I know that I should be able to download one here:
https://cran.r-project.org/bin/macosx/tools/
Any advice?
Update I attempted downloading from HPC and received the following error while untaring:
x usr/local/: Can't set user=0/group=0 for usr/localFailed to set file flags
x usr/local/bin/
x usr/local/.com.apple.installer.keep
x usr/local/libexec/
x usr/local/include/
x usr/local/lib/
x usr/local/share/
x usr/local/share/man/
x usr/local/share/locale/
......
x usr/local/libexec/gcc/x86_64-apple-darwin17.5.0/7.3.0/plugin/gengtype
x usr/local/bin/gcov
x usr/local/bin/g++
x usr/local/bin/gfortran
x usr/local/bin/gcc-ranlib
x usr/local/bin/gcov-tool
x usr/local/bin/gcc-nm
x usr/local/bin/gcc-ar
x usr/local/bin/gcc
x usr/local/bin/gcov-dump
x usr/local/bin/cpp
tar: Error exit delayed from previous errors.