context("TDF")
test_that("functions stops on miscelaneous errors",{
expect_error(TDF(author = "Posts"))
expect_warning(TDF(author = "Post", element = "both", type = "all"))
expect_error(TDF(author = "Mccutchan"))
expect_error(TDF(author = "McCutchan", element = "both", type = "alll"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.