tests/testthat/test-compat-plyr.R

test_that("input checks work in compat functions", {
  expect_snapshot_error(unrowname(1:6))
  expect_snapshot_error(revalue(1:7, c("5" = 2)))
  expect_snapshot_error(as.quoted(1:7))
  expect_snapshot_error(round_any(letters))
})

Try the ggplot2 package in your browser

Any scripts or data that you put into this service are public.

ggplot2 documentation built on June 22, 2024, 11:35 a.m.