Skip to contents

Create a vector contract specification

Usage

vector_contract(axis, name, expectation, dtype, description)

Arguments

axis

Axis name the vector belongs to

name

Vector name

expectation

One of RequiredInput, OptionalInput, GuaranteedOutput, OptionalOutput

dtype

Data type (e.g., "character", "numeric", "integer", "logical")

description

Human-readable description

Value

Vector specification list