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")] }