{
  "_id": "6aaa3d7aea78b3e62eac9976",
  "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://el-cordero.github.io/evacpath/,\nhttps://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/Needs/website": "r-lib/pkgdown",
  "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-07-18 02:02:15 UTC",
  "RemoteUrl": "https://github.com/el-cordero/evacpath",
  "RemoteRef": "HEAD",
  "RemoteSha": "6330b4529c17fad7700065a6c991eb6cab98097a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-16 06:40:29 UTC",
    "User": "root"
  },
  "Author": "Elvin Cordero [aut, cre]",
  "Maintainer": "Elvin Cordero <elvin.cordero@seamountgeo.com>",
  "_user": "el-cordero",
  "_type": "src",
  "_file": "evacpath_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/332a65c955cd980595d02c295ad950ffa3e01d296d5f2f13d60100e43318fbfc",
  "_filesize": 5197595,
  "_sha256": "332a65c955cd980595d02c295ad950ffa3e01d296d5f2f13d60100e43318fbfc",
  "_expires": "2026-12-25T06:55:52.000Z",
  "_created": "2026-09-16T06:40:29.000Z",
  "_published": "2026-09-16T06:55:54.589Z",
  "_jobs": [
    {
      "job": 104692670321,
      "time": 176,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10433703469"
    },
    {
      "job": 104692670333,
      "time": 191,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10434042285"
    },
    {
      "job": 104692670367,
      "time": 190,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10434361409"
    },
    {
      "job": 104692670355,
      "time": 300,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10433779451"
    },
    {
      "job": 104691715773,
      "time": 243,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10433188451"
    },
    {
      "job": 104692670369,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10433863073"
    },
    {
      "job": 104692670371,
      "time": 105,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10433469120"
    },
    {
      "job": 104692670414,
      "time": 93,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10433238266"
    },
    {
      "job": 104692670412,
      "time": 87,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10433352911"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/el-cordero/actions/runs/35064481378",
  "_status": "success",
  "_upstream": "https://github.com/el-cordero/evacpath",
  "_commit": {
    "id": "6330b4529c17fad7700065a6c991eb6cab98097a",
    "author": "Elvin Cordero <cordero.elvin@gmail.com>",
    "committer": "Elvin Cordero <cordero.elvin@gmail.com>",
    "message": "Polish documentation and release tooling\n",
    "time": 1784340135
  },
  "_maintainer": {
    "name": "Elvin Cordero",
    "email": "elvin.cordero@seamountgeo.com"
  },
  "_distro": "resolute",
  "_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"
    },
    {
      "package": "pkgdown",
      "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
    },
    {
      "week": "2026-28",
      "n": 4
    },
    {
      "week": "2026-29",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "el-cordero",
      "count": 19,
      "uuid": 33505811
    }
  ],
  "_userbio": {
    "uuid": 33505811,
    "type": "user",
    "name": "el-cordero",
    "followers": 1
  },
  "_downloads": {
    "count": 349,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/evacpath"
  },
  "_devurl": "https://github.com/el-cordero/evacpath",
  "_pkgdown": "https://el-cordero.github.io/evacpath/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/evacpath.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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",
    "Matrix",
    "pkgconfig",
    "proxy",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "sftime",
    "sp",
    "spacetime",
    "stars",
    "terra",
    "units",
    "vctrs",
    "wk",
    "xts",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "bottlenecks-validation.Rmd",
      "filename": "bottlenecks-validation.html",
      "title": "Bottlenecks and route validation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Retain modeled routes",
        "Map modeled high-use corridors",
        "Compare with reference routes"
      ],
      "created": "2026-07-11 13:02:47",
      "modified": "2026-07-18 02:02:15",
      "commits": 3
    },
    {
      "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-07-18 02:02:15",
      "commits": 3
    },
    {
      "source": "diagnostic-example.Rmd",
      "filename": "diagnostic-example.html",
      "title": "Evacuation workflow: function-by-function diagnostics",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Representative packaged output",
        "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-07-18 02:02:15",
      "commits": 7
    },
    {
      "source": "examples.Rmd",
      "filename": "examples.html",
      "title": "Example workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example inputs",
        "Candidate safety exits",
        "Modeled evacuation time",
        "Scenario comparison",
        "Outputs users can write"
      ],
      "created": "2026-07-11 13:02:47",
      "modified": "2026-07-18 02:02:15",
      "commits": 3
    },
    {
      "source": "get-started.Rmd",
      "filename": "get-started.html",
      "title": "Get started with evacpath",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Install and load",
        "Load the packaged example data",
        "Run the workflow",
        "What you get back"
      ],
      "created": "2026-07-11 13:02:47",
      "modified": "2026-07-18 02:02:15",
      "commits": 3
    },
    {
      "source": "modeling-assumptions.Rmd",
      "filename": "modeling-assumptions.html",
      "title": "Modeling assumptions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Coordinate reference system",
        "Hazard, terrain, and road inputs",
        "Buffers and origin density",
        "Conductance and least-cost paths",
        "Output clipping"
      ],
      "created": "2026-07-11 13:02:47",
      "modified": "2026-07-18 02:02:15",
      "commits": 3
    },
    {
      "source": "scenario-comparison.Rmd",
      "filename": "scenario-comparison.html",
      "title": "Scenario comparison",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2026-07-11 13:02:47",
      "modified": "2026-07-18 02:02:15",
      "commits": 3
    },
    {
      "source": "tsunami-workflow.Rmd",
      "filename": "tsunami-workflow.html",
      "title": "Tsunami evacuation workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Three spatial roles",
        "Prepare the zones",
        "Model travel to safety"
      ],
      "created": "2026-07-11 13:02:47",
      "modified": "2026-07-18 02:02:15",
      "commits": 4
    },
    {
      "source": "custom-region-example.Rmd",
      "filename": "custom-region-example.html",
      "title": "Using evacpath in a new region",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Regional checklist",
        "Minimal workflow",
        "Common customizations",
        "Case-specific preprocessing",
        "References"
      ],
      "created": "2026-05-18 16:00:22",
      "modified": "2026-07-18 02:02:15",
      "commits": 6
    }
  ],
  "_score": 5.352182518111363,
  "_indexed": true,
  "_nocasepkg": "evacpath",
  "_universes": [
    "el-cordero"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-16T06:43:14.000Z",
      "distro": "resolute",
      "commit": "6330b4529c17fad7700065a6c991eb6cab98097a",
      "fileid": "https://r2.ropensci.org/de2b05b865f1f99a0e8aeafce49ec4cb18c8520ce372c99fa7fce8c09925406f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/35064481378"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-16T06:43:31.000Z",
      "distro": "resolute",
      "commit": "6330b4529c17fad7700065a6c991eb6cab98097a",
      "fileid": "https://r2.ropensci.org/b428d4189774d6bee73d1ed3381bb7b7d576ba33cd28f790981a4c1f1f37868e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/35064481378"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-16T06:54:33.000Z",
      "commit": "6330b4529c17fad7700065a6c991eb6cab98097a",
      "fileid": "https://r2.ropensci.org/c6dbc78fdc556d347dfd2b862839a418f666ffb0e948bc8bb090b38d4937bc77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/35064481378"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-16T06:52:09.000Z",
      "commit": "6330b4529c17fad7700065a6c991eb6cab98097a",
      "fileid": "https://r2.ropensci.org/7ce5a08e97be58ccb6fa05782fe7b40402c6e924ff41d34d40f1ae982f27f4e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/35064481378"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-09-16T06:43:20.000Z",
      "commit": "6330b4529c17fad7700065a6c991eb6cab98097a",
      "fileid": "https://r2.ropensci.org/2412f23298dc9fb6d50c4aa183c7c33535e3f485d9b16b272a7860f55f8aaa10",
      "status": "success",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/35064481378"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-16T06:41:51.000Z",
      "commit": "6330b4529c17fad7700065a6c991eb6cab98097a",
      "fileid": "https://r2.ropensci.org/529b289b0325e2bdde37618f6541df74eddb0f4d60766ff7be60d292b7332874",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/35064481378"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-16T06:41:46.000Z",
      "commit": "6330b4529c17fad7700065a6c991eb6cab98097a",
      "fileid": "https://r2.ropensci.org/4cdfd3652c8b2ef5bdf884730b9be17a34b0395ea9605ce4bb97e3e09f1f7209",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/35064481378"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-16T06:41:40.000Z",
      "commit": "6330b4529c17fad7700065a6c991eb6cab98097a",
      "fileid": "https://r2.ropensci.org/e82f18c08d846936f894c2eb7f1867ba2639964c3dbd967cd5b5ca6499ec4893",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/el-cordero/actions/runs/35064481378"
    }
  ]
}