Rstan install trouble

hola,

I wanna install rstan in windows, the only problem is that I don´t have my Rtools in the default location I have to put it somewhere else, so I put in makevar.win the new location and follow the instalion steps but when I call the library or run stan I got the following error:

Error in cleanup_makevar(old) : 
  argument "RMU" is missing, with no default
In addition: Warning messages:
1: In readLines(file, warn = TRUE) :
  incomplete final line found on '\\home.org.aalto.fi\alonzoi1\data\Documents\school.stan'
2: In system(paste(CXX, ARGS), ignore.stdout = TRUE, ignore.stderr = TRUE) :
  'Z:/rtools40/usr/mingw_/bin/g++' not found
3: In readLines(file.path(makevar_files)) :
  incomplete final line found on '//home.org.aalto.fi/alonzoi1/data/Documents/.R/Makevars.win'
4: In readLines(old_path) :
  incomplete final line found on '//home.org.aalto.fi/alonzoi1/data/Documents/.R/Makevars.win'

@andrjohns do you know how an I fix this error?