dwww Home | Show directory contents | Find package

test_that("auto_clean deletes files on gc()", {
  tmp <- tempfile()
  writeLines("abc", tmp)

  auto_clean(tmp)
  gc()

  expect_false(file.exists(tmp))
})

Generated by dwww version 1.15 on Thu May 23 02:26:40 CEST 2024.