Skip to content

Commit

Permalink
clean test output
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Nov 3, 2024
1 parent dc990d2 commit 7bd4e08
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/sfc.Rout.save
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,14 @@ Geodetic CRS: WGS 84
a geom
1 1 MULTIPOLYGON (((0 0, 10 0, ...
>
> '{"type":"Polygon","coordinates":[[]]}' |> read_sf() |> st_is_empty()
[1] TRUE
> # '{"type":"Polygon","coordinates":[]}' |> read_sf() |> st_is_empty() # breaks on GDAL < 3.9 or so
> '{"type":"MultiPolygon","coordinates":[[[]]]}' |> read_sf() |> st_is_empty()
[1] TRUE
> '{"type":"MultiPolygon","coordinates":[[]]}' |> read_sf() |> st_is_empty()
[1] TRUE
>
> proc.time()
user system elapsed
5.266 1.417 5.341
4.932 1.534 5.006

0 comments on commit 7bd4e08

Please sign in to comment.