tar_knit_run {tarchetypes} | R Documentation |
Run a knitr
report inside a tar_knit()
target.
Description
Internal function needed for tar_knit()
.
Users should not invoke it directly.
Usage
tar_knit_run(path, working_directory, args, deps)
Arguments
path |
Character string, file path to the |
working_directory |
Optional character string,
path to the working directory
to temporarily set when running the report.
The default is |
args |
A named list of arguments to |
deps |
An unnamed list of target dependencies of the |
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.