README.md

shinyrunmodule

The goal of shinyrunmodule is to allow quick iteration when developing Shiny modules.

Instead of doing

shiny::shinyApp(
    ui = simpleModuleUI("test"), 
    server = function(input, output, session) callModule(simpleModule, "test")
)

now do

shinyrunmodule::run_module("simpleModule")

For now, shinyrunmodule requires the module (ui and server) to be in the global environment.

Installation

shinyrunmodule is only available on Github for now so use devtools / remotes :

devtools::install_github("tutuchan/shinyrunmodule")

or

remotes::install_github("tutuchan/shinyrunmodule")

Examples

There are several examples in the inst/examples directory, use run_example():



Tutuchan/shinyrunmodule documentation built on May 7, 2019, 3:12 p.m.