convertMdToHtml {clinDataReview}R Documentation

Convert the Md file for a specific chapter to html

Description

Convert the Md file for a specific chapter to html

Usage

convertMdToHtml(
  mdFile,
  configFile = NULL,
  indexPath = "index.Rmd",
  intermediateDir = "./interim",
  outputDir = "./report",
  setTitle = TRUE,
  verbose = TRUE,
  ...
)

Arguments

mdFile

String with path of the Markdown file

configFile

String with filename of the config file of interest in YAML format.

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.

outputDir

String with output directory, ('report' by default).

setTitle

Logical (TRUE by default), should the title be set to the document? If so, the pandoc metadata option: 'pagetitle' is set to: base file name of mdFile.

verbose

Logical, if TRUE (FALSE by default) progress messages are printed during the report execution.

...

Arguments passed to renderFile

Value

No returned value, the files in the intermediateDir are converted to HTML

Author(s)

Laure Cougnaud


[Package clinDataReview version 1.5.0 Index]