Browse Source

fixed test

master
boB Rudis 1 year ago
parent
commit
5f9e698ecb
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      inst/tinytest/test_ggchicklet.R

+ 4
- 1
inst/tinytest/test_ggchicklet.R View File

@ -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))
)

Loading…
Cancel
Save