tests/testthat/helpers-types.R

expect_lossy_cast <- function(...) {
  expect_error(class = "vctrs_error_cast_lossy", ...)
}

expect_incompatible_type <- function(...) {
  expect_error(class = "vctrs_error_incompatible_type", ...)
}
hadley/haven documentation built on Jan. 5, 2024, 10:30 a.m.