Tools for road-constrained, least-cost pedestrian evacuation modeling. The package provides reusable functions for preparing hazard zones, generating road-based evacuation origin points, identifying escape/safety points, creating slope-based conductance surfaces, calculating least-cost distance to safety, and converting distance outputs into evacuation-time polygons. It is designed to support workflows like tsunami evacuation modeling while remaining adaptable to other regions and hazards. Tsunami-specific helpers support separate land-only hazard zones, water-combined escape zones, road-aware escape boundaries, and study-area inset cropping for quality assurance and quality control. Methods build on Cordero et al. (2025) <doi:10.1007/s44367-025-00018-y>, Lewis (2021) <doi:10.1007/s10816-021-09522-w>, and Joseph Lewis's 'leastcostpath' package (2023) <https://CRAN.R-project.org/package=leastcostpath>.
| Version: | 0.1.0 |
| Depends: | R (≥ 4.1) |
| Imports: | terra, leastcostpath, utils |
| Suggests: | knitr, rmarkdown, testthat (≥ 3.0.0), devtools, fields |
| Published: | 2026-05-28 |
| DOI: | 10.32614/CRAN.package.evacpath (may not be active yet) |
| Author: | Elvin Cordero [aut, cre] |
| Maintainer: | Elvin Cordero <elvin.cordero1 at upr.edu> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | evacpath results |
| Reference manual: | evacpath.html , evacpath.pdf |
| Vignettes: |
Using evacpath in a new region (source, R code) Evacuation workflow: function-by-function diagnostics (source, R code) |
| Package source: | evacpath_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=evacpath to link to this page.