Read the most recent simulation report from an output directory
Source:R/report.R
read_latest_report.Rd
Convenience helper to locate and read the latest *_report.txt
written
by run_spatial_simulation(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)
} # }