Skip to content

Commit

Permalink
bug CI fix police marianne 2e essai changement url utilisation de `sy…
Browse files Browse the repository at this point in the history
…stem.file("resources/fonts/marianne/truetype/Marianne-Light.ttf", package = "gouvdown.fonts")`
  • Loading branch information
jengelaere committed Aug 26, 2024
1 parent 0888f46 commit bbb6a02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 12-creer-des-cartes-pour-le-web.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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)) +
Expand Down

0 comments on commit bbb6a02

Please sign in to comment.