Nothing
test_that("has_congress_key works", {
expect_true(is.logical(has_congress_key()))
})
test_that("get_congress_key works", {
expect_true(is.character(get_congress_key()))
})
test_that("set_congress_key works", {
testthat::skip_if_not_installed('withr')
withr::with_envvar(
c('CONGRESS_KEY' = NA_character_),
expect_true(is.list(set_congress_key('1234')))
)
withr::with_envvar(
c('CONGRESS_KEY' = NA_character_),
expect_error(set_congress_key())
)
})
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.