R can be downloaded and installed from
https://cran.r-project.org/bin/windows/base/
R Tools can be downloaded and installed from
https://cran.r-project.org/bin/windows/Rtools/rtools40.html
The first time you launch R you will be prompted if you want to install
devtools. Select Yes.