{
  "_id": "6a1f1f61b401979e73420139",
  "Package": "roads",
  "Title": "Road Network Projection",
  "Version": "1.2.1",
  "Authors@R": "c(person(given = \"Sarah\",\nfamily = \"Endicott\",\nrole = c(\"aut\"),\nemail = \"sarah.endicott@ec.gc.ca\",\ncomment = c(ORCID = \"0000-0001-9644-5343\")),\nperson(given = \"Kyle\",\nfamily = \"Lochhead\",\nrole = c(\"aut\"),\nemail = \"Kyle.Lochhead@gov.bc.ca\"),\nperson(given = \"Josie\",\nfamily = \"Hughes\",\nrole = c(\"aut\", \"cre\"),\nemail = \"josie.hughes@ec.gc.ca\"),\nperson(given = \"Patrick\",\nfamily = \"Kirby\",\nrole = c(\"aut\")),\nperson(given=\"Her Majesty the Queen in Right of Canada as represented by the Minister of the Environment\",\nrole = c(\"cph\"),\ncomment = \"Copyright holder for included functions buildSimList, getLandingsFromTarget, pathsToLines, plotRoads, projectRoads, rasterizeLine, rasterToLineSegments\"),\nperson(given = \"Province of British Columbia\", role = c(\"cph\"),\ncomment = \"Copyright holder for included functions getGraph, lcpList, mstList, shortestPaths, getClosestRoad, buildSnapRoads\"))",
  "Date": "2026-01-16",
  "URL": "https://github.com/LandSciTech/roads,\nhttps://landscitech.github.io/roads/",
  "Description": "Iterative least cost path and minimum spanning tree\nmethods for projecting forest road networks. The methods\nconnect a set of target points to an existing road network\nusing 'igraph' <https://igraph.org> to identify least cost\nroutes. The cost of constructing a road segment between\nadjacent pixels is determined by a user supplied weight raster\nand a weight function; options include the average of adjacent\nweight raster values, and a function of the elevation\ndifferences between adjacent cells that penalizes steep grades.\nThese road network projection methods are intended for\nintegration into R workflows and modelling frameworks used for\nforecasting forest change, and can be applied over multiple\ntime-steps without rebuilding a graph at each time-step.",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Collate": "'CLUSexample.R' 'buildSimList.R' 'buildSnapRoads.R'\n'demoScen.R' 'getClosestRoad.R' 'getDistFromSource.R'\n'getGraph.R' 'weightFunctions.R' 'getLandingsFromTarget.R'\n'lcpList.R' 'mstList.R' 'pathsToLines.R' 'projectRoads.R'\n'rasterToLineSegments.R' 'shortestPaths.R' 'plotRoads.R'\n'rasterizeLine.R' 'prepExData.R' 'roads-package.R'\n'dem_example.R'",
  "BugReports": "https://github.com/LandSciTech/roads/issues",
  "Roxygen": "list(markdown = TRUE)",
  "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://landscitech.r-universe.dev",
  "Date/Publication": "2026-01-16 15:04:33 UTC",
  "RemoteUrl": "https://github.com/landscitech/roads",
  "RemoteRef": "HEAD",
  "RemoteSha": "7fb87c74b0a1a47827d6c35f86475bba86c0120f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 08:05:36 UTC",
    "User": "root"
  },
  "Author": "Sarah Endicott [aut] (ORCID: <https://orcid.org/0000-0001-9644-5343>),\nKyle Lochhead [aut],\nJosie Hughes [aut, cre],\nPatrick Kirby [aut],\nHer Majesty the Queen in Right of Canada as represented by the Minister\nof the Environment [cph] (Copyright holder for included functions\nbuildSimList, getLandingsFromTarget, pathsToLines, plotRoads,\nprojectRoads, rasterizeLine, rasterToLineSegments),\nProvince of British Columbia [cph] (Copyright holder for included\nfunctions getGraph, lcpList, mstList, shortestPaths,\ngetClosestRoad, buildSnapRoads)",
  "Maintainer": "Josie Hughes <josie.hughes@ec.gc.ca>",
  "MD5sum": "cde859fcebb4ca4ec24c269e3a717476",
  "_user": "landscitech",
  "_type": "src",
  "_file": "roads_1.2.1.tar.gz",
  "_fileid": "2916370b41c7881f5b1090498d06e182ea8d8c29f969a55ea16a42bb8c662613",
  "_filesize": 3264236,
  "_sha256": "2916370b41c7881f5b1090498d06e182ea8d8c29f969a55ea16a42bb8c662613",
  "_created": "2026-05-16T08:05:36.000Z",
  "_published": "2026-06-02T18:22:25.352Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79142057498,
      "time": 263,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031845569"
    },
    {
      "job": 79142057552,
      "time": 252,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031844267"
    },
    {
      "job": 79142057248,
      "time": 279,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031865160"
    },
    {
      "job": 79142057959,
      "time": 193,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031862239"
    },
    {
      "job": 79142056525,
      "time": 268,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031819146"
    },
    {
      "job": 79142056460,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366319739"
    },
    {
      "job": 79142057732,
      "time": 220,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031841238"
    },
    {
      "job": 79142057705,
      "time": 225,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031841684"
    },
    {
      "job": 79142057488,
      "time": 216,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031840698"
    }
  ],
  "_buildurl": "https://github.com/r-universe/landscitech/actions/runs/25956812603",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/landscitech/roads",
  "_commit": {
    "id": "7fb87c74b0a1a47827d6c35f86475bba86c0120f",
    "author": "Sarah Endicott <sarah.endicott@ec.gc.ca>",
    "committer": "Sarah Endicott <sarah.endicott@ec.gc.ca>",
    "message": "see prev\n",
    "time": 1768575873
  },
  "_maintainer": {
    "name": "Josie Hughes",
    "email": "josie.hughes@ec.gc.ca"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "version": ">= 2.0.3",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "units",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "viridis",
      "role": "Suggests"
    },
    {
      "package": "bench",
      "role": "Suggests"
    },
    {
      "package": "gdistance",
      "role": "Suggests"
    }
  ],
  "_owner": "landscitech",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "see24",
      "count": 308,
      "uuid": 39161074
    },
    {
      "user": "josie-hughes",
      "count": 75,
      "uuid": 20462298
    },
    {
      "user": "p-kirby",
      "count": 62,
      "uuid": 23060486
    },
    {
      "user": "davisvaughan",
      "count": 1,
      "uuid": 19150088
    }
  ],
  "_userbio": {
    "uuid": 41919529,
    "type": "organization",
    "name": "Landscape Science & Technology Division, Environment & Climate Change Canada"
  },
  "_downloads": {
    "count": 536,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/roads"
  },
  "_devurl": "https://github.com/landscitech/roads",
  "_pkgdown": "https://landscitech.github.io/roads/",
  "_searchresults": 29,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/roads.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/landscitech/roads",
  "_realowner": "landscitech",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2022-06-22"
    },
    {
      "version": "1.1.0",
      "date": "2023-02-02"
    },
    {
      "version": "1.1.1",
      "date": "2023-06-24"
    },
    {
      "version": "1.2.0",
      "date": "2024-06-27"
    },
    {
      "version": "1.2.1",
      "date": "2026-01-16"
    }
  ],
  "_exports": [
    "getDistFromSource",
    "getLandingsFromTarget",
    "gradePenaltyFn",
    "plotRoads",
    "prepExData",
    "projectRoads",
    "rasterizeLine",
    "rasterToLineSegments",
    "simpleCostFn"
  ],
  "_datasets": [
    {
      "name": "CLUSexample",
      "title": "Data from the CLUS example",
      "object": "CLUSexample",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "dem_example",
      "title": "Grade penalty example data",
      "object": "dem_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "demoScen",
      "title": "Demonstration set of 10 input scenarios",
      "object": "demoScen",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "CLUSexample",
      "title": "Data from the CLUS example",
      "topics": [
        "CLUSexample"
      ]
    },
    {
      "page": "dem_example",
      "title": "Grade penalty example data",
      "topics": [
        "dem_example"
      ]
    },
    {
      "page": "demoScen",
      "title": "Demonstration set of 10 input scenarios",
      "topics": [
        "demoScen"
      ]
    },
    {
      "page": "getLandingsFromTarget",
      "title": "Get landing target points within harvest blocks",
      "topics": [
        "getLandingsFromTarget"
      ]
    },
    {
      "page": "gradePenaltyFn",
      "title": "Grade penalty edge weight function",
      "topics": [
        "gradePenaltyFn"
      ]
    },
    {
      "page": "plotRoads",
      "title": "Plot projected roads",
      "topics": [
        "plotRoads"
      ]
    },
    {
      "page": "prepExData",
      "title": "Prepare example data",
      "topics": [
        "prepExData"
      ]
    },
    {
      "page": "projectRoads",
      "title": "Project road network",
      "topics": [
        "projectRoads",
        "projectRoads,ANY,ANY,ANY,ANY,ANY,ANY,ANY,ANY,list-method",
        "projectRoads,ANY,ANY,ANY,ANY,ANY,ANY,ANY,ANY,missing-method"
      ]
    },
    {
      "page": "rasterToLineSegments",
      "title": "Convert raster to lines",
      "topics": [
        "rasterToLineSegments"
      ]
    },
    {
      "page": "simpleCostFn",
      "title": "Simple cost edge weight function",
      "topics": [
        "simpleCostFn"
      ]
    }
  ],
  "_pkglogo": "https://github.com/landscitech/roads/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/landscitech/roads/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "cpp11",
    "data.table",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "glue",
    "igraph",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "pillar",
    "pkgconfig",
    "proxy",
    "R6",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "terra",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "ReconstructRoadHistory.Rmd",
      "filename": "ReconstructRoadHistory.html",
      "title": "Reconstruct road development history",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-10-31 13:27:04",
      "modified": "2024-03-26 18:18:54",
      "commits": 5
    },
    {
      "source": "roads-vignette.Rmd",
      "filename": "roads-vignette.html",
      "title": "roads Package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Setup",
        "Resource development scenario",
        "1. Weights Raster and Weight Function",
        "2. Existing road network layer",
        "3. Landings layer(s)",
        "Output format",
        "Simulation of new roads development",
        "Simulation methods",
        "1. Snapping",
        "2. Least Cost Paths (LCP)",
        "3. Iterative Least Cost Paths (ILCP)",
        "4. Minimum Spanning Tree (MST) with Least Cost Paths (LCP)",
        "One-time versus multi-temporal simulation",
        "One-time simulation",
        "Multi-temporal simulation",
        "Multiple landings per harvest block",
        "Note"
      ],
      "created": "2021-11-09 16:57:31",
      "modified": "2026-01-16 14:19:41",
      "commits": 19
    },
    {
      "source": "grade-penalty.Rmd",
      "filename": "grade-penalty.html",
      "title": "Using the grade penalty function",
      "engine": "knitr::rmarkdown",
      "headings": [
        "References"
      ],
      "created": "2024-05-16 20:00:17",
      "modified": "2024-06-26 15:26:37",
      "commits": 6
    }
  ],
  "_score": 6.1156105116743,
  "_indexed": true,
  "_nocasepkg": "roads",
  "_universes": [
    "landscitech"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-16T08:08:21.000Z",
      "distro": "noble",
      "commit": "7fb87c74b0a1a47827d6c35f86475bba86c0120f",
      "fileid": "57fa9d2e3808ef990ade3fe8d158737c531f9fa8396df22a2aec0d06bb54e77b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/landscitech/actions/runs/25956812603"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-05-16T08:08:22.000Z",
      "distro": "noble",
      "commit": "7fb87c74b0a1a47827d6c35f86475bba86c0120f",
      "fileid": "a9639001a0f8d0fe2c9a0199ed67ce300197edc91ac06bf93135bb7df8234a7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/landscitech/actions/runs/25956812603"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-05-16T08:12:01.000Z",
      "commit": "7fb87c74b0a1a47827d6c35f86475bba86c0120f",
      "fileid": "25cb8a3f9616b5368604c69599f388cb42a2ef5eb354731f20eeb3202419c3a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/landscitech/actions/runs/25956812603"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-05-16T08:12:01.000Z",
      "commit": "7fb87c74b0a1a47827d6c35f86475bba86c0120f",
      "fileid": "ed6f17799ee236b0321f43c8f9d01bd4832c5dee70d399c5921665d5c992ec29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/landscitech/actions/runs/25956812603"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-05-16T08:07:31.000Z",
      "commit": "7fb87c74b0a1a47827d6c35f86475bba86c0120f",
      "fileid": "e8f35dbb1b0ccbe29534e9b859c85c4f525b6c884ac7eb4662767a3aaf96d109",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/landscitech/actions/runs/25956812603"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-05-16T08:07:19.000Z",
      "commit": "7fb87c74b0a1a47827d6c35f86475bba86c0120f",
      "fileid": "b68adbd75db213b2ad50bafe891755a5af3f081324e9cf12bfa479ef1872e2c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/landscitech/actions/runs/25956812603"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-05-16T08:07:26.000Z",
      "commit": "7fb87c74b0a1a47827d6c35f86475bba86c0120f",
      "fileid": "ff75285119e0fc115fb467facf1945ff64e9d91c9541d5d7cb02511e8d61f965",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/landscitech/actions/runs/25956812603"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-06-02T18:21:57.000Z",
      "commit": "7fb87c74b0a1a47827d6c35f86475bba86c0120f",
      "fileid": "bce619aa564e02cadb90a217b846247aee418d831ba0d938c745b7697ed3d7e3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/landscitech/actions/runs/25956812603"
    }
  ]
}