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.
checkTemplatesName(
configFiles,
configDir = file.path(inputDir, "config"),
inputDir = "."
)
Updated configFiles
Character vector with name or path of the config file(s).
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'.
String with input directory, working directory by default.
Laure Cougnaud