Skip to content

Commit e849065

Browse files
committed
fix? CI sandboxing issue by explicitly specifying working directory for processx
1 parent 3cc5f86 commit e849065

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/testthat/test-utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ test_that("get_cmdstan_flags() can be used recursively in `make`", {
257257
)
258258
nonrecursive_flags <- get_cmdstan_flags("STANCFLAGS")
259259
recursive_flags <- readLines(textConnection(wsl_compatible_run(
260-
command = "make", args = c("-f", tmp)
260+
command = "make", args = c("-f", tmp), wd = cmdstan_path()
261261
)$stdout))
262262
expect_equal(nonrecursive_flags, recursive_flags)
263263
})

0 commit comments

Comments
 (0)