Create a scalar contract specification
Usage
scalar_contract(name, expectation, dtype, description)
Arguments
- name
Scalar name
- expectation
One of RequiredInput, OptionalInput, GuaranteedOutput, OptionalOutput
- dtype
Data type (e.g., "character", "numeric", "integer", "logical")
- description
Human-readable description
Value
Scalar specification list