tests/testthat/test-clear_workspace.R

test_that("clear_workspace does not delete all variables from environment", {
  clear_workspace()
  expect_equal(length(ls()), 0)
})
dominikjung42/dstools documentation built on June 16, 2024, 2:40 a.m.