R Programming error R installation error rtools not installed.
Starting with R 4.0.0 (released April 2020), R for Windows uses a toolchain bundle called rtools40.
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
4.1.0 doesn't have Rtools40