Browse Source

fixed test

master
boB Rudis 5 years ago
parent
commit
5f9e698ecb
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 5
      inst/tinytest/test_ggchicklet.R

5
inst/tinytest/test_ggchicklet.R

@ -1,4 +1,5 @@
library(ggplot2) library(ggplot2)
library(ggchicklet)
data("debates2019") data("debates2019")
@ -16,5 +17,7 @@ ggplot_build(gg) -> gb
ggplot_gtable(gb) -> gt 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))
)

Loading…
Cancel
Save