Skip to content

Commit 4a33aea

Browse files
committed
Closes #1862. Rely on visual test of geom_sf(), making additional checks on the figure data is overkill and is dependent on GEOS version
1 parent e883c17 commit 4a33aea

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/testthat/test-ggplot-sf.R

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,6 @@ test_that("geom_sf() geometry collection.", {
3333

3434
# graticule, point, line, polygon
3535
expect_length(l$data, 4)
36-
37-
# test data/default for line
38-
# TODO: test that defaults are correct one geom_sf() becomes stable
39-
expect_equivalent(l$data[[2]]$x, c(4, 3))
40-
expect_equivalent(l$data[[2]]$y, c(0, 0))
41-
expect_equivalent(l$data[[3]]$x, I(1))
42-
expect_equivalent(l$data[[3]]$y, I(0))
43-
expect_equivalent(l$data[[4]]$x, c(5.5, 7, 7, 6, 5.5, 5.5))
44-
expect_equivalent(l$data[[4]]$y, c(0, 0, -.5, -.5, 0, 0))
4536
})
4637

4738
test_that("geom_sf() polygons with fill/text.", {

0 commit comments

Comments
 (0)