Skip to content

Commit

Permalink
update test data to newer ggplot2 version
Browse files Browse the repository at this point in the history
  • Loading branch information
heike committed Mar 9, 2024
1 parent 873b4ac commit c6a7e60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified inst/mtcars.rda
Binary file not shown.
2 changes: 2 additions & 0 deletions tests/testthat/test-ggparallel.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ test_that("ggparallel works", {
built_saved <- ggplot2::ggplot_build(test_mtcars_plot)
test <- ggparallel(list("gear", "cyl"), data=mtcars)
build_now <- ggplot2::ggplot_build(test)
# test_mtcars_plot <- test
# save(test_mtcars_plot, file="inst/mtcars.rda")

# data is the same
expect_equal(built_saved$data, build_now$data, tolerance=1e-4)
Expand Down

0 comments on commit c6a7e60

Please sign in to comment.