From 5f9e698ecb8bcaf155075ed0fad257bf833b47b2 Mon Sep 17 00:00:00 2001 From: boB Rudis Date: Wed, 17 Jul 2019 06:27:15 -0400 Subject: [PATCH] fixed test --- inst/tinytest/test_ggchicklet.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inst/tinytest/test_ggchicklet.R b/inst/tinytest/test_ggchicklet.R index afa4c29..f5cfd3a 100644 --- a/inst/tinytest/test_ggchicklet.R +++ b/inst/tinytest/test_ggchicklet.R @@ -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)) +)