This PR adds support for terra's SpatRaster objects by coercing them to Raster objects. The output then is coerced from a Raster object to a SpatRaster object. Only the functions aoa and calibrate_aoa are affected. A small vignette to showcase the terra support was additionally included.
This PR adds support for terra's SpatRaster objects by coercing them to Raster objects. The output then is coerced from a Raster object to a SpatRaster object. Only the functions
aoa
andcalibrate_aoa
are affected. A small vignette to showcase the terra support was additionally included.