ReadRmdFrontMatter: ReadRmdFrontMatter

Description Usage Arguments Value Examples

View source: R/ReadRmdFrontMatter.R

Description

Reads YAML front matter from a Rmd file.

Usage

1
ReadRmdFrontMatter(filePath, section = NULL)

Arguments

filePath

Path to the source RMarkdown file. Required.

section

Name of section of the front matter to return. If not specified, then the whole specification is returned, otherwise only the specified section. Optional. Default = NULL.

Value

list object

Examples

1
2
3
4
## Not run: 
ReadRmdFrontMatter(filePath)

## End(Not run)

nextpagesoft/hivEstimatesAccuracyReloaded documentation built on March 14, 2020, 7:06 a.m.