Validate a Model Specification for Plugin Readiness
validate_model_spec.RdPerforms structural checks on a model spec and optionally executes a one-ROI dry run.
Usage
validate_model_spec(
model_spec,
require_schema = FALSE,
dry_run = TRUE,
roi_data = mock_roi_data(),
context = NULL
)
# S3 method for class 'model_spec_validation_result'
print(x, ...)Arguments
- model_spec
A model specification object.
- require_schema
Logical; if
TRUE, fail whenoutput_schema(model_spec)isNULL.- dry_run
Logical; if
TRUE, runvalidate_plugin_modelon mock ROI/context inputs.- roi_data
ROI payload used for
dry_run.- context
Context used for
dry_run.- x
A
model_spec_validation_resultobject.- ...
Unused.