diff --git a/geau/DESCRIPTION b/geau/DESCRIPTION index 9f86f52ea6e1318139f32fdf49cb3374df7e756e..fc1965323f3ad22acc2eac33ac40a706668f4a9b 100644 --- a/geau/DESCRIPTION +++ b/geau/DESCRIPTION @@ -1,6 +1,6 @@ Package: geau Title: Utilities very useful to share within geau-inondation team -Version: 1.0.11.1 +Version: 1.0.11.2 Authors@R: c( person(given = "Frédéric", diff --git a/geau/R/map_so_ii.r b/geau/R/map_so_ii.r index 57cc0033d8cf6ed7496881b1ad1395f79007f737..6ed4265d6220233c0252bfa182fe7c805857f3ca 100644 --- a/geau/R/map_so_ii.r +++ b/geau/R/map_so_ii.r @@ -552,7 +552,7 @@ map_theme_osm = function() { so_ii_osm = terra::rast( system.file("extdata", "so_ii_osm.tif", package = "geau", mustWork = TRUE) ) - terra::plot(so_ii_osm, add = TRUE) + try(terra::plot(so_ii_osm, add = TRUE), silent = TRUE) graphics::mtext( text = "Fond de carte : \u00a9 Contributeurs OpenStreetMap", side = 1, line = -1, adj = 1, cex = .6, font = 3