context("dl")
test_that("Invalid apikey is handled correctly", {
expect_error(fetch_notices(list(), "not_valid_apikey"),
"invalid subscription key")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.