r-lib / pkgbuild

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

Rtools 4.2 is found even if 4.3 is available when using R 4.3 on Windows #165

Closed cderv closed 1 year ago

cderv commented 1 year ago

Installing RTools on Windows sets some environment variable

RTOOLS40_HOME                            C:\rtools40
RTOOLS42_HOME                            C:\rtools42
RTOOLS43_HOME                            C:\rtools43

Currently RTOOLS43_HOME is not taken into account and the 4.2 one gets selected https://github.com/r-lib/pkgbuild/blob/435c2b7dd72a1ebb31d4135876d62ee1dacb6b85/R/rtools.R#L24-L58

gaborcsardi commented 1 year ago

Closed by b3c5f851300f83666ab79d03e539cfced46b4c9b

cderv commented 1 year ago

Thank you !