From bbb6a0213c7f4c39faa1c8d2acdce1f61c9749e5 Mon Sep 17 00:00:00 2001 From: "juliette.engelaere" Date: Mon, 26 Aug 2024 17:51:44 +0000 Subject: [PATCH] bug CI fix police marianne 2e essai changement url utilisation de `system.file("resources/fonts/marianne/truetype/Marianne-Light.ttf", package = "gouvdown.fonts")` --- 12-creer-des-cartes-pour-le-web.Rmd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/12-creer-des-cartes-pour-le-web.Rmd b/12-creer-des-cartes-pour-le-web.Rmd index cd8442d..5cbafcf 100644 --- a/12-creer-des-cartes-pour-le-web.Rmd +++ b/12-creer-des-cartes-pour-le-web.Rmd @@ -204,8 +204,7 @@ pop2015_epci_normands_geo <- fonds_carto_normands$epci %>% On reprend notre carte ggplot normande en ronds proportionnels : ```{r} -systemfonts::register_font(name = "Marianne light", "/usr/local/share/fonts/Marianne-Light.ttf") -# "https://github.com/spyrales/gouvdown.fonts/raw/master/inst/resources/fonts/marianne/truetype/Marianne-Light.ttf" +systemfonts::register_font(name = "Marianne light", system.file("resources/fonts/marianne/truetype/Marianne-Light.ttf", package = "gouvdown.fonts")) carte_ronds_prop_dyn <- ggplot(data = pop2015_epci_normands_geo) + geom_sf_interactive(aes(tooltip = Zone)) +