C++14 standard requested but CXX14 is not defined

Just Now, I encountered this issue when I try to install rstan package. I cannot understand your suggestion sorry I am beginner.
Please let me ask what the following means;

" into your ~/.R/Makevars file".

In the following directory, there is not a file named Makevars.file:
C:\Program Files\R