Validates that length(value) equals the result of evaluating a formula.
The formula is evaluated using only explicitly passed context arguments,
plus .value (the validated value) and .name (the restriction name).
See also
Other structure checks:
require_dim(),
require_has_cols(),
require_length(),
require_length_max(),
require_length_min(),
require_named(),
require_names(),
require_ncol_matches(),
require_ncol_min(),
require_nrow_matches(),
require_nrow_min(),
require_scalar(),
require_sorted(),
require_unique_names()