Description
Parse Parameters Inside a Docker Container.
Description
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>.
README.md
json2aRgs
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")