The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

formods

version cranlogs Active Lifecycle: Experimental R-CMD-check

Shiny apps can often make use of the same key elements, formods provides modules for common tasks (data upload, wragling data, figure genration and saving the app state). These modules can react and interact as well as generate code to create reproducable 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

From CRAN

You can install the released version of formods from CRAN with:

install.packages("formods")

Development version

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(shiny)
library(formods)
runApp(system.file(package="formods", "templates","FM_compact.R"))

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.