tests/testthat/test_covid_theme.R

context("Testing covid_keys.R function")

test_that('data types, dimension of test data', {
  expect_is(covid_theme,'data.frame')
  expect_equal(nrow(covid_theme), 16)
  expect_equal(ncol(covid_theme), 1)
})
MAnalytics/opitools documentation built on March 21, 2023, 11:50 p.m.