Skip to content

Commit

Permalink
update tests; remove dependency on ggforce
Browse files Browse the repository at this point in the history
  • Loading branch information
hughjonesd committed Jan 31, 2024
1 parent 8cf46a3 commit d6db006
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
Binary file modified tests/testthat/_snaps/basics/test-basics-basics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/params/test-params-corners.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/params/test-params-inset-linetype.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/params/test-params-linetype.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/params/test-params-target-linetype.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/testthat/test-doctest-geom_magnify.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
test_that("Doctest: geom_magnify", {
# Created from @doctest for `geom_magnify`
# Source file: R/geom-magnify.R
# Source line: 145
# Source line: 148
library(ggplot2)
ggp <- ggplot(iris, aes(Sepal.Width, Sepal.Length, colour = Species)) +
geom_point() + xlim(c(2, 6))
Expand Down
8 changes: 4 additions & 4 deletions tests/testthat/test-facets.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ test_that("facet_grid", {
test_that("facet_zoom", {
skip("Not working yet")
skip_if_not_installed("ggforce")
ggp2 + ggforce::facet_zoom(x = Species == 'versicolor') +
geom_magnify_tile(x = 15, width = 4, y = 18, height = 2,
to_x = 30, to_y = 21, to_width = 8,
to_height = 4)
# ggp2 + ggforce::facet_zoom(x = Species == 'versicolor') +
# geom_magnify_tile(x = 15, width = 4, y = 18, height = 2,
# to_x = 30, to_y = 21, to_width = 8,
# to_height = 4)

})

0 comments on commit d6db006

Please sign in to comment.