Since installing R 4.3.1 and RStudio 2023.06.2+561 on my MacBook Pro running Big Sur (11.7.8), I am having a lot of trouble installing any packages from Github - i.e. I am having trouble compiling things (although not everything). I have tried pretty much everything including altering my Makevars file in .R, installing a new version of gcc from Homebrew, installing Xcode Developer tools, deleting the Makevars file to see if that helps, but to no avail. I think this message may be informative:
** libs using C compiler: ‘Apple clang version 13.0.0 (clang-1300.0.29.30)’ using C++ compiler: ‘Apple clang version 13.0.0 (clang-1300.0.29.30)’ using C++11 using SDK: ‘’
This suggests that maybe the SDK headers are missing? I don’t know. Does anyone have a quick fix for me? Last time this happened I spent hours fruitlessly typing things into Terminal and then worked out that just installing a newer version of R would fix it. Sadly that has not worked this time. Updating my operating system seems a radical step but I am willing to take it if nothing else works - but worried that will break something else.