rrndr: Shortcut for rmarkdown::render that preserves intermediates

Description Usage Arguments Value

View source: R/knitr_functions.R

Description

Shortcut for rmarkdown::render that preserves intermediates

Usage

1
rrndr(..., envir = parent.frame(), clean = FALSE)

Arguments

...

passed to rmarkdown

envir

The environment in which the code chunks are to be evaluated during knitting (can use new.env() to guarantee an empty new environment).

clean

TRUE to clean intermediate files created during rendering.

Value

When run_pandoc = TRUE, the compiled document is written into the output file, and the path of the output file is returned. When run_pandoc = FALSE, the path of the Markdown output file, with attributes knit_meta (the knitr meta data collected from code chunks) and intermediates (the intermediate files/directories generated by render()).


amcdavid/AMmisc documentation built on June 1, 2020, 11:04 a.m.