tar_knit_run: Run a 'knitr' report inside a 'tar_knit()' target.

Description Usage Arguments Value

View source: R/tar_knit.R

Description

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

Usage

1
tar_knit_run(path, args, deps)

Arguments

path

Path to the knitr source file.

args

A named list of arguments to knitr::knit().

deps

An unnamed list of target dependencies of the knitr report, automatically created by tar_knit().

Value

Character with the path to the knitr source file and the relative path to the output knitr report. The output path depends on the input path argument, which has no default.


tarchetypes documentation built on Sept. 21, 2021, 5:10 p.m.