| depgraph_validation_report | R Documentation |
depgraph_validation_report is the structured return type produced by
validate_graph() and validate_depgraph().
depgraph_validation_report(
graph_name = NULL,
issues = NULL,
metrics = list(),
metadata = list(),
valid = NULL,
errors = NULL,
warnings = NULL,
advisories = NULL
)
split_spec(
sample_data = NULL,
group_var = "group_id",
block_vars = character(),
time_var = NULL,
ordering_required = FALSE,
constraint_mode = NULL,
constraint_strategy = NULL,
recommended_resampling = NULL,
metadata = list()
)
split_spec_validation(issues = NULL, metadata = list())
leakage_risk_summary(
overview = character(),
diagnostics = NULL,
validation_summary = list(),
constraint_summary = list(),
split_spec_summary = list(),
metadata = list()
)
graph_name |
Graph label stored on the report. |
issues |
Canonical issue table. When |
metrics |
Named list of graph- and issue-level counts. |
metadata |
Named list of report metadata. |
valid |
Optional logical override for the overall validity flag. |
errors, warnings, advisories |
Optional character vectors of severity-specific messages. |
sample_data |
Sample-level mapping table carried by a
|
group_var |
Name of the grouping column. |
block_vars |
Optional blocking variable names. |
time_var |
Optional ordering column name. |
ordering_required |
Whether ordering is required for downstream evaluation. |
constraint_mode, constraint_strategy |
Constraint-derivation metadata. |
recommended_resampling |
Optional recommended resampling routine. |
overview |
Character vector of human-readable overview lines. |
diagnostics |
Diagnostics data frame for leakage risks. |
validation_summary, constraint_summary, split_spec_summary |
Named lists carrying pre-computed summaries. |
The report contains:
graph_name: graph label when available
valid: whether any error-severity issues were found
issues: canonical issue table
summary: counts by level, severity, and code
metadata: report metadata
errors, warnings, advisories: backward-compatible
message vectors
metrics: graph and issue counts
The canonical issue table includes the columns:
issue_id, level, severity, code, message,
node_ids, edge_ids, and details.
An S3 object corresponding to the constructor that was called.
validate_graph
meta <- data.frame(
sample_id = c("S1", "S2"),
subject_id = c("P1", "P2")
)
g <- graph_from_metadata(meta)
report <- validate_graph(g)
report$valid
summary(report)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.