tests/testthat/test-theme_TWRI_fig.R

library(ggplot2)
test_that("theme_TWRI_print", {
  x <- ggplot(dissolved_oxygen) +
    geom_point(aes(end_date, min_do)) +
    theme_TWRI_print()
  testthat::expect_s3_class(x, "ggplot")
})
TxWRI/twriTemplates documentation built on Oct. 20, 2023, 2:06 p.m.