checkTemplatesName: Checks of config files template.

Description Usage Arguments Value Author(s)

View source: R/reporting-render_clinDataReviewReport.R

Description

Check if the templates specified in the input config files don't originate from multiple sources (e.g. custom and R package via the parameter templatePackage). If so, the corresponding config files are not considered.

Usage

1
2
3
4
5
checkTemplatesName(
  configFiles,
  configDir = file.path(inputDir, "config"),
  inputDir = "."
)

Arguments

configFiles

Character vector with name or path of the config file(s).

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'.

inputDir

String with input directory, working directory by default.

Value

Updated configFiles

Author(s)

Laure Cougnaud


clinDataReview documentation built on July 14, 2021, 5:08 p.m.