{
  "_id": "6aca8806fe5cc25786e8afc0",
  "Package": "leastcostpath",
  "Title": "Modelling Pathways and Movement Potential Within a Landscape",
  "Version": "2.0.13",
  "Date": "2025-06-09",
  "Authors@R": "person(\"Joseph\", \"Lewis\", email = \"josephlewis1992@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Maintainer": "Joseph Lewis <josephlewis1992@gmail.com>",
  "URL": "https://CRAN.R-project.org/package=leastcostpath",
  "Description": "Calculates cost surfaces based on slope to be used when\nmodelling pathways and movement potential within a landscape\n(Lewis, 2021) <doi:10.1007/s10816-021-09522-w>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.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://josephlewis.r-universe.dev",
  "Date/Publication": "2025-06-09 22:05:46 UTC",
  "RemoteUrl": "https://github.com/josephlewis/leastcostpath",
  "RemoteRef": "HEAD",
  "RemoteSha": "2a4d51296a12d7e8525b2fc82d507b5e8693f2fb",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 17:52:28 UTC",
    "User": "root"
  },
  "Author": "Joseph Lewis [aut, cre]",
  "_user": "josephlewis",
  "_type": "src",
  "_file": "leastcostpath_2.0.13.tar.gz",
  "_fileid": "https://r2.ropensci.org/ad3e05eeb8af11e7e3f2b9dc459d5fb086d950496420a96e18508fc64482313b",
  "_filesize": 302571,
  "_sha256": "ad3e05eeb8af11e7e3f2b9dc459d5fb086d950496420a96e18508fc64482313b",
  "_expires": "2027-01-18T18:46:28.000Z",
  "_created": "2026-10-10T17:52:28.000Z",
  "_published": "2026-10-10T18:46:30.348Z",
  "_buildurl": "https://github.com/r-universe/josephlewis/actions/runs/38073300348",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114275649133,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11677537242"
    },
    {
      "job": 114275649144,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678131066"
    },
    {
      "job": 114275649143,
      "time": 183,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11679366854"
    },
    {
      "job": 114275649199,
      "time": 163,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678867205"
    },
    {
      "job": 114275045546,
      "time": 179,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678210609"
    },
    {
      "job": 114275649134,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11677756950"
    },
    {
      "job": 114275649261,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11677806551"
    },
    {
      "job": 114275649125,
      "time": 90,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11677906350"
    },
    {
      "job": 114275649177,
      "time": 92,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11677382427"
    }
  ],
  "_upstream": "https://github.com/josephlewis/leastcostpath",
  "_commit": {
    "id": "2a4d51296a12d7e8525b2fc82d507b5e8693f2fb",
    "author": "Joseph Lewis <jl2094@cam.ac.uk>",
    "committer": "Joseph Lewis <jl2094@cam.ac.uk>",
    "message": "CRAN submission\n",
    "time": 1749506746
  },
  "_maintainer": {
    "name": "Joseph Lewis",
    "email": "josephlewis1992@gmail.com",
    "login": "josephlewis",
    "twitter": "@josephlewis1992",
    "description": "Research Associate @ Cambridge University |\n\nInterested in Archaeological Mobility; Settlement Patterns; Spatial Uncertainty; and GIS",
    "uuid": 22624818
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "terra",
      "version": ">= 1.5-34",
      "role": "Imports"
    },
    {
      "package": "sf",
      "version": ">= 1.0-8",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "version": ">= 1.5.2",
      "role": "Imports"
    },
    {
      "package": "gstat",
      "version": ">= 2.0-9",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "version": ">= 1.4-1",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    }
  ],
  "_owner": "josephlewis",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "archaeology",
    "cost-paths",
    "cost-surfaces",
    "movement-potential"
  ],
  "_stars": 71,
  "_contributors": [
    {
      "user": "josephlewis",
      "count": 621,
      "uuid": 22624818
    }
  ],
  "_userbio": {
    "uuid": 22624818,
    "type": "user",
    "name": "josephlewis",
    "followers": 53,
    "description": "Research Associate @ Cambridge University |\r\n\r\nInterested in Archaeological Mobility; Settlement Patterns; Spatial Uncertainty; and GIS"
  },
  "_downloads": {
    "count": 367,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/leastcostpath"
  },
  "_devurl": "https://github.com/josephlewis/leastcostpath",
  "_searchresults": 43,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/leastcostpath.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/josephlewis/leastcostpath",
  "_realowner": "josephlewis",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.2.1",
      "date": "2020-03-25"
    },
    {
      "version": "1.2.3",
      "date": "2020-04-29"
    },
    {
      "version": "1.3.6",
      "date": "2020-05-15"
    },
    {
      "version": "1.7.4",
      "date": "2020-07-17"
    },
    {
      "version": "1.8.0",
      "date": "2021-02-11"
    },
    {
      "version": "1.8.7",
      "date": "2022-06-03"
    },
    {
      "version": "2.0.12",
      "date": "2023-10-10"
    },
    {
      "version": "2.0.13",
      "date": "2025-06-09"
    }
  ],
  "_exports": [
    "add_dem_error",
    "add_global_stochasticity",
    "buffer_validation",
    "calculate_distance",
    "check_locations",
    "create_accum_cost",
    "create_cost_corridor",
    "create_cs",
    "create_distance_cs",
    "create_FETE_lcps",
    "create_lcp",
    "create_lcp_density",
    "create_slope_cs",
    "crop_cs",
    "force_isotropy",
    "get_coordinates",
    "neighbourhood",
    "PDI_validation",
    "rasterise",
    "replace_values",
    "update_values"
  ],
  "_help": [
    {
      "page": "add_dem_error",
      "title": "Incorporate vertical error into a Digital Elevation Model",
      "topics": [
        "add_dem_error"
      ]
    },
    {
      "page": "add_global_stochasticity",
      "title": "Add global stochasticity to a conductanceMatrix",
      "topics": [
        "add_global_stochasticity"
      ]
    },
    {
      "page": "buffer_validation",
      "title": "Calculate the similarity of a least-cost path to a known route",
      "topics": [
        "buffer_validation"
      ]
    },
    {
      "page": "calculate_distance",
      "title": "calculate distance between adjacent cells",
      "topics": [
        "calculate_distance"
      ]
    },
    {
      "page": "check_locations",
      "title": "check supplied locations",
      "topics": [
        "check_locations"
      ]
    },
    {
      "page": "create_accum_cost",
      "title": "creates an accumulated cost surface",
      "topics": [
        "create_accum_cost"
      ]
    },
    {
      "page": "create_cost_corridor",
      "title": "creates a cost corridor",
      "topics": [
        "create_cost_corridor"
      ]
    },
    {
      "page": "create_cs",
      "title": "Creates a cost surface from a SpatRaster",
      "topics": [
        "create_cs"
      ]
    },
    {
      "page": "create_distance_cs",
      "title": "Creates a distance-based conductance matrix",
      "topics": [
        "create_distance_cs"
      ]
    },
    {
      "page": "create_FETE_lcps",
      "title": "Calculate Least-cost Paths from each location to all other locations",
      "topics": [
        "create_FETE_lcps"
      ]
    },
    {
      "page": "create_lcp",
      "title": "Calculate Least-cost Path from Origin to Destinations",
      "topics": [
        "create_lcp"
      ]
    },
    {
      "page": "create_lcp_density",
      "title": "creates a cumulative least-cost path raster",
      "topics": [
        "create_lcp_density"
      ]
    },
    {
      "page": "create_slope_cs",
      "title": "Creates a slope-based cost surface",
      "topics": [
        "create_slope_cs"
      ]
    },
    {
      "page": "crop_cs",
      "title": "Crop conductanceMatrix to extent",
      "topics": [
        "crop_cs"
      ]
    },
    {
      "page": "force_isotropy",
      "title": "Coerce an anisotropic cost surface to an isotropic cost surface",
      "topics": [
        "force_isotropy"
      ]
    },
    {
      "page": "get_coordinates",
      "title": "get coordinates from a variety of different object classes",
      "topics": [
        "get_coordinates"
      ]
    },
    {
      "page": "neighbourhood",
      "title": "neighbourhood matrix to represent adjacent cells",
      "topics": [
        "neighbourhood"
      ]
    },
    {
      "page": "PDI_validation",
      "title": "Calculate the similarity of a least-cost path to a known route",
      "topics": [
        "PDI_validation"
      ]
    },
    {
      "page": "plot.conductanceMatrix",
      "title": "plot conductanceMatrix",
      "topics": [
        "plot.conductanceMatrix"
      ]
    },
    {
      "page": "rasterise",
      "title": "converts conductanceMatrix to SpatRaster",
      "topics": [
        "rasterise"
      ]
    },
    {
      "page": "replace_values",
      "title": "replace values with values from another object",
      "topics": [
        "replace_values"
      ]
    },
    {
      "page": "update_values",
      "title": "update values in a conductanceMatrix",
      "topics": [
        "update_values"
      ]
    }
  ],
  "_readme": "https://github.com/josephlewis/leastcostpath/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "class",
    "classInt",
    "cli",
    "codetools",
    "cpp11",
    "DBI",
    "doParallel",
    "e1071",
    "FNN",
    "foreach",
    "glue",
    "gstat",
    "igraph",
    "intervals",
    "iterators",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pkgconfig",
    "proxy",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "sftime",
    "sp",
    "spacetime",
    "stars",
    "terra",
    "units",
    "vctrs",
    "wk",
    "xts",
    "zoo"
  ],
  "_score": 5.961848059018324,
  "_indexed": true,
  "_nocasepkg": "leastcostpath",
  "_universes": [
    "josephlewis"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.13",
      "date": "2026-10-10T17:54:27.000Z",
      "distro": "resolute",
      "commit": "2a4d51296a12d7e8525b2fc82d507b5e8693f2fb",
      "fileid": "https://r2.ropensci.org/eb27852b76f20cef75d54199a96e57d5ac6f5858dabdc4220057a72e016a9210",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/josephlewis/actions/runs/38073300348"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.13",
      "date": "2026-10-10T17:54:29.000Z",
      "distro": "resolute",
      "commit": "2a4d51296a12d7e8525b2fc82d507b5e8693f2fb",
      "fileid": "https://r2.ropensci.org/7e83622e698a2a19cb913da5681f8282fdb4247095be085e6b8ebb64be03ad90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/josephlewis/actions/runs/38073300348"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.13",
      "date": "2026-10-10T18:45:19.000Z",
      "commit": "2a4d51296a12d7e8525b2fc82d507b5e8693f2fb",
      "fileid": "https://r2.ropensci.org/fed82d7abbfd88a6a626515d861a6c0169208919e83059cd9dc3c413219cf73e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/josephlewis/actions/runs/38073300348"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.13",
      "date": "2026-10-10T18:45:07.000Z",
      "commit": "2a4d51296a12d7e8525b2fc82d507b5e8693f2fb",
      "fileid": "https://r2.ropensci.org/dbd41a288aa7c5e877074f348a4cfaba5b33d6009fdf39bd82f85ab3438254b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/josephlewis/actions/runs/38073300348"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.13",
      "date": "2026-10-10T17:54:39.000Z",
      "commit": "2a4d51296a12d7e8525b2fc82d507b5e8693f2fb",
      "fileid": "https://r2.ropensci.org/b34c0bb356a49160b42bd3b19c9db7f6e22fd0761988bb9f41441f6d8cb64bfa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/josephlewis/actions/runs/38073300348"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.13",
      "date": "2026-10-10T17:53:36.000Z",
      "commit": "2a4d51296a12d7e8525b2fc82d507b5e8693f2fb",
      "fileid": "https://r2.ropensci.org/2d9f5daa27b25b6cc1ba922552877b4877c10eb1a8dae1d9f105e7b3d08df5e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/josephlewis/actions/runs/38073300348"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.13",
      "date": "2026-10-10T17:53:37.000Z",
      "commit": "2a4d51296a12d7e8525b2fc82d507b5e8693f2fb",
      "fileid": "https://r2.ropensci.org/4f34c8ba135f774bde0acc1d56721396871b53c8bc81b43e782bb345522d83bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/josephlewis/actions/runs/38073300348"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.13",
      "date": "2026-10-10T17:53:32.000Z",
      "commit": "2a4d51296a12d7e8525b2fc82d507b5e8693f2fb",
      "fileid": "https://r2.ropensci.org/f1fbd329783d3586475b59b0a9d89027479d81126df17ed8e841318aed36d54a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/josephlewis/actions/runs/38073300348"
    }
  ]
}