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 Nov. 6, 2024, 4:48 p.m.