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 July 4, 2019, 5:12 p.m.