paleolimbot / ggspatial

Enhancing spatial visualization in ggplot2
https://paleolimbot.github.io/ggspatial
368 stars 34 forks source link

Error in Example for layer_spatial() #118

Open c-brendel opened 11 months ago

c-brendel commented 11 months ago

The example for the layer_spatial() function produces an error when trying to plot raster layers. See CRAN check here: https://www.stats.ox.ac.uk/pub/bdr/donttest/ggspatial.out

Check results here: CRAN_check_layer_spatial.txt

This error can be avoided by adding the following code to the "load_longlake_data" function:

  raster_format = "terra"