Usage
# S4 method for SpatRaster
saveRDS(object, file="", ascii = FALSE, version = NULL, compress=TRUE, refhook = NULL)# S4 method for SpatVector
saveRDS(object, file="", ascii = FALSE, version = NULL, compress=TRUE, refhook = NULL)
# S4 method for SpatRaster
serialize(object, connection, ascii = FALSE, xdr = TRUE, version = NULL, refhook = NULL)
# S4 method for SpatVector
serialize(object, connection, ascii = FALSE, xdr = TRUE, version = NULL, refhook = NULL)