clang-7: error: linker command failed with exit code 1 for macOS Big Sur
问题 Installing R packages that need compiling in macOS is broken since Big Sur. Here is such an example. > install.packages('nlme') There is a binary version available but the source version is later: binary source needs_compilation nlme 3.1-150 3.1-151 TRUE Do you want to install from sources the package which needs compilation? (Yes/no/cancel) Yes installing the source package ‘nlme’ trying URL 'https://cran.rstudio.com/src/contrib/nlme_3.1-151.tar.gz' Content type 'application/x-gzip' length