Nothing
test_that("is_assessment works", {
expect_true(is_assessment(test_assessment))
expect_false(is_assessment(faithful))
expect_false(is_assessment("hi"))
expect_false(is_assessment(data.frame()))
test_raw <- suppressMessages(download_assessment(25002))
if (nrow(test_raw) != 0) {
expect_true(is_assessment(test_raw))
} else {
# for when server doesn't respond
expect_false(is_assessment(test_raw))
}
})
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.