use_favicon | R Documentation |
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 |
Path to your favicon file (.ico or .png) |
pkg |
Path to the root of the package. Default is |
method |
Method to be used for downloading files, 'curl' is default see |
ico |
path to favicon file |
rel |
rel |
resources_path |
prefix of the resource path of the app |
ext |
the extension of the favicon |
Used for side-effects.
An HTML tag.
if (interactive()) {
use_favicon()
use_favicon(path = "path/to/your/favicon.ico")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.