View source: R/project-history.R
| rrp_state_init | R Documentation |
Create state/history.duckdb and its empty runs and assessments tables
for an existing project. This is separate from project creation and does not
execute assessments or generate analytical products.
rrp_state_init(path)
path |
Path to an existing RRP project that passes structural validation. |
Initialization refuses to overwrite any existing state/ directory.
Project-authored scripts are loaded during structural validation, but their
source-mapping and risk-provider functions are not called.
The normalized project path, invisibly.
project <- tempfile("rrp-state-")
rrp_project_init(project, "example-rrp")
rrp_state_init(project)
unlink(project, recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.