tests/testthat/helpers.R

expect_no_error <- function(object, ...) {
  expect_error({{ object }}, NA, ...)
}
expect_no_warning <- function(object, ...) {
  expect_warning({{ object }}, NA, ...)
}
roliveros-ramos/calibrar documentation built on July 16, 2025, 4:09 p.m.