Я установил Rtools, следуя официальному руководству (установка и добавление файла .Renviron с помощью PATH).
Однако Rstudio не распознает установку:
> devtools::find_rtools()
WARNING: Rtools is required to build R packages, but the version of Rtools previously installed in C:/rtools40 has been deleted.
Rtools установлен и, похоже, работает:

Настройка: Windows 10, RStudio 1.2.5042, R 4.0.0, RTools 4.0