r-lib / pkgbuild

Find tools needed to build R packages
https://pkgbuild.r-lib.org
Other
65 stars 33 forks source link

Fixes for rtools40 #93

Closed jeroen closed 4 years ago

jeroen commented 4 years ago

Somewhat urgent, because there is a pretty bad bug where using_gcc49() returns T even when using gcc 8.3.0.

R 4.0 has much improved defaults for CC and so on. It will automatically find the correct rtools40 path based on RTOOLS40_HOME. The best thing you can do is not change anything.

The one thing that pkgbuild may want to do is put ${RTOOLS40_HOME}\usr\bin on the PATH if the user hasn't done so yet.

jeroen commented 4 years ago

Fixes https://github.com/r-lib/pkgbuild/issues/92