Changelog
Source:NEWS.md
traveltime 1.0.0
CRAN release: 2026-10-31
- First CRAN release.
-
calculate_travel_time()now usesterra::costDist()internally, removing the dependencies on the supersededrasterandgdistancepackages. Results are effectively the same; see the validation article for details of the small differences. - Cells that cannot be reached from any of
points(e.g. because they are cut off byNAcells) are nowNAin the output ofcalculate_travel_time(). Previously they wereInf. -
calculate_travel_time()now drops (with a warning) anypointsthat fall outsidefriction_surface, and errors if none fall within it. -
calculate_travel_time()now works with a single point supplied as a one-rowmatrixor a one-pointSpatVector. Previously these errored. -
ext_matrix(), and soget_friction_surface(), now accept integer as well as double vectors forextent. -
calculate_travel_time()andget_friction_surface()now correctly return the existing file whenfilenamealready exists andoverwrite = FALSE, as documented. Previously they warned and then errored. -
get_friction_surface()now fails gracefully, returningNULLwith a warning, if the friction surface cannot be downloaded. - Removed unused dependency on
lifecycle.