Read the most recent simulation report from an output directory
Source:R/report.R
read_latest_report.RdConvenience helper to locate and read the latest *_report.txt written
by spesim_run(write_outputs = TRUE) under a given
output_dir. Useful for users who want the report text without calling
generate_full_report() directly.
Examples
if (FALSE) { # \dontrun{
txt <- read_latest_report("out")
cat(txt)
} # }