# test functions without parameters
# only can fail upon server error
opts <- options(keyring_warn_for_env_fallback = FALSE)
on.exit(options(opts), add = TRUE)
test_that("set, get", {
skip_on_cran()
username <- "joe@example.com"
password <- "horriblepassword"
expect_silent(wf_set_key(username, password))
expect_equal(wf_get_key(username), password)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.