Skip to content

Commit ee939e7

Browse files
authored
Merge pull request #666 from stan-dev/fix-toolchain-checks-windows
Windows fix: Normalize paths before comparing them
2 parents e5492b7 + 1997bad commit ee939e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/install.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ is_toolchain_installed <- function(app, path) {
685685
),
686686
repair_path(dirname(Sys.which(app)))
687687
)
688-
if (app_path != rtools4x_toolchain_path()) {
688+
if (normalizePath(app_path) != normalizePath(rtools4x_toolchain_path())) {
689689
return(FALSE)
690690
}
691691
return(TRUE)

0 commit comments

Comments
 (0)