From 9773f16aab1c4d176dbf17f576e406c3285f5c26 Mon Sep 17 00:00:00 2001 From: Anthony North Date: Sun, 11 Aug 2024 18:06:34 +1000 Subject: [PATCH] bump wk --- DESCRIPTION | 2 +- R/geometry.R | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index fc4a65f..18ff352 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -27,7 +27,7 @@ Imports: tidyselect, uuid, vctrs (>= 0.6), - wk (>= 0.9), + wk (>= 0.9.2), yyjsonr Suggests: geojsonsf, diff --git a/R/geometry.R b/R/geometry.R index 4791030..60f4ddf 100644 --- a/R/geometry.R +++ b/R/geometry.R @@ -230,14 +230,3 @@ wk_is_linestring <- function(handleable, ignore_empty = TRUE) { wk_is_polygon <- function(handleable, ignore_empty = TRUE) { wk_is(handleable, wk::wk_geometry_type(c("polygon", "multipolygon")), ignore_empty) } - - -# should this live in the wk package? -wk_bbox.bbox <- function(handleable) { - wk::as_rct(handleable) -} - -# should this live in the wk package? -wk_crs.bbox <- function(handleable) { - wk::wk_crs(wk::as_rct(handleable)) -}