substitute_variables: Substitute variables

Description Usage Arguments Value

View source: R/substitute_variables.R

Description

Substitute variables in a R markdown template with the variables provided. Basically renders the R markdown document using knitr::knit and writes it back to a temporary file as markdown.

Usage

1
substitute_variables(template, variables)

Arguments

template

Character. The name of the template file. No default.

variables

List. The variables. No default.

Value

A character vector formatted as markdown.


martingerdin/reporter documentation built on Aug. 28, 2020, 12:05 a.m.