Parse Parameters Inside a Docker Container

The function get_parameters() is intended to be used within a docker container to read keyword arguments from a .json file automagically. A tool.yaml file 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>.


json2aRgs

R-CMD-check codecov

Parse Parameters Inside a Docker Container (tool)

The function get_parameters() is intended to be used within a docker container with a certain file structure to read keyword arguments from the file /in/parameters.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.

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 with:

# install.packages("devtools")
devtools::install_github("VForWaTer/json2aRgs")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("json2aRgs")

0.3.0 by Alexander Dolich, 4 years ago


https://github.com/VForWaTer/json2aRgs


Report a bug at https://github.com/VForWaTer/json2aRgs/issues


Browse source code at https://github.com/cran/json2aRgs


Authors: Alexander Dolich [cre, aut] , Mirko Mälicke [aut]


Documentation:   PDF Manual  


GPL-3 license


Imports jsonlite, yaml, tools

Suggests testthat


See at CRAN