tests/testthat/test_checkFALSE.R

context("checkFALSE")

test_that("checkFALSE", {
  expect_succ_all(FALSE, FALSE)
  expect_fail_all(FALSE, 1)

  expect_false(test_false(NA))
  expect_true(test_false(NA, na.ok = TRUE))
})

Try the checkmate package in your browser

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

checkmate documentation built on Oct. 25, 2023, 5:06 p.m.