tests/testthat/test-themes.R

context("themes")

test_that("outputs an object of class equal to that of a ggplot2 theme", {
  tag <- theme_tag_status()
  expect_equal(class(tag), class(ggplot2::theme()))

  quad <- theme_dbh_bubbles()
  expect_equal(class(quad), class(ggplot2::theme()))
})
forestgeo/fgeo.plot documentation built on Sept. 10, 2022, 11:21 a.m.