tests/testthat/test-not_in.R

test_that("values not in vector", {
  x = c(2,3,4)
  y = c(0,1,2)
  expect_equal(x[x %!in% y], c(3,4))
})
mjalocha/baseImportance documentation built on Dec. 21, 2021, 7:02 p.m.