RTools40 not working on R 4.0.2

I recently installed R 4.0.2 (on Windows 10) alongside with Rtools40. However, when I try to Clean & Rebuild a package I always get an error:

WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:


I've searched the net, added the appropriate paths, but still no solution. Below some results:

[1] ""
pkgbuild::find_rtools(debug = TRUE)
[1] TRUE
pkgbuild::check_rtools(debug = TRUE)
[1] TRUE
[1] "C:\rtools40/usr/bin"
[1] TRUE
[1] TRUE

Even If a add a path to BINPREF it still doesn't work. Also my coworker has working Rtools even with this empty path.
Has anyone stumbled upon a similar issue? Any help would be highly appreciated.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.