Note: I am running R 4.1.1 on macOS Big Sur 11.4. I have installed both Xcode 12.5.1 and Command Line Tools 12.5.1.0.1.1623191612.
I recently deleted my R Makevars file in the ~/.R directory using
sudo rm ~/.R/Makevars
because it was interfering with my updated clang12 compiler (the original Makevars was using clang4).
When I type
devtools::has_devel()
everything is fine. Output says
Your system is ready to build packages!
However, a number of errors are generated when I try to compile my package to eventually submit a CRAN update.
Because of this, I'm wondering: Is Makevars required to be in ~/.R folder to successfully compile packages?
If so, I'll retrieve and edit the Makevars.