Convert FontAwesome alias strings to their corresponding Unicode format.
All aliases
should be prepended with "fa".
Value
A named character vector of Unicode values corresponding to the provided aliases.
If an alias is not found, its value will be NA
.
Details
When using fontawesome outputs with geom_swim_marker, the following options
are available for the family
argument:
"FontAwesome-Brands"
"FontAwesome-Regular"
"FontAwesome-Solid"
Examples
fontawesome(c("fa-car", "fa-user"))
#> fa-car fa-user
#> "" ""