notebook_knit_page: Knit a single notebook entry

View source: R/tar-notebook.R

notebook_knit_pageR Documentation

Knit a single notebook entry

Description

Knit a single notebook entry

Usage

notebook_knit_page(rmd_in, md_out, helper_script)

Arguments

rmd_in

path to the rmd file to knit

md_out

path to the md file to create

helper_script

path to an R script to run beforehand

Value

a character vector where the first element is md_out and any additional elements are plots created during knitting.

Knitting is done in a separate R process via callr::r().

If the option knitr::opts_knit$get("notestar_purge_figures") is set to TRUE, then the contents of the figures folder will be purged before knitting the file.


tjmahr/tarnotes documentation built on June 19, 2022, 4:40 a.m.