tar_quarto_rep_run_params: Prepare Quarto parameters for 'tar_quarto_rep()'.

View source: R/tar_quarto_rep_raw.R

tar_quarto_rep_run_paramsR Documentation

Prepare Quarto parameters for tar_quarto_rep().

Description

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

Usage

tar_quarto_rep_run_params(execute_params, batches, default_output_file)

Arguments

execute_params

Data frame of Quarto parameters.

batches

Number of batches to split up the renderings.

default_output_file

Default output file path deduced from the YAML front-matter of the Quarto source document.

Value

A batched data frame of Quarto parameters.

Examples

execute_params <- tibble::tibble(param1 = letters[seq_len(4)])
tar_quarto_rep_run_params(execute_params, 1, "report.html")
tar_quarto_rep_run_params(execute_params, 2, "report.html")
tar_quarto_rep_run_params(execute_params, 3, "report.html")
tar_quarto_rep_run_params(execute_params, 4, "report.html")

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