我按照官方指南安装了 Rtools (安装以及使用 PATH 添加 .Renviron 文件)。
但是,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