Package: roads
Title: Road Network Projection
Version: 1.2.1
Authors@R: 
    c(person(given = "Sarah",
           family = "Endicott", 
           role = c("aut"), 
           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", "cre"),
           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-01-16
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
RoxygenNote: 7.3.3
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
NeedsCompilation: no
Packaged: 2026-01-16 15:08:02 UTC; EndicottS
Author: Sarah Endicott [aut] (ORCID: <https://orcid.org/0000-0001-9644-5343>),
  Kyle Lochhead [aut],
  Josie Hughes [aut, cre],
  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: Josie Hughes <josie.hughes@ec.gc.ca>
Repository: CRAN
Date/Publication: 2026-01-16 17:00:10 UTC
Built: R 4.6.0; ; 2026-04-06 17:30:44 UTC; unix
