Check if a font family exists in system fonts.
font_family_exists(font_family = "sans")A logical value
Other functions for font management:
match_family(),
validated_fonts()
font_family_exists("sans")
#> [1] FALSE
font_family_exists("Arial")
#> [1] FALSE
font_family_exists("Courier")
#> [1] FALSE