I recently had to reset my windows laptop and reinstall R, RStudio, rstan etc.
Now when I run any model in either stan or brms I get the following warning message.
Warning message: In system(paste(CXX, ARGS), ignore.stdout = TRUE, ignore.stderr = TRUE) : '-E' not found
None of the solutions on the following thread work https://discourse.mc-stan.org/t/installation-issue/15996
Does anyone know how to fix this?