tests/testthat/test-desc.R

test_that("errors cleanly on non-vectors", {
  expect_snapshot(desc(mean), error = TRUE)
})
hadley/dplyr documentation built on Feb. 16, 2024, 8:27 p.m.