tests/testthat/custom_tests/expect_colname.R

expect_colname <- function(expected_colname, colnames) {
  expect_true(expected_colname %in% colnames)
}

Try the covidregionaldata package in your browser

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

covidregionaldata documentation built on Feb. 7, 2022, 9:07 a.m.