tests/testthat/test-autoplot.R

test_that("autoplot throws helpful error on default", {
  expect_snapshot_error(autoplot(1:4))
})
tidyverse/ggplot2 documentation built on May 1, 2024, 1:12 p.m.