replaceYamlFrontMatter: replace YAML frontmatter in Rmd file

Description Usage Arguments Details

View source: R/rmd_bib_files_utils.R

Description

Given a list l, replace the YAML frontmatter with the list l converted to YAML.

Usage

1

Arguments

rmdfile

character(1) rmd filename in which to replace yaml

l

list() that will be converted to new yaml to include

Details

One detail–the yaml standard for dumping to text is to use single quotes for everything, doubling them to escape. This function replaces all instances of (”) with (").


seandavi/BiocWorkshopPackageTest documentation built on Aug. 21, 2019, 8:58 p.m.