match_family() returns the best font family match. It is deprecated and
will be removed in a future release, use systemfonts::match_fonts()
instead.
Examples
suppressWarnings(match_family("sans"))
#> [1] "DejaVu Sans"
suppressWarnings(match_family("serif"))
#> [1] "DejaVu Serif"