From Kyle Lochhead and Tyler Muhly's CLUS road simulation example. SpatRaster
files created with the terra package must be saved with terra::wrap() and
need to be unwrapped before they are used. prepExData() does this.
Usage
data(CLUSexample)
Arguments
Format
A named list with components:
cost: a PackedSpatRaster representing road building cost.
landings: an sf dataframe of points representing landing locations.
roads: a PackedSpatRaster representing existing roads.