Learn R Programming

golem (version 0.1)

use_favicon: Add a favicon to your shinyapp

Description

This function adds the favicon from ico to your shiny app.

Usage

use_favicon(path, pkg = ".")

remove_favicon(path = "inst/app/www/favicon.ico")

favicon(ico = "www/favicon.ico", rel = "shortcut icon")

Arguments

path

Path to your favicon file (.ico or .png)

pkg

Path to the root of the package. Default is "."

ico

path to favicon file

rel

rel

Examples

Run this code
# NOT RUN {
if (interactive()){
  use_favicon()
  use_favicon(path='path/to/your/favicon.ico')
}
# }

Run the code above in your browser using DataLab