evaluate_rmd: Evaluate a .Rmd file (after converting with rmd_to_r)

Description Usage Arguments Author(s) Examples

Description

Evaluate a .Rmd file in a given environment and return the results, including text with inline code (e.g. `r 1+1` becomes 2).

Usage

1
evaluate_rmd(rmd, envir = parent.frame())

Arguments

rmd

Path to a rmarkdown file.

envir

The environment in which to evaluate the rmarkdown file.

Author(s)

Kristian D. Olsen

Examples

1
evaluate_rmd("test.Rmd", envir = parent.frame())

itsdalmo/reporttool documentation built on May 18, 2019, 7:11 a.m.