We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d2ea7a commit e2f91e4Copy full SHA for e2f91e4
R/install.R
@@ -818,11 +818,13 @@ is_toolchain_installed <- function(app, path) {
818
)
819
app_path <- withr::with_path(
820
c(
821
- toolchain_PATH_env_var()
+ toolchain_PATH_env_var(),
822
+ rtools_make_path()
823
),
824
repair_path(dirname(Sys.which(app)))
825
- if (normalizePath(app_path) != normalizePath(rtools4x_toolchain_path())) {
826
+ if (!(normalizePath(app_path) %in% c(normalizePath(rtools4x_toolchain_path()),
827
+ normalizePath(rtools_make_path())))) {
828
return(FALSE)
829
}
830
return(TRUE)
0 commit comments