From b0973b900787b41f341cb6922dd79b735c972a56 Mon Sep 17 00:00:00 2001 From: simon-smart88 Date: Fri, 11 Oct 2024 14:35:25 +0100 Subject: [PATCH] set example crs --- R/resp_simplify_f.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/resp_simplify_f.R b/R/resp_simplify_f.R index d8366f5..c9403fb 100644 --- a/R/resp_simplify_f.R +++ b/R/resp_simplify_f.R @@ -17,7 +17,7 @@ #' c(2, 2), c(1, 2.25), #' c(0, 2), c(0.25, 1), #' c(0, 0)))) -#' shape <- sf::st_sf(geometry = sf::st_sfc(poly)) +#' shape <- sf::st_sf(geometry = sf::st_sfc(poly), crs = 4326) #' simplified_shape <- resp_simplify(shape, 0.5) #' #' @export