This function adds the favicon from ico
to your shiny app.
use_favicon(path, pkg = get_golem_wd(), method = "curl")
remove_favicon(path = "inst/app/www/favicon.ico")
favicon(
ico = "favicon",
rel = "shortcut icon",
resources_path = "www",
ext = "ico"
)
Path to your favicon file (.ico or .png)
Path to the root of the package. Default is get_golem_wd()
.
Method to be used for downloading files, 'curl' is default see utils::download.file()
.
path to favicon file
rel
prefix of the resource path of the app
the extension of the favicon
Used for side-effects.
An HTML tag.
if (interactive()) {
use_favicon()
use_favicon(path = "path/to/your/favicon.ico")
}