Check if a font family exists in system fonts.
font_family_exists(font_family = "sans")
font family name (case sensitive)
A logical value
# NOT RUN { font_family_exists("sans") font_family_exists("Arial") font_family_exists("Courier") # }
Run the code above in your browser using DataCamp Workspace