context("funlogic")
test_that("and", {
expect_false((is.null %&% is.na)(NA))
})
test_that("or", {
expect_true((is.null %|% is.na)(NA))
})
test_that("xor", {
expect_true((is.null %xor% is.na)(NA))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.