
In this case Github supposedly solved the problem with a Makevars that didn’t work in my case.

data.table kept telling me clang-10: error: linker command failed with exit code 1 (use -v to see invocation).Solutions given by the usual places such as Github or StackOverflow were of no help. stringi kept telling me that my C compiler cannot create executables.It seemed I wasn’t able to install almost anything.

Last week I got a temporary replacement for my Mac (whose hardrive just gave up on existing, we’ve all been there…) which was also a Mac frozen in a specific Catalina version (and not the Big Sur that supposedly fixes some of this issues). TLDR: Install the libraries with homebrew and copy this Makevars file to be able to compile data.table, Rcpp, stringi and rstan The (T)Error

Fixing macOS Catalina’s mess when trying to compile almost any R package
