Writes four files to out_dir:
Arguments
- result
A
reproimage_resultfromri_analyze().- out_dir
Output folder; created if needed.
Details
result.json: the full result (schemareproimage-result/1);pairs.csv: one row per related pair;report.html: a self-contained report with side-by-side thumbnails;ro-crate-metadata.json: an RO-Crate 1.1 record of the analysis (inputs with their checksums, tool version and parameters), compatible with W3C PROV.
Examples
res <- ri_analyze(ri_example_dir())
out <- file.path(tempdir(), "reproimage-example")
ri_write(res, out)
list.files(out)
#> [1] "pairs.csv" "report.html" "result.json"
#> [4] "ro-crate-metadata.json"
unlink(out, recursive = TRUE)