The problem was Rtools 3.5
was not in your Windows system PATH
thus find_rtools
couldn’t find it. Another possibility was that an incompatible version of Rtools
was in the PATH
Best practice for installing Rtools
:
-
Download the latest version
-
Install
RTools
at default recommended location (at the root of yourC
drive):C:/Rtools/
-
<Important> Check the box that allows
Rtools
to modify system PATH
After the installation, we can double check by running this command inside R
R> Sys.getenv('PATH')
[1] "C:\\Program Files\\R\\R-3.5.0\\bin\\x64;c:\\Rtools\\bin;c:\\Rtools\\mingw_64\\bin;
See also this guide
Edit: for those who don’t have Administration rights, see these links: