Skip to content

Tutuchan/shinyrunmodule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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():

  • 01-simple: shinyrunmodule::run_example("simple")
  • 02-shinydashboard: shinyrunmodule::run_example("shinydashboard")
  • 03-params:
    • shinyrunmodule::run_example("params")
    • shinyrunmodule::run_example("params", label = "Pick another CSV file")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages