wrap: wrap (pack) a SpatRaster or SpatVector object
Description
Wrap a SpatRaster or SpatVector object to create a Packed* object that it can be saved as an R object to disk, or passed over a connection that serializes (e.g. using a computer cluster).