Skip to contents

Writes the report in the same format as the web tool's download, so that assessments can be archived and compared.

Usage

nc_write_json(report, path)

Arguments

report

An ncvc_report.

path

File path.

Value

path, invisibly.

Examples

ex <- nc_example_evidence()
report <- nc_map(nc_framework("cva-aei"), ex$evidence, ex$consulted)
f <- tempfile(fileext = ".json")
nc_write_json(report, f)
unlink(f)