Skip to content

Commit

Permalink
force=TRUE when unlinking temp dir detritus
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Apr 18, 2024
1 parent 70050d0 commit 951b475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ clean_python_tempdirs <- function() {
all.files = TRUE
)

unlink(detritus, recursive = TRUE)
unlink(detritus, recursive = TRUE, force = TRUE)

unlink(unlist(py_to_r(get_py_created_tempdirs())),
recursive = TRUE)
recursive = TRUE, force = TRUE)

}

Expand Down

0 comments on commit 951b475

Please sign in to comment.