Package: roads
Title: Road Network Projection
Version: 1.2.2
Authors@R: 
    c(person(given = "Sarah",
           family = "Endicott", 
           role = c("aut", "cre"), 
           email = "sarah.endicott@ec.gc.ca",
           comment = c(ORCID = "0000-0001-9644-5343")),
    person(given = "Kyle",
           family = "Lochhead",
           role = c("aut"),
           email = "Kyle.Lochhead@gov.bc.ca"),
    person(given = "Josie",
           family = "Hughes",
           role = c("aut"),
           email = "josie.hughes@ec.gc.ca"),
    person(given = "Patrick",
           family = "Kirby",
           role = c("aut")),
    person(given="Her Majesty the Queen in Right of Canada as represented by the Minister of the Environment",
           role = c("cph"),
           comment = "Copyright holder for included functions buildSimList, getLandingsFromTarget, pathsToLines, plotRoads, projectRoads, rasterizeLine, rasterToLineSegments"),
    person(given = "Province of British Columbia", role = c("cph"), 
           comment = "Copyright holder for included functions getGraph, lcpList, mstList, shortestPaths, getClosestRoad, buildSnapRoads"))    
Date: 2026-08-10
URL: https://github.com/LandSciTech/roads,
        https://landscitech.github.io/roads/
Description: Iterative least cost path and minimum spanning tree methods for projecting 
    forest road networks. The methods connect a set of target points to an existing 
    road network using 'igraph' <https://igraph.org> to identify least cost routes.
    The cost of constructing a road segment between adjacent pixels is determined
    by a user supplied weight raster and a weight function; options include the
    average of adjacent weight raster values, and a function of the elevation 
    differences between adjacent cells that penalizes steep grades. These road
    network projection methods are intended for integration into R workflows and 
    modelling frameworks used for forecasting forest change, and can be applied 
    over multiple time-steps without rebuilding a graph at each time-step.
License: Apache License (>= 2)
Encoding: UTF-8
LazyData: true
Imports: dplyr, igraph (>= 2.0.3), data.table, sf, units, rlang,
        methods, tidyselect, terra
Suggests: testthat (>= 2.1.0), knitr, rmarkdown, viridis, bench,
        gdistance
VignetteBuilder: knitr
Depends: R (>= 2.10)
Collate: 'CLUSexample.R' 'buildSimList.R' 'buildSnapRoads.R'
        'demoScen.R' 'getClosestRoad.R' 'getDistFromSource.R'
        'getGraph.R' 'weightFunctions.R' 'getLandingsFromTarget.R'
        'lcpList.R' 'mstList.R' 'pathsToLines.R' 'projectRoads.R'
        'rasterToLineSegments.R' 'shortestPaths.R' 'plotRoads.R'
        'rasterizeLine.R' 'prepExData.R' 'roads-package.R'
        'dem_example.R'
BugReports: https://github.com/LandSciTech/roads/issues
Config/roxygen2/version: 8.0.0
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2026-08-31 19:16:14 UTC; EndicottS
Author: Sarah Endicott [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-9644-5343>),
  Kyle Lochhead [aut],
  Josie Hughes [aut],
  Patrick Kirby [aut],
  Her Majesty the Queen in Right of Canada as represented by the Minister
    of the Environment [cph] (Copyright holder for included functions
    buildSimList, getLandingsFromTarget, pathsToLines, plotRoads,
    projectRoads, rasterizeLine, rasterToLineSegments),
  Province of British Columbia [cph] (Copyright holder for included
    functions getGraph, lcpList, mstList, shortestPaths,
    getClosestRoad, buildSnapRoads)
Maintainer: Sarah Endicott <sarah.endicott@ec.gc.ca>
Repository: CRAN
Date/Publication: 2026-08-31 22:00:15 UTC
Built: R 4.7.0; ; 2026-09-01 04:16:49 UTC; windows
