Nothing
test_that("result of function", {
expect_equal(class(deputies_get_data("active", 7)), "data.frame")
})
test_that("result of function", {
expect_equal(class(deputies_get_data("inactive", 8)), "data.frame")
})
test_that("columns of table", {
expect_equal(ncol(deputies_get_data("active", 7)), 2)
})
test_that("columns of table", {
expect_equal(ncol(deputies_get_data("inactive", 8)), 2)
})
test_that("rows of table", {
expect_gt(nrow(deputies_get_data("active", 7)), 0)
})
test_that("rows of table", {
expect_gt(nrow(deputies_get_data("inactive", 8)), 0)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.