This is an old thread, but I had a similar issue with rstudio asking me to install rtools every time I ran a stan model, whereas with an older R version it was working just fine.
I ended up fixing the problem by running:
options(buildtools.check = function(action) TRUE )
Hope this may help others bumping into this problem.
11 Likes