test_that("on_attach", {
expect_message(happign:::.onAttach(),
"Please make sure you have an internet connection.")
expect_message(happign:::.onAttach(),
"Use happign::get_last_news()")
expect_equal(options()$timeout, 3600)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.