Launch a demo Shiny app
run_demo.RdLaunches one of the example Shiny applications bundled with shooters in
inst/apps/. Each app demonstrates a different structural pattern for use
with ns_tree():
Usage
run_demo(which = c("nested_modules", "single_module", "no_modules", "minimal"))Details
"minimal"— bareui/serverobjects passed directly toshinyApp(), no wrapper functions and no modules."no_modules"— helper functions wrappinguiandserver, no Shiny modules."single_module"— one module pair (NS+moduleServer)."nested_modules"— modules that call other modules, spread across multiple files.