Closed micha-silver closed 1 year ago
This is to fix a minor prob with get_sit_MODIS
when using the show_map
option. The terra
package adds a dependency for leaflet > 2.1.1. If that version of leaflet is not available, this fix skips plotting altogether.
The function fails to plot a map when !packageVersion("leaflet") >"2.1.1". This fix skips plotting in that case, and avoids the error.