Commit 30e63c29 authored by Grelot Frederic's avatar Grelot Frederic :swimmer_tone5:
Browse files

geau version 1.0.11.2

0 errors :heavy_check_mark: | 0 warnings :heavy_check_mark: | 0 notes :heavy_check_mark:

- map_so_ii
	- appel à terra::plot encapsulé dans un try pour éviter le message suivant
		- Erreur dans x$.self$finalize() : tentative d'appliquer un objet qui n'est pas une fonction
		- apparemment selon https://github.com/sneumann/xcms/issues/288 ça serait un truc interne à R
Showing with 2 additions and 2 deletions
+2 -2
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",
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment