diff --git a/R/install.R b/R/install.R index 995c14a9..942bf77c 100644 --- a/R/install.R +++ b/R/install.R @@ -855,7 +855,7 @@ rtools4x_version <- function() { rtools_ver <- "40" } else if (R.version$minor < "3.0") { rtools_ver <- "42" - } else if (R.version$minor < "5.0") { + } else if (R.version$minor < "4.0") { rtools_ver <- "43" } else { rtools_ver <- "44"