Skip to content

Commit

Permalink
Explicit test for directory existence
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Jan 11, 2024
1 parent 1566d2e commit 1454297
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/test-aaa.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
test_that("debugging ongoing styler cache fiddliness", {
skip_if(getRversion() < "4.0.0")
expect_true(fs::dir_exists(tools::R_user_dir("R.cache", which = "cache")))
})

0 comments on commit 1454297

Please sign in to comment.