Per feature/module: writes <out_dir>/<name>.md (the doc stub, with
Functions called and Packages used populated from the inventory),
<out_dir>/<name>/inventory.json, and <out_dir>/<name>.html (the
interactive visNetwork widget).
Usage
svt_render(
features,
inventory,
out_dir = "validation",
surface = NULL,
coverage = NULL,
scaffold = FALSE
)Arguments
- features
An
svt_featuresobject.- inventory
An
svt_inventoryobject.- out_dir
Directory to write artifacts to. Created if missing.
- surface
An
svt_test_surfaceobject, orNULL. WhenNULLthe## Test surfacedoc-stub sections and the per-featuretest_surface.jsonartifacts are omitted entirely rather than rendered empty.- coverage
An
svt_test_coverageobject, orNULL. When supplied, the## Test coveragedoc-stub sections, the index's Verification coverage section andtraceability.{json,md}are written; whenNULLthey are omitted entirely rather than rendered empty.- scaffold
If
TRUE, also write test scaffolds into<out_dir>/tests/as lifecycle-tracked artifacts. Requiressurface. Off by default: generating files into a validated repository is opt-in, always.