Builds a one-row-per-parameter long-format data frame — package version,
render timestamp, then every entry of params flattened to a string — and
writes it via write.csv_rawr(). Deliberately a plain input_params.csv
rather than a prepended xlsx sheet (a documented deviation from the style
guide's "first sheet is always input_params" convention): assigning the
table to a local variable named input_params lets write.csv_rawr()'s
deparse(substitute()) filename trick produce exactly
<prefix>_input_params.csv / input_params.csv for free.
Arguments
- params
The Rmd
paramslist passed to the report at render time.- folder
Destination directory for the csv.
- prefix
Optional string prepended to the filename, forwarded to
write.csv_rawr().