HannaMeyer / CAST

Developer Version of the R package CAST: Caret Applications for Spatio-Temporal models
https://hannameyer.github.io/CAST/
108 stars 30 forks source link

Support for terra's SpatRaster objects #15

Closed goergen95 closed 3 years ago

goergen95 commented 3 years ago

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.