points: An sf object with the points for x and y coordinates, usually obtained with shapefile_build(). Alternatively, an external shapefile imported with shapefile_input() containing the x and y coordinates can be used. The function will handle most used shapefile formats (eg., .shp, .rds) and convert the imported shapefile to an sf object.
method: One of "bilinear" (default), "loess" (local regression) or "idw" (Inverse Distance Weighting).
Returns
An SpatRaster object with the same extend and crs from mosaic