testthat::test_that("%nin% works", {
testthat::expect_true("dog" %nin% c("cat","giraffe","elephant"))
testthat::expect_false("dog" %nin% c("dog","giraffe","elephant"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.