From 846cea5ee7b4b853b4ac9ce6c101efef7b6f0f29 Mon Sep 17 00:00:00 2001 From: geryan Date: Mon, 16 Dec 2024 10:45:38 +1100 Subject: [PATCH] add missing namespace --- R/calculate_travel_time.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/calculate_travel_time.R b/R/calculate_travel_time.R index 2e4720e..191c770 100644 --- a/R/calculate_travel_time.R +++ b/R/calculate_travel_time.R @@ -94,7 +94,7 @@ calculate_travel_time <- function( } if("SpatVector" %in% class(points)){ - points <- geom(points)[,c("x", "y")] + points <- terra::geom(points)[,c("x", "y")] }