Automatically sets up Font Awesome fonts, downloading them if necessary.
Sets up both Brands and Free Solid font families.
Usage
fa_setup(auto_download = TRUE, version = "7.0.1", quiet = FALSE)
Arguments
- auto_download
(logical(1)
) Whether to automatically download fonts if not found. (default: TRUE)
- version
(character(1)
) Font Awesome version to use in semantic versioning format. Must match pattern. (default: "7.0.1")
- quiet
(logical(1)
) Whether to suppress messages during setup. (default: FALSE)
Value
(logical(1)
) TRUE if fonts were successfully loaded, FALSE otherwise.
Examples
if (FALSE) { # \dontrun{
# Setup fonts with auto-download
fa_setup()
# Setup without auto-download
fa_setup(auto_download = FALSE)
} # }