Skip to content

john-harrold/formods

Repository files navigation

formods

cranlogs Active Life-cycle: Experimental Codecov test coverage R-CMD-check

Shiny apps can often make use of the same key elements, formods provides modules for common tasks (data upload, wrangling data, figure generation and saving the app state). These modules can react and interact as well as generate code to create reproducible analyses. {formods} also defines a framework for creating reactive modules. The vignettes outline how to use these modules as well as how to create other modules within this framework.

Installation

You can install the development version from GitHub with:

# Installing devtools if it's not already installed
if(system.file(package="devtools") == ""){
  install.packages("devtools") 
}
devtools::install_github("john-harrold/onbrand", dependencies=TRUE)
devtools::install_github("john-harrold/formods", dependencies=TRUE)

Note that because formods depends on onbrand you will need to first install the development version of onbrand.

Getting started

library(formods)
run_formods()