tar_render_rep_run: Render a batch of parameterized R Markdown reports inside a...

View source: R/tar_render_rep_raw.R

tar_render_rep_runR Documentation

Render a batch of parameterized R Markdown reports inside a tar_render_rep() target.

Description

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

Usage

tar_render_rep_run(path, params, 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_rep().

Value

Character vector with the path to the R Markdown source file and the rendered output file. Both paths depend on the input source path, and they have no defaults.


tarchetypes documentation built on Dec. 1, 2022, 1:31 a.m.