Humanitarian icons v2 are made by OCHA visual unit

import_humanitarian_icons()

Details

There is an option ochathemes.loadfonts which -- if set to TRUE -- will call extrafont::loadfonts() to register non-core fonts with R PDF & PostScript devices. If you are running under Windows, the package calls the same function to register non-core fonts with the Windows graphics device.

Note

This will take care of ensuring PDF/PostScript usage. The location of the font directory is displayed after the base import is complete. It is highly recommended that you install them on your system the same way you would any other font you wish to use in other programs.

Examples

# NOT RUN {
import_humanitarian_icons()

library(ggplot2)
library(humicons)

ggplot(mtcars, aes(mpg, wt)) +
    geom_text(family = font_hum, label = get_humicon("car"), size = 5)
# }