I would like make a human infographic like this
I´m trying with the waffle function:
install.packages(c("waffle", "extrafont"))
library(waffle)
library(extrafont)
font_import()
# check that Font Awesome is imported
fonts()[grep("Awesome", fonts())]
# use this if things look odd in RStudio under Windows
loadfonts(device = "win")
# Chart 1
waffle(c(50, 30, 15, 5), rows = 5, title = "Your basic waffle chart")
# Chart 2
waffle(c(50, 30, 15, 5), rows = 5, use_glyph = "child", glyph_size = 6,
title = "Look I made an infographic using R!")
but it only works with the #Chart 1
for the #Chart 2 I receive the following error message:
Error: FontAwesome not found. Install via: https://github.com/FortAwesome/Font-Awesome/tree/master/fonts
The link doesn´t exist.
Thank you!