~hrbrmstr/ggchicklet

5f9e698ecb8bcaf155075ed0fad257bf833b47b2 — boB Rudis 4 years ago 822c3de
fixed test
1 files changed, 4 insertions(+), 1 deletions(-)

M inst/tinytest/test_ggchicklet.R
M inst/tinytest/test_ggchicklet.R => inst/tinytest/test_ggchicklet.R +4 -1
@@ 1,4 1,5 @@
library(ggplot2)
library(ggchicklet)

data("debates2019")



@@ 16,5 17,7 @@ ggplot_build(gg) -> gb

ggplot_gtable(gb) -> gt

expect_true(all(c("GeomChicklet", "GeomRrect") %in% class(gb$plot$layers[[1]]$geom)))
expect_true(
  all(c("GeomChicklet", "GeomRrect") %in% class(gb$plot$layers[[1]]$geom))
)