Skip to content

Commit 11853ae

Browse files
committed
Typo
1 parent e6aeb27 commit 11853ae

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
@@ -103,7 +103,7 @@ install_cmdstan <- function(dir = NULL,
103103
} else {
104104
.cmdstanr$WSL <- FALSE
105105
}
106-
if (os_is_windows() && !os_is_wsl() && version < "2.35.0") {
106+
if (os_is_windows() && !os_is_wsl() && isTRUE(version < "2.35.0")) {
107107
if (Sys.getenv("CMDSTANR_USE_MSYS_TOOLCHAIN") == "") {
108108
stop("CmdStan versions prior to 2.35.0 require additional toolchain configuration on Windows.\n",
109109
"Please set the environment variable CMDSTANR_USE_MSYS_TOOLCHAIN to 'true' and \n",

0 commit comments

Comments
 (0)