| write_summary_txt | R Documentation |
Writes a human-readable SUMMARY.txt into the output directory,
covering run metadata, the exact absolute paths used, result counts,
the files produced, and optional notes, contact, and licence lines.
write_summary_txt(
manifest,
output_dir,
paths,
what_was_done = NULL,
contact = NULL,
licence = NULL
)
manifest |
A manifest as returned by |
output_dir |
Directory to write |
paths |
A named list of absolute paths to report (e.g. |
what_was_done |
Optional character vector of bullet points describing what the run did. |
contact |
Optional contact string appended to the summary. |
licence |
Optional licence string appended to the summary. |
The path to the written SUMMARY.txt, returned invisibly.
man <- make_manifest(list(project = "demo", author = "A. Author"),
environment = FALSE)
man <- record(man, "row_count", observed = 20, expected = 20)
out <- file.path(tempdir(), "demo-run")
dir.create(out, showWarnings = FALSE)
s <- write_summary_txt(man, out, paths = list(results = out))
readLines(s)[7:8]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.