tests/testthat/test-cache.R

test_that("cache clearing functions execute", {
  expect_type(eia_clear_cache(), "NULL")
  expect_type(eia_clear_metadata(), "NULL")
  expect_type(eia_clear_data(), "NULL")
  expect_type(eia_clear_facets(), "NULL")
})

Try the eia package in your browser

Any scripts or data that you put into this service are public.

eia documentation built on May 29, 2024, 3:52 a.m.