tar_render_rep_run {tarchetypes} | R 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, rep_workers)
Arguments
path |
Path to the R Markdown source file. |
args |
A named list of arguments to |
deps |
An unnamed list of target dependencies of the R Markdown
report, automatically created by |
rep_workers |
Positive integer of length 1, number of local R processes to use to run reps within batches in parallel. If 1, then reps are run sequentially within each batch. If greater than 1, then reps within batch are run in parallel using a PSOCK cluster. |
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.
[Package tarchetypes version 0.11.0 Index]