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 Feb. 13, 2024, 11:18 p.m.