Skip to content

Installation Troubleshooting

adamrauh edited this page Jan 21, 2020 · 2 revisions
  • If, during the course of installation, you encounter problems related to the CBPS package, try updating your version of R, as the package requires R >= 3.4
  • If you are attempting installation on a machine running OSX and receive an error related to gfortran, such as:
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: *** [PanelMatch.so] Error 1
ERROR: compilation failed for package ‘PanelMatch’

removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/PanelMatch’
Installation failed: Command failed (1)

first follow this link and install the latest version of gfortran. Then, restart R/Rstudio. If that does not work, consult this blog post which details reasons for the error, as well as some solutions, depending on your version of OSX.

Clone this wiki locally