checkConfigFile {clinDataReview}R Documentation

Check a configuration file (in _YAML_ format) based on a requirement file in JSON Schema format.

Description

Check a configuration file (in _YAML_ format) based on a requirement file in JSON Schema format.

Usage

checkConfigFile(configFile, configSpecFile, configDir = "./config")

Arguments

configFile

path to the config file

configSpecFile

String with path to the file containing requirements in JSON Schema format.

configDir

String with directory with config files, by default a 'config' folder in inputDir.
It should contain a general 'config.yml' file and dedicated 'config-[X].yml' for each chapter. The order of each chapter is specified in the 'config' slot in the general general 'config.yml'.

Value

No returned value, an error message is printed in the console if the configuration file doesn't comply to the specified specifications.

Author(s)

Laure Cougnaud


[Package clinDataReview version 1.5.0 Index]