Skip to content

Commit 79374bc

Browse files
committed
a couple of windows fixes
1 parent 0cf7b42 commit 79374bc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/testthat/test-model-compile.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ test_that("compilation works with include_paths", {
105105

106106
expect_interactive_message(
107107
mod_w_include <- cmdstan_model(stan_file = stan_program_w_include, quiet = TRUE,
108-
include_paths = test_path("resources", "stan")),
108+
include_paths = test_path("resources", "stan"),
109+
force_recompile = TRUE),
109110
"Compiling Stan program"
110111
)
111112
expect_equal(
@@ -580,7 +581,7 @@ test_that("cmdstan_model errors with no args ", {
580581
})
581582

582583
test_that("cmdstan_model works with user_header", {
583-
skip_if(os_is_macos())
584+
skip_if(os_is_macos() | os_is_windows())
584585
tmpfile <- tempfile(fileext = ".hpp")
585586
hpp <-
586587
"

0 commit comments

Comments
 (0)