Description Usage Arguments Examples
Creates the boilerplate code for a Shiny app as specified in a YAML configuration file.
1 | scaffold_app(yaml_config_file, overwrite = FALSE)
|
yaml_config_file |
String pointing to the path of a YAML file |
1 2 3 4 5 6 7 8 9 | # export config file from package to disk
yaml_config_file <- system.file("config.yml", package = "shinyscaffold")
yaml_config <- readLines(yaml_config_file)
writeLines(yaml_config, con = "/tmp/config.yml")
# -> modify /tmp/config.yml as needed
# scaffold app
setwd("/tmp")
scaffold_app("/tmp/config.yml")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.