context("DQ child_sex")
test_that("column is a factor type", {
expect_is(births[, child_sex], "factor")
})
test_that("no missing data in field", {
expect_equal(nrow(births[is.na(child_sex)]), 0)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.