tests/testthat/test_notin.R

test_that("works as expected", {

  expect_equal( c(1,3,11) %ni% 1:10, c( FALSE, FALSE, TRUE ) )

})

Try the easyr package in your browser

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

easyr documentation built on March 31, 2023, 6:22 p.m.