shinySlabApp | R Documentation |
This function modifies ui and server objects to run using Soccerlab authentication.
shinySlabApp(
ui,
server,
config_file = NULL,
roles = NULL,
verboseFlag = getOption("slab_verbose"),
...
)
ui |
an ordinary UI object to create shiny apps. |
server |
an ordinary server object to create shiny apps. |
config_file |
path to JSON configuration file. |
roles |
atomic vector (character) of allowed roles, default NULL (= allow all). |
verboseFlag |
TRUE/FALSE will show all debug information (prints) AND verbose UI. |
... |
Other arguments as passed on to [shiny::shinyApp()]. |
You can also use a different configuration file by setting the 'slab_config_file' option with: 'options(slab_config_file = "path/to/your_file.json")'.
In order to develop without using SoccerLab authentication, one can run options(slab_disable = TRUE) to disable soccerlab temporarily.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.