tests/testthat/helper-dplyr.R

expect_no_error <- function(object, ...) {
  expect_error({{ object }}, NA, ...)
}
expect_no_warning <- function(object, ...) {
  expect_warning({{ object }}, NA, ...)
}
tidyverse/dplyr documentation built on July 1, 2024, 6:39 a.m.