From 7bd4e089d018019ca2438ad7493db57fd7114d5f Mon Sep 17 00:00:00 2001 From: edzer Date: Sun, 3 Nov 2024 20:47:25 +0100 Subject: [PATCH] clean test output --- tests/sfc.Rout.save | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/sfc.Rout.save b/tests/sfc.Rout.save index 4f9ed3003..638a4526e 100644 --- a/tests/sfc.Rout.save +++ b/tests/sfc.Rout.save @@ -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