tar_render_rep_run_params: Prepare R Markdown parameters for 'tar_render_rep()'.

View source: R/tar_render_rep_raw.R

tar_render_rep_run_paramsR Documentation

Prepare R Markdown parameters for tar_render_rep().

Description

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

Usage

tar_render_rep_run_params(params, batches)

Arguments

params

Data frame of R Markdown parameters.

batches

Number of batches to split up the renderings.

Value

A batched data frame of R Markdown parameters.

Examples

params <- tibble::tibble(param1 = letters[seq_len(4)])
tar_render_rep_run_params(params, 1)
tar_render_rep_run_params(params, 2)
tar_render_rep_run_params(params, 3)
tar_render_rep_run_params(params, 4)

tarchetypes documentation built on Sept. 30, 2024, 9:18 a.m.