Render Quarto Report with Enhanced Error Handling
render_quarto_report.RdRenders a Quarto (.qmd) report using the quarto R package when
available, falling back to a system call or alternative rendering method
on failure.
Details
Before calling quarto::quarto_render(), any data_list element in
params is written to a temporary .rds file and replaced with a
data_list_path string. This is required because
quarto::quarto_render() validates all execute_params for NA values
(via an internal check_params_for_na() call), and data frames
containing NAs cannot be passed directly.