getMdFromConfig: Get path of the 'HTML' file corresponding to a specific...

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

getMdFromConfigR Documentation

Get path of the HTML file corresponding to a specific config file.

Description

The name of the Markdown file is based on:

  • for the general config.yml file: the basename of the specified indexPath

  • for other config file (each sub-report): the name of the config file, after removal of the 'config-' part.

Usage

getMdFromConfig(
  configFiles,
  indexPath = "index.Rmd",
  intermediateDir = "./interim"
)

Arguments

configFiles

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

indexPath

String with path to the index file, by default 'index.Rmd' in inputDir.

intermediateDir

String with intermediate directory ('interim' by default), where markdown files and rds file specifying Js libraries (with knit_meta) for each sub report are stored.

Value

String with path to the HTML file

Author(s)

Laure Cougnaud


clinDataReview documentation built on June 22, 2024, 10:03 a.m.