{
  "_id": "6a1eb285b25058d4daadc457",
  "Package": "evacpath",
  "Title": "Least-Cost Pedestrian Evacuation Modeling",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(\"Elvin\", \"Cordero\", role = c(\"aut\", \"cre\"), email = \"elvin.cordero@seamountgeo.com\")\n)",
  "Description": "Tools for road-constrained, least-cost pedestrian\nevacuation modeling. The package provides reusable functions\nfor preparing hazard zones, generating road-based evacuation\norigin points, identifying escape/safety points, creating\nslope-based conductance surfaces, calculating least-cost\ndistance to safety, and converting distance outputs into\nevacuation-time polygons. It is designed to support workflows\nlike tsunami evacuation modeling while remaining adaptable to\nother regions and hazards. Tsunami-specific helpers support\nseparate land-only hazard zones, water-combined escape zones,\nroad-aware escape boundaries, and study-area inset cropping for\nquality assurance and quality control. Methods build on Cordero\net al. (2025) <doi:10.1007/s44367-025-00018-y>, Lewis (2021)\n<doi:10.1007/s10816-021-09522-w>, and Joseph Lewis's\n'leastcostpath' package (2023)\n<https://CRAN.R-project.org/package=leastcostpath>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/el-cordero/evacpath",
  "BugReports": "https://github.com/el-cordero/evacpath/issues",
  "Language": "en-US",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibglpk-dev libxml2-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://el-cordero.r-universe.dev",
  "Date/Publication": "2026-06-01 19:36:28 UTC",
  "RemoteUrl": "https://github.com/el-cordero/evacpath",
  "RemoteRef": "HEAD",
  "RemoteSha": "c6954e3305c8d0fbb94ae1389f447e853dc2efd0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 10:30:19 UTC",
    "User": "root"
  },
  "Author": "Elvin Cordero [aut, cre]",
  "Maintainer": "Elvin Cordero <elvin.cordero@seamountgeo.com>",
  "MD5sum": "159fc8181a8ba4e9e6d832c8690dfb3e",
  "_user": "el-cordero",
  "_type": "src",
  "_file": "evacpath_0.2.0.tar.gz",
  "_fileid": "0bb6e8e4c35a70323fa31083d5088418e4bb94a95d7560e839dfe7e7ed666e80",
  "_filesize": 3066491,
  "_sha256": "0bb6e8e4c35a70323fa31083d5088418e4bb94a95d7560e839dfe7e7ed666e80",
  "_created": "2026-06-02T10:30:19.000Z",
  "_published": "2026-06-02T10:37:57.694Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79051041744,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355318095"
    },
    {
      "job": 79051041713,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355319787"
    },
    {
      "job": 79051041761,
      "time": 131,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355400919"
    },
    {
      "job": 79051041735,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355397595"
    },
    {
      "job": 79050316031,
      "time": 266,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355257715"
    },
    {
      "job": 79051041783,
      "time": 160,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355313712"
    },
    {
      "job": 79051041707,
      "time": 123,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355301397"
    },
    {
      "job": 79051041775,
      "time": 106,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355295721"
    },
    {
      "job": 79051041762,
      "time": 109,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355296754"
    }
  ],
  "_buildurl": "https://github.com/r-universe/el-cordero/actions/runs/26813784677",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/el-cordero/evacpath",
  "_commit": {
    "id": "c6954e3305c8d0fbb94ae1389f447e853dc2efd0",
    "author": "Elvin Cordero <cordero.elvin@gmail.com>",
    "committer": "Elvin Cordero <cordero.elvin@gmail.com>",
    "message": "Add Phase 1 evacuation planning workflows\n",
    "time": 1780342588
  },
  "_maintainer": {
    "name": "Elvin Cordero",
    "email": "elvin.cordero@seamountgeo.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "leastcostpath",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "fields",
      "role": "Suggests"
    }
  ],
  "_owner": "el-cordero",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-21",
      "n": 10
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "el-cordero",
      "count": 14,
      "uuid": 33505811
    }
  ],
  "_userbio": {
    "uuid": 33505811,
    "type": "user",
    "name": "el-cordero"
  },
  "_downloads": {
    "count": 62,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/evacpath"
  },
  "_devurl": "https://github.com/el-cordero/evacpath",
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/evacpath.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/el-cordero/evacpath",
  "_realowner": "el-cordero",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-05-28"
    }
  ],
  "_exports": [
    "calc_evac_time",
    "calc_min_distance_to_safety",
    "calculate_lc_path",
    "calculate_min_dist",
    "clean_roads",
    "compare_evac_scenarios",
    "crop_roads_to_inner_extent",
    "diagnose_evac_model",
    "find_escape_points",
    "has_errors",
    "interpolate_distance_surface",
    "make_conductance_surface",
    "make_evac_grid",
    "make_evac_polygons",
    "make_region_area",
    "make_road_aware_escape_zone",
    "make_road_mask",
    "make_road_origins",
    "make_roads_in_zone",
    "map_evac_bottlenecks",
    "prepare_evac_inputs",
    "prepare_hazard_zone",
    "prepare_tsunami_zones",
    "read_spatial",
    "run_evacpath",
    "validate_evac_routes",
    "write_evac_outputs"
  ],
  "_help": [
    {
      "page": "evacpath-package",
      "title": "evacpath: Least-cost pedestrian evacuation modeling in R",
      "topics": [
        "evacpath-package",
        "evacpath"
      ]
    },
    {
      "page": "calc_evac_time",
      "title": "Convert distance to evacuation time",
      "topics": [
        "calc_evac_time"
      ]
    },
    {
      "page": "calc_min_distance_to_safety",
      "title": "Calculate minimum least-cost distance from origins to safety",
      "topics": [
        "calc_min_distance_to_safety"
      ]
    },
    {
      "page": "calculate_lc_path",
      "title": "Calculate a least-cost path between one origin and one destination",
      "topics": [
        "calculate_lc_path"
      ]
    },
    {
      "page": "calculate_min_dist",
      "title": "Calculate the minimum path distance from a list of least-cost paths",
      "topics": [
        "calculate_min_dist"
      ]
    },
    {
      "page": "clean_roads",
      "title": "Clean a road/pathway network",
      "topics": [
        "clean_roads"
      ]
    },
    {
      "page": "compare_evac_scenarios",
      "title": "Compare evacuation scenarios",
      "topics": [
        "compare_evac_scenarios"
      ]
    },
    {
      "page": "crop_roads_to_inner_extent",
      "title": "Crop roads to an inset extent before escape-point detection",
      "topics": [
        "crop_roads_to_inner_extent"
      ]
    },
    {
      "page": "diagnose_evac_model",
      "title": "Diagnose evacuation-model inputs",
      "topics": [
        "diagnose_evac_model"
      ]
    },
    {
      "page": "find_escape_points",
      "title": "Identify escape/safety points where roads cross the hazard-zone boundary",
      "topics": [
        "find_escape_points"
      ]
    },
    {
      "page": "has_errors",
      "title": "Test whether diagnostics contain errors",
      "topics": [
        "has_errors"
      ]
    },
    {
      "page": "interpolate_distance_surface",
      "title": "Interpolate a distance surface from least-cost distance points",
      "topics": [
        "interpolate_distance_surface"
      ]
    },
    {
      "page": "make_conductance_surface",
      "title": "Create a slope-based conductance surface",
      "topics": [
        "make_conductance_surface"
      ]
    },
    {
      "page": "make_evac_grid",
      "title": "Create an evacuation grid",
      "topics": [
        "make_evac_grid"
      ]
    },
    {
      "page": "make_evac_polygons",
      "title": "Create evacuation-distance and evacuation-time polygons",
      "topics": [
        "make_evac_polygons"
      ]
    },
    {
      "page": "make_output_clip_area",
      "title": "Make an output clip area for evacuation polygons",
      "topics": [
        "make_output_clip_area"
      ]
    },
    {
      "page": "make_region_area",
      "title": "Create a broader analysis region around a study area",
      "topics": [
        "make_region_area"
      ]
    },
    {
      "page": "make_road_aware_escape_zone",
      "title": "Add buffered road corridors to an escape-boundary zone",
      "topics": [
        "make_road_aware_escape_zone"
      ]
    },
    {
      "page": "make_road_mask",
      "title": "Create a road-constrained analysis mask",
      "topics": [
        "make_road_mask"
      ]
    },
    {
      "page": "make_road_origins",
      "title": "Create road-based origin points inside the evacuation zone",
      "topics": [
        "make_road_origins"
      ]
    },
    {
      "page": "make_roads_in_zone",
      "title": "Create a buffered road area inside an inundation or analysis zone",
      "topics": [
        "make_roads_in_zone"
      ]
    },
    {
      "page": "map_evac_bottlenecks",
      "title": "Map modeled evacuation bottlenecks",
      "topics": [
        "map_evac_bottlenecks"
      ]
    },
    {
      "page": "prepare_evac_inputs",
      "title": "Read and project the core evacuation inputs",
      "topics": [
        "prepare_evac_inputs"
      ]
    },
    {
      "page": "prepare_hazard_zone",
      "title": "Prepare a hazard zone from an inundation raster",
      "topics": [
        "prepare_hazard_zone"
      ]
    },
    {
      "page": "prepare_tsunami_zones",
      "title": "Prepare separate tsunami zones for escape analysis and visualization",
      "topics": [
        "prepare_tsunami_zones"
      ]
    },
    {
      "page": "read_spatial",
      "title": "Read a spatial input",
      "topics": [
        "read_spatial"
      ]
    },
    {
      "page": "run_evacpath",
      "title": "Run the full evacuation-path modeling workflow",
      "topics": [
        "run_evacpath"
      ]
    },
    {
      "page": "validate_evac_routes",
      "title": "Validate modeled evacuation routes",
      "topics": [
        "validate_evac_routes"
      ]
    },
    {
      "page": "write_evac_outputs",
      "title": "Write evacpath outputs to disk",
      "topics": [
        "write_evac_outputs"
      ]
    }
  ],
  "_pkglogo": "https://github.com/el-cordero/evacpath/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/el-cordero/evacpath/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "class",
    "classInt",
    "cli",
    "codetools",
    "cpp11",
    "DBI",
    "doParallel",
    "e1071",
    "FNN",
    "foreach",
    "glue",
    "gstat",
    "igraph",
    "intervals",
    "iterators",
    "KernSmooth",
    "lattice",
    "leastcostpath",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "pkgconfig",
    "proxy",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "sftime",
    "sp",
    "spacetime",
    "stars",
    "terra",
    "units",
    "vctrs",
    "wk",
    "xts",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "comparing-evacuation-scenarios.Rmd",
      "filename": "comparing-evacuation-scenarios.html",
      "title": "Comparing evacuation scenarios with evacpath",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load example inputs",
        "Run a baseline model",
        "Compare walking speed and path assumptions",
        "Diagnose inputs",
        "Map bottlenecks"
      ],
      "created": "2026-06-01 19:36:28",
      "modified": "2026-06-01 19:36:28",
      "commits": 1
    },
    {
      "source": "diagnostic-example.Rmd",
      "filename": "diagnostic-example.html",
      "title": "Evacuation workflow: function-by-function diagnostics",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup",
        "Locate example input files",
        "Read Spatial Inputs",
        "Raw input diagnostics",
        "Clean Roads",
        "Prepare Tsunami Zones",
        "Check the land/water classification",
        "Check the two tsunami zones",
        "Crop roads to an inner extent before escape-point detection",
        "Combine buffered roads with the escape zone",
        "Compare escape-point methods",
        "Prepare Core Inputs",
        "Create the Evacuation Grid",
        "Create the Road Mask",
        "Create Road Origin Points",
        "Create the Conductance Surface",
        "Calculate Least-Cost Distance",
        "Convert Distance to Time",
        "Create Evacuation Polygons",
        "Run the High-Level Wrapper",
        "Final map check",
        "Write Outputs",
        "Troubleshooting checklist",
        "References"
      ],
      "created": "2026-05-18 16:47:56",
      "modified": "2026-06-01 19:36:28",
      "commits": 5
    },
    {
      "source": "custom-region-example.Rmd",
      "filename": "custom-region-example.html",
      "title": "Using evacpath in a new region",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Minimal workflow",
        "Common customizations",
        "Case-specific preprocessing",
        "References"
      ],
      "created": "2026-05-18 16:00:22",
      "modified": "2026-05-18 17:40:01",
      "commits": 3
    }
  ],
  "_score": 4.653212513775344,
  "_indexed": true,
  "_nocasepkg": "evacpath",
  "_universes": [
    "el-cordero"
  ],
  "_previous": "0.1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T10:33:04.000Z",
      "distro": "noble",
      "commit": "c6954e3305c8d0fbb94ae1389f447e853dc2efd0",
      "fileid": "77fa9a7f366c668ed4410968d448e898fd54ca440f2f4af2f856a07ae5827336",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/26813784677"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T10:33:08.000Z",
      "distro": "noble",
      "commit": "c6954e3305c8d0fbb94ae1389f447e853dc2efd0",
      "fileid": "424dc9cc968605a0692c34324ea8d5ed7c4319f617ece0441975a791b24ffa9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/26813784677"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T10:37:07.000Z",
      "commit": "c6954e3305c8d0fbb94ae1389f447e853dc2efd0",
      "fileid": "c98517f310e6d7a590529e1e52e357bf8bb99815f063810467d416adcb9908b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/26813784677"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T10:37:05.000Z",
      "commit": "c6954e3305c8d0fbb94ae1389f447e853dc2efd0",
      "fileid": "72ec3b7bd48cec03efdee8597cadfe52222efdb4facd1b15aefe6a0dc761296c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/26813784677"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-02T10:33:19.000Z",
      "commit": "c6954e3305c8d0fbb94ae1389f447e853dc2efd0",
      "fileid": "c3bed334d20f39150c37036af2af380fbe5e65e7c9115b969c6996606531c473",
      "status": "success",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/26813784677"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T10:32:02.000Z",
      "commit": "c6954e3305c8d0fbb94ae1389f447e853dc2efd0",
      "fileid": "78c059057a35d22b9ea6e44acc1d8c7c5d23b5c4f333f593db4a777e40a13445",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/26813784677"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T10:31:47.000Z",
      "commit": "c6954e3305c8d0fbb94ae1389f447e853dc2efd0",
      "fileid": "b9475e1b5eb815f48fe2dedca339b6db0cd53c586fa5aacb84c9fef14ba9751b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/26813784677"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T10:31:50.000Z",
      "commit": "c6954e3305c8d0fbb94ae1389f447e853dc2efd0",
      "fileid": "6f7f4e13ca8ea631595b76412d421f24741ea8bb30ba1884b7a2073761434198",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/26813784677"
    }
  ]
}