Skip to content

Commit 75f65e2

Browse files
committed
don't use shared tmpdir which won't work on ci and multiple runners
1 parent 026b533 commit 75f65e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/testthat/test-use.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ test_that("Installing an extension in empty dir", {
1212
test_that("Installing an extension in a new empty dir", {
1313
skip_if_no_quarto()
1414
skip_if_offline("github.com")
15-
dir <- withr::local_tempdir()
15+
dir <- withr::local_tempfile()
16+
dir.create(dir)
1617
withr::local_dir(dir)
18+
dir.create("empty-dir")
1719
quarto_use_template(
1820
"quarto-journals/jss",
1921
dir = "empty-dir",

0 commit comments

Comments
 (0)