Skip to contents

This function generates an HTML report containing a header section, table of contents, and a series of plots. Each plot is included in the report with specified sizes.

Usage

build_explore_data_report(
  header_section,
  plots,
  plots_sizes,
  report_info,
  output_file_path
)

Arguments

header_section

A string containing the HTML content for the header section of the report.

plots

A list of ggplot objects representing the plots to be included in the report.

plots_sizes

A list of sizes corresponding to each plot, defining the dimensions to be used when rendering the plots.

report_info

A named list containg the report info fields. Here used for the email hotkey functionality.

output_file_path

A string specifying the file path where the HTML report will be saved.

Value

None. This function writes the HTML content to the specified file.