checkTemplatesName: Checks of config files template.

View source: R/reporting-render-general.R

checkTemplatesNameR Documentation

Checks of config files template.

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

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 March 7, 2023, 5:13 p.m.