Intermittent failure of RStudio "Check on Save"

I am pretty sure that if you have the C++ toolchain installed correctly like in

then if you install rstan from source, the exceptions thrown by the parser in the event of an invalid Stan program should be handled appropriately, rather than what you are seeing.