Skip to contents

Renders a per-file report for each file in the project, collecting all plot types across intervals and channels. Output is HTML by default; set pdf = TRUE for PDF output (requires additional system dependencies).

Usage

generate_reports(params, file_rows, pdf = FALSE)

Arguments

params

A named list of analysis parameters as produced by make_params().

file_rows

A tibble of file metadata as produced by index_files().

pdf

Logical; if TRUE render PDF reports instead of HTML. Requires magick, tinytex, and a TinyTeX installation (tinytex::install_tinytex()). Defaults to FALSE.

Value

Called for its side effects (report files written to disk). Returns NULL invisibly.

Examples

if (FALSE) { # \dontrun{
generate_reports(params, file_rows)
generate_reports(params, file_rows, pdf = TRUE)
} # }