coerce-methods function

Coerce stars object into a Raster raster or brick