No known key found for this signature in database
GPG Key ID: 1D7529BE14E2BBA9
1 changed files with
4 additions and
1 deletions
-
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)) |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|