Creates an example shiny application file which can be used as a template to create shiny apps with different configurations for deployment on a shiny server.

make_shiny_app(app = "test_viz", path = "~")

Arguments

app

Name of app: test_viz or orgviz. Defaults to test_viz.

path

Location where the file should be created. Defaults to the user's home directory

Value

creates an example shiny app file

Examples

# NOT RUN {
# create the example shiny app
make_shiny_app(app='test_viz')

# then edit and copy to the correct location
mv ~/example_shiny_app.R ~/ShinyApps/my_app/app.R
# }