Select an exact model version
Usage
select_form_model(paths, id, version, package = NULL)
Arguments
- paths
Nonempty character vector of YAML file paths.
- id
Exact form identifier.
- version
Exact form version.
- package
Optional installed package containing the relative paths.
Value
The matching form_model. All files are checked; invalid files or
anything other than one match raise model_form_error.
Examples
select_form_model("examples/survey-form.yaml", "survey", "2026.2",
package = "form.model")
#> <form_model> survey @ 2026.2 (schema 1.0.0)
#> 29 fields; 5 sheets