Insert icon from OCHA humanitarian icons v2.0.0 in an Rmd document

hi_icon_list

humicon_rmd(name = "Livestock", size = 1, fixed_width = FALSE,
  animate = "still", rotate = 0, flip = "none", border = FALSE,
  pull = NULL, color = NULL, colour = color, other = NULL)

Arguments

name

A string indicating the icon name.

size

Size of the icon relative to font size. Options are 1, lg (33 increase), 2, 3, 4, or 5.

fixed_width

If TRUE, the icon is set to a fixed width

animate

'still', 'spin', or 'pulse'.

rotate

Rotate degree: 0, 90, 180, or 270.

flip

'none', 'horizontal', 'vertical'.

border

If TRUE, draws a border around the icon.

pull

Pulls icon to either 'left' or 'right' and wraps proceeding text around it.

color

Hex code for a colour to be given to the icon

colour

Hex code for a colour to be given to the icon

other

Character vector of other parameters directly added to the icon classes

Format

An object of class character of length 295.

Details

humicon_rmd

References

Humantarian icons