Skip to content

Commit

Permalink
Rtools make needs diff path handling
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed May 22, 2024
1 parent 0c2cc82 commit 884ea85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/model.R
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ compile <- function(quiet = TRUE,
),
run_log <- wsl_compatible_run(
command = make_cmd(),
args = c(wsl_safe_path(tmp_exe),
args = c(wsl_safe_path(repair_path(tmp_exe)),
cpp_options_to_compile_flags(cpp_options),
stancflags_val),
wd = cmdstan_path(),
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-install.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
context("install")
# Current tests need CmdStan 2.35 for stock rtools, but is not yet released
skip_if(Sys.getenv("CMDSTANR_USE_RTOOLS") != "")

cmdstan_test_tarball_url <- Sys.getenv("CMDSTAN_TEST_TARBALL_URL")
if (!nzchar(cmdstan_test_tarball_url)) {
Expand Down

0 comments on commit 884ea85

Please sign in to comment.