match_family() returns the best font family match.
match_family(font = "sans", bold = TRUE, italic = TRUE, debug = NULL)Other functions for font management:
font_family_exists(),
validated_fonts()
match_family("sans")
#> [1] "DejaVu Sans"
match_family("serif")
#> [1] "DejaVu Serif"