Converts unresolved symbol nodes inside equations and parameter formulas
into typed AST nodes when possible, correcting casing and ensuring references
match declared parameters, variables, mappings, or sets.
Usage
make_valid(x, ...)
# S3 method for class 'mm_model'
make_valid(x, verbose = FALSE, stop_on_error = FALSE, revalidate = FALSE, ...)Arguments
- x
A
multimodmodel object- ...
Reserved for future use
- verbose
Logical; emit a short summary of applied fixes
- stop_on_error
Logical; passed to
validate()whenrevalidate = TRUE- revalidate
Logical; run
validate()after applying fixes
