Description Usage Arguments Details Value See Also
Provides a general method for passing arguments to shiny apps allowing for dynamic customization.
1 2 3 4 5 6 7 8 | add_options(
opts,
dir,
theme = "flatly",
icon = NULL,
img = NULL,
git_user = NULL
)
|
opts |
A |
dir |
A |
theme |
A |
icon |
A |
img |
A |
git_user |
A |
Shiny apps are not functions. Thus, customization options cannot be
passed to a shiny app as simply as arguments are passed between functions. Further,
the manner in which objects are loaded prior to deploying an app differ if the app
will be published as a stand-alone or embedded within an rmarkdown docmuent.
Assigning objects as shiny::shinyOptions
ensures that these values are
passed to a shiny app and can be deployed.
A list of shiny options set with shinyOptions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.