test_that("post_message works", {
skip("requires manual testing")
rt <- expect_message(
post_message(paste("Testing", Sys.time()), user = "Lluis_Revilla"),
"Your DM has been posted!"
)
expect_equal(httr::status_code(rt), 200L)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.