From 416ddfe43db499ace0f2c243896339d5f7791520 Mon Sep 17 00:00:00 2001 From: robinlovelace Date: Wed, 1 May 2024 15:56:33 +0100 Subject: [PATCH] Remove annoying warning, favour Note in docs --- R/linefuns.R | 7 ------- 1 file changed, 7 deletions(-) diff --git a/R/linefuns.R b/R/linefuns.R index 4f5bd4cc..88ba02a6 100644 --- a/R/linefuns.R +++ b/R/linefuns.R @@ -375,13 +375,6 @@ use_rsgeo <- function(shp) { line_segment_rsgeo <- function(l, n_segments) { crs <- sf::st_crs(l) - # Test to see if the CRS is latlon or not and provide warning if so - if (sf::st_is_longlat(l)) { - warning( - "The CRS of the input object is latlon.\n", - "This may cause problems with the rsgeo implementation of line_segment()." - ) - } # extract geometry and convert to rsgeo geo <- rsgeo::as_rsgeo(sf::st_geometry(l))