tests/testthat/test-fetch_wards.R

test_that("Gives a data frame", {
  expect_true(is.data.frame(fetch_wards()))
})

test_that("Has no duplicate rows", {
  expect_true(!anyDuplicated(fetch_wards()))
})

Try the dfeR package in your browser

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

dfeR documentation built on April 12, 2025, 1:32 a.m.