fontawesome_install tests to see if FontAwesome is imported and registered. If FontAwesome, isn't imported and registered, then fontawesome_install imports and registers FontAwesome with library(extrafont).

fontawesome_install()

Details

Note: FontAwesome must be installed on your computer for fontawesome_install to work.

Test to see if FontAwesome is imported and registered with fontawesome_test().