I know, the first thing someone is going to say is that this has been solved, there are a zillion links in SO. Link to that solution and I will try it before stating that it does not work. Fairly certain I have tried to ask this before.
Tried: https://cran.r-project.org/bin/windows/Rtools/
I was even able to go through all these steps and it passed, but Files > new project > new directory > new package. Then try to build the template projects results in the endless loop of "Building R Packages requires installation of additional build tools. Do you want to install additional tools now?"
Or this: RStudio not finding RTools
devtools::find_rtools()
TRUE
install.packages("Rcpp")
But I have no c compiler
Sys.which("ls.exe")
returns a path
Sys.which("gcc.exe")
does not return a path
or this: RStudio cannot find Rtools to build package
Added c:\Rtools\mingw_64\bin
to my path, no luck.
or this
install::install.Rtools()
no need to install Rtools
Can't find a solution that will work, and I can't build packages until I find a solution.
Sys.which("make.exe")
"C:\\rtools40\\usr\\bin\\make.exe"
tools::Rcmd(c('config', 'CXX11'))
cannot find the specified path
But the only function in this package is (no c code)
hello <- function(){
print('hello world')
}