tests/testthat/test-autoplot.R

test_that("autoplot throws helpful error on default", {
  expect_snapshot_error(autoplot(1:4))
})
hadley/ggplot2 documentation built on May 4, 2024, 2:17 a.m.