Creates a basic app to test in wd/app_dir.

example_app(app_dir = "app", wd = getwd(), type = "Shiny")

Arguments

app_dir

Shiny app's directory. Defaults to "app".

wd

Path to working directory. Defaults to getwd().

type

"Shiny" or "flexdashboard". Defaults to "Shiny".

Value

Shiny app example.

Examples

# NOT RUN {
# Shiny example
example_app()
create_app("myapp", "app")

# Flexdashboard example
example_app(type = "flexdashboard")
create_app("myapp", "app")
# }