context("util")
test_that("or", {
expect_null(NULL %||% NULL)
expect_equal(1 %||% NULL, 1)
expect_equal(NULL %||% 2, 2)
expect_equal(1 %||% 2, 1)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.