How to install iLaplace package?

How to install iLaplace package?

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: *** [iLaplace.so] Error 1
ERROR: compilation failed for package ‘iLaplace’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/iLaplace’
    Warning in install.packages :
    installation of package ‘/Users/Accrachi/Downloads/iLaplace_1.1.0.tar.gz’ had non-zero exit status

Do you have xcode installed in your system? You need it for compiling packages on MacOS

xcode-select --install

Here are some installation instructions

I already have xcode on my mac os

R is not being able to find gfortran in your system, this seems to be a recurrent problem in Mac OS, check this article for a possible solution.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.