tests/testthat/test-desc.R

test_that("errors cleanly on non-vectors", {
  expect_snapshot(desc(mean), error = TRUE)
})
hadley/dplyr documentation built on Nov. 6, 2024, 4:48 p.m.