-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
52 lines (39 loc) · 1.57 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
output: github_document
---
# DarwinShinyModules
[![Lifecycle:experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![Build Status](https://github.com/darwin-eu/DarwinShinyModules/workflows/R-CMD-check/badge.svg)](https://github.com/darwin-eu/DarwinShinyModules/actions?query=workflow%3AR-CMD-check)
[![codecov.io](https://codecov.io/github/darwin-eu/DarwinShinyModules/coverage.svg?branch=main)](https://codecov.io/github/darwin-eu/DarwinShinyModules?branch=main)
`DarwinShinyModules` is an R package containing shiny modules. Each module is
represented as an `R6` object, which contains pre-specified UI elements, and
back-end code.
## Features
- Provides pre-specified modules of common shiny app components.
- Provides pre-specified modules for DARWIN EU© analytical pipelines (in progress).
- Ability to overwrite UI elements and the server back-end with bespoke code.
- Compatible with bespoke shiny application development.
- Seamlessly integrate existing `OhdsiShinyModules`.
- Extend the existing library with your own modules
## Installation
1. To install the latest stable version:
```{r install, eval=FALSE}
install.packages(remotes)
remotes::install_github('darwin-eu-dev/DarwinShinyModules')
```
## Usage
```{r app, message=FALSE}
library(DarwinShinyModules)
irisTable <- Table$new(iris)
carsTable <- Table$new(mtcars)
darwinApp(
list(
Tables = list(
Iris = irisTable,
MT_Cars = carsTable
)
)
)
```
## License
DarwinShinyModules is licensed under Apache License 2.0