Update file path metadata for file-backed objects (e.g., SpatRasters
).
Useful when moving saved objects between projects or machines.
remapFilenames(obj, tags, cachePath, ...)
(optional) object whose file path metadata will be remapped
cache tags data.table
object
character string specifying the path to the cache directory or NULL
Additional path arguments, passed to absoluteBase()
and modifyListPaths()