Wraps an hr_tt_ud_tbl before saving it with base::saveRDS(). This avoids
writing live terra::SpatRaster objects to disk. The object returned by
base::readRDS() has a wrapped ud column. Functions that operate on an
hr_tt_ud_tbl unwrap this column automatically; use hr_tt_ud_unwrap() to
restore it explicitly for repeated analyses.
Arguments
- x
An
hr_tt_ud_tblwith audlist-column.- file
A connection or character string naming the RDS file.
- compress
A logical or character value passed to
base::saveRDS().- version
The RDS serialization format version passed to
base::saveRDS().- ...
Additional arguments passed to
base::saveRDS().