tests/testthat/helper-error.R

get_defunct_error_class <- function() {
  "lifecycle_error_deprecated"
}

# Dummy to remind us to keep tests and verifications in sync
verify_errors <- identity

print_error <- function(expr) {
  print(expect_error(expr), backtrace = FALSE)
}
hadley/tibble documentation built on June 13, 2025, 3:33 a.m.