tests/testthat/helper-dplyr.R

expect_no_error <- function(object, ...) {
  expect_error({{ object }}, NA, ...)
}
expect_no_warning <- function(object, ...) {
  expect_warning({{ object }}, NA, ...)
}
hadley/dplyr documentation built on Feb. 16, 2024, 8:27 p.m.