font_exists: Check if Font is Installed

View source: R/other_functions.R

font_existsR Documentation

Check if Font is Installed

Description

This function checks if a font is installed in your machine. To list all available fonts, set font = NULL.

Usage

font_exists(font = "Arial Narrow", quiet = FALSE)

Arguments

font

Character. Which font to check.

quiet

Boolean. Keep quiet? If not, show message

Value

Boolean result of the existing fonts check.

See Also

Other Tools: autoline(), bind_files(), bring_api(), chr2num(), db_download(), db_upload(), export_plot(), export_results(), files_functions(), formatColoured(), formatHTML(), get_credentials(), glued(), grepm(), h2o_selectmodel(), haveInternet(), image_metadata(), importxlsx(), ip_data(), json2vector(), list_cats(), listfiles(), mail_send(), markdown2df(), move_files(), msplit(), myip(), quiet(), read.file(), statusbar(), tic(), try_require(), updateLares(), warnifnot(), what_size()

Examples

font_exists(font = "Arial")
font_exists(font = "arial")
font_exists(font = "")
font_exists(font = NULL)

lares documentation built on Nov. 5, 2023, 1:09 a.m.