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 Sept. 11, 2024, 8:40 p.m.