Rtools not being detected by R
It may as well be added that if you don't have admin rights on your computer the installation of Rtools will fail due to some missing registry permissions.
Took me quite some time to figure that out because if you install Rtools via R you won't see this alert.
So better download the .exe-file, install it as admin and tick the boxes mentioned above to get Rtools working properly.