These days I’ve been checking the markovchain
R package to handle Markov Chains in R (surprise!) and it looked interesting, so I thought it would be nice to check what’s going on under the hood. I cloned the repository, loaded the project into RStudio and tried to build it, just to see
ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [markovchain.so] Error 1
ERROR: compilation failed for package ‘markovchain’
Just to figure out I don’t have /usr/local/gfortran
or anything similar (though XCode, command line tools, etc. are installed).