From 2a3804b3c6b227236ddcd9977017147f601bb7ee Mon Sep 17 00:00:00 2001 From: Matthieu Viry Date: Mon, 24 Mar 2025 15:45:44 +0100 Subject: [PATCH 1/2] Fix some naming mistake in documentation of osrmNearest --- R/osrmNearest.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/osrmNearest.R b/R/osrmNearest.R index 66361c9..e44d8d2 100644 --- a/R/osrmNearest.R +++ b/R/osrmNearest.R @@ -9,7 +9,7 @@ #' \item an sfc object of type POINT, #' \item an sf object of type POINT. #' } -#' If \code{src} is a data.frame, a matrix, an sfc object or an sf object then +#' If \code{loc} is a data.frame, a matrix, an sfc object or an sf object then #' only the first row or element is considered. #' @param exclude pass an optional "exclude" request option to the OSRM API. #' @param osrm.server the base URL of the routing server. From 4b86f3bcbd58c10343e617fbd2bd4e9e010a3fef Mon Sep 17 00:00:00 2001 From: Matthieu Viry Date: Mon, 24 Mar 2025 17:08:02 +0100 Subject: [PATCH 2/2] Fix typo in documentation of osrmNearest --- R/osrmNearest.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/osrmNearest.R b/R/osrmNearest.R index e44d8d2..6c89348 100644 --- a/R/osrmNearest.R +++ b/R/osrmNearest.R @@ -18,7 +18,7 @@ #' The output of this function is an sf POINT of the point on the street #' network.\cr #' It contains 2 fields: \itemize{ -#' \item id, the point identifierv +#' \item id, the point identifier #' \item distance, the distance in meters to the supplied input point. #' } #' @importFrom sf st_as_sfc st_crs st_geometry st_sf st_as_sf st_transform