https://github.com/john-harrold/formods
Shiny Modules for General Tasks
https://github.com/john-harrold/formods
Last synced: 4 months ago
JSON representation
Shiny Modules for General Tasks
- Host: GitHub
- URL: https://github.com/john-harrold/formods
- Owner: john-harrold
- License: other
- Created: 2022-04-30T14:18:15.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-30T16:35:32.000Z (5 months ago)
- Last Synced: 2024-12-01T02:51:26.963Z (4 months ago)
- Language: R
- Homepage: https://formods.ubiquity.tools
- Size: 26.8 MB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - john-harrold/formods - Shiny Modules for General Tasks (R)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# formods


[](https://lifecycle.r-lib.org/articles/stages.html)
[](https://app.codecov.io/gh/john-harrold/formods?branch=master)
[](https://github.com/john-harrold/formods/actions/workflows/R-CMD-check.yaml)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](https://github.com/john-harrold/formods) with:
``` r
# 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
``` r
library(formods)
run_formods()
```