test_that("get_uk_nhs_region_cases cases works as expected", {
base <- get_uk_nhs_region_cases()
expect_is(base, "data.frame")
expect_is(base$date, "Date")
expect_true(sum(as.numeric(base$cases) < 0) == 0)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.