This function compiles a report with enhanced sorting, severity scoring, and detailed metadata, including configuration information.
compile_report(
results,
audit_data,
config,
show_config = FALSE,
top_n = 10,
report = "default"
)A leakr_report object containing the summary, evidence, and metadata for the report.
A list containing detection results.
The audit data used for the report.
Configuration settings, including whether to use numeric severity scores.
Logical, whether to display the configuration used for report generation. Defaults to FALSE.
Numeric, the number of top results to display in the report. Defaults to 10.
A string indicating the type of report to generate. Defaults to "default".