File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change
1
+ skip_if(os_is_macos())
1
2
2
3
file_that_exists <- " placeholder_exists"
3
4
file_that_doesnt_exist <- " placeholder_doesnt_exist"
@@ -33,7 +34,6 @@ namespace bernoulli_external_model_namespace
33
34
}"
34
35
35
36
test_that(" cmdstan_model works with user_header with mock" , {
36
- skip_if(os_is_macos())
37
37
tmpfile <- tempfile(fileext = " .hpp" )
38
38
cat(hpp , file = tmpfile , sep = " \n " )
39
39
@@ -140,7 +140,7 @@ test_that("cmdstan_model works with user_header with mock", {
140
140
141
141
test_that(" user_header precedence order is correct" , {
142
142
143
- tmp_files <- sapply(1 : 3 , function (n ) tempfile(fileext = " .hpp" ))
143
+ tmp_files <- sapply(1 : 3 , function (n ) wsl_safe_path(absolute_path( tempfile(fileext = " .hpp" )) ))
144
144
sapply(tmp_files , function (filename ) cat(hpp , file = filename , sep = " \n " ))
145
145
withr :: defer(lapply(tmp_files , function (filename ) file.remove(filename )))
146
146
You can’t perform that action at this time.
0 commit comments