tests/testthat/test-types-utils.R

test_that("Errors are handled properly.", {
  expect_error(
    abtest(tibble::tibble(x = character())),
    "must be a whole number larger than or equal to 1, not the number 0."
    )
})

Try the explore package in your browser

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

explore documentation built on Oct. 11, 2023, 9:07 a.m.