Closed matrapp closed 4 years ago
In order to compile packages with compiled code from source you need to have the Xcode toolkit installed. See also https://rstats.wtf/set-up-an-r-dev-environment.html#macos-system-prep for more background.
Googling 'xcrun: error: invalid active developer path' gives me this as the first result, which should give the the solution.
The fix, luckily, is pretty straight forward. Install the Xcode toolkit! Even if you had it installed before, you might have to re-register it or update it to the latest version.
So you need to run the following in a terminal application.
xcode-select --install
Alternatively you can select 'No' to the prompt and install the binary instead, which does not require the ability to compile packages.
I have tried to install "devtools" in both R 3.6.3 and 3.6.2 (running on Catalina 10.15.4) and I had the same problems in both versions:
When installing "usethis" I get the error message: "### installation of package ‘fs’ had non-zero exit status" as you can see bellow.
Could someone please help with that? Thank you very much Best