testthat::context("check nin")
testthat::test_that("example output is right", {
testthat::expect_equal(c(1, 2, 3, 4) %nin% c(1, 2, 5),
c(FALSE, FALSE, TRUE, TRUE))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.