tests/testthat/test_quickDescribe.R

test_that("Test short description prints",{
  expect_equal(quickDescribe("poptotal"),
               "Population total")
  expect_equal(quickDescribe(c("poptotal", "popfemale")),
               c("Population total",
                 "Female population"))
})
shaylafolson/cspp documentation built on Aug. 17, 2020, 12:31 a.m.