lulc_raw = rast(x = "utilisation_territoire_2020/utilisation_territoire_2020.tif")
gg_map_gbif = ggplot() +
geom_spatraster(data = lulc_raw)
<SpatRaster> resampled to 500621 cells.
gg_map_gbif
Error in `ggplot2::scale_fill_manual()`:
! Continuous values supplied to discrete scale.
ℹ Example values: NA, NA, NA, NA, and NA
Run `rlang::last_trace()` to see where the error occurred.