Unsolvable compilation error


I've been trying to install "causalDML" and have a compilation error that I can't seem to fix. I have installed Xcode, gfortran, and clang to no avail. I am running OSX Monterey and R 4.2.1.

Any ideas?

<I'm an R newbie, I freely admit.>

Here's the key line of code:
install_github(repo="MCKnaus/causalDML", lib="/Library/Frameworks/R.framework/Versions/4.2/Resources/library")

Here's the error:
Downloading GitHub repo MCKnaus/causalDML@HEAD
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [causalDML.so] Error 1
ERROR: compilation failed for package ‘causalDML’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/causalDML’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/4k/p656fvb54fb2pv51_w4pnn_00000gp/T//Rtmp97XAls/file557e530a5bca/causalDML_0.1.0.tar.gz’ had non-zero exit status

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.