test_that("dataset name is declared", {
expect_error(import_data(), "You need to name the dataset. We suggest a short, unique name,
all capital letters, such as 'COW'.")
})
test_that("database must be declared", {
expect_error(import_data("test"),
"You need to name the database to which the dataset would belong.
We suggest a short, descriptive name, all small letters, such as
'states'.")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.