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()))
})

Try the fgeo.plot package in your browser

Any scripts or data that you put into this service are public.

fgeo.plot documentation built on Sept. 4, 2022, 1:06 a.m.