Coerce a plain list of SpatRasters to PackedSpatRaster_list
Source: R/PackedSpatRaster_list.R
as_PackedSpatRaster_list.RdThis is a convenience function that allows users to easily convert a plain
list of SpatRasters to a PackedSpatRaster_list. It will check that all
elements of the list are SpatRasters and then wrap them as
PackedSpatRasters
before creating the PackedSpatRaster_list. If the input is already a
PackedSpatRaster_list, it will simply return it unchanged.