Skip to content

Commit

Permalink
Merge pull request #11 from teunbrand/ggplot2_3.5.0
Browse files Browse the repository at this point in the history
Fix test for upcoming ggplot2 update
  • Loading branch information
ColinFay authored Feb 8, 2024
2 parents 93fec14 + 25a836f commit 27aabb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-ggplot.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
test_that("ggplot creation works", {
expected_length <- length(ggplot2::ggplot())
lapply(
1:100, function(x){
a <- random_ggplot()
expect_is(a, "gg")
expect_is(a, "ggplot")
expect_length(a, 9)
expect_length(a, expected_length)
}
)

Expand Down

0 comments on commit 27aabb2

Please sign in to comment.