-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
45 lines (35 loc) · 1.56 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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# json2aRgs
<!-- badges: start -->
[![R-CMD-check](https://github.com/VForWaTer/json2aRgs/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/VForWaTer/json2aRgs/actions/workflows/R-CMD-check.yaml)
[![codecov](https://codecov.io/github/VForWaTer/json2aRgs/branch/main/graph/badge.svg?token=aHZ4sfqKGj)](https://codecov.io/github/VForWaTer/json2aRgs)
[![CRAN status](https://www.r-pkg.org/badges/version/json2aRgs)](https://CRAN.R-project.org/package=json2aRgs)
<!-- badges: end -->
## Parse Parameters Inside a Docker Container (tool)
The functions `get_parameters()` and `get_data()` are intended to be used
within a docker container with a certain file structure to read keyword
arguments from the file `/in/input.json` automagically. The file
`/src/tool.yaml` contains specifications on these keyword arguments, which
are then passed as input to containerized R tools in the [tool-runner
framework](https://github.com/hydrocode-de/tool-runner).
A template for a containerized R tool, which can be used as a basis for
developing new tools, is available at the following URL:
<https://github.com/VForWaTer/tool_template_r>.
## Installation
You can install the development version of json2aRgs from
[GitHub](https://github.com/) with:
``` r
install.packages("remotes")
remotes::install_github("VForWaTer/json2aRgs")
```