fa_icon.RdCreate the correct Font Awesome class.
fa_icon(name, solid = TRUE, as_html = FALSE)
| name | Name of the Font Awesome icon |
|---|---|
| solid | Should the solid or the regular icon be used? |
| as_html | If |
fa_icon("github")#> [1] "fab fa-github"fa_icon("star")#> [1] "fas fa-star"fa_icon("star", FALSE)#> [1] "far fa-star"