tar_render_run: Render an R Markdown report inside a 'tar_render()' target.

Description Usage Arguments Value

View source: R/tar_render_raw.R

Description

Internal function needed for tar_render(). Users should not invoke it directly.

Usage

1
tar_render_run(path, args, deps)

Arguments

path

Path to the R Markdown source file.

args

A named list of arguments to rmarkdown::render().

deps

An unnamed list of target dependencies of the R Markdown report, automatically created by tar_render().

Value

Character vector with the path to the R Markdown source file and the relative path to the output. These paths depend on the input source file path and have no defaults.


tarchetypes documentation built on Aug. 4, 2021, 9:05 a.m.