tests/testthat/test_utils.R

context("test_null_or")

test_that("testing that null or operator works", {
  `%||%` <- IDEAFilter:::`%||%`
  expect_true(NULL %||% TRUE)
  expect_true(TRUE %||% NULL)
})

Try the IDEAFilter package in your browser

Any scripts or data that you put into this service are public.

IDEAFilter documentation built on Aug. 8, 2025, 7:29 p.m.