tests/testthat/test-ggplot2.R

library(ggplot2)
test_that("not break ggplot()", {
  expect_s3_class(ggplot(pedestrian, aes(x = Date_Time, y = Count)), "ggplot")
})
tidyverts/tsibble documentation built on Feb. 3, 2025, 12:37 a.m.