test_that("output is data.frame", {
expect_s3_class(naPercentage(aqi_cities), "data.frame")
})
test_that("output data frame has same number of columns as input", {
expect_equal(ncol(naPercentage(aqi_cities)), ncol(aqi_cities))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.