R/require.R
require_named.Rd
Validates that the value is fully named: every element has a non-empty, non-NA name. A partially-named value (e.g. c(a = 1, 2)) fails and the positions of the unnamed elements are reported.
NA
c(a = 1, 2)
require_named(restriction)
a restriction object.
restriction
The modified restriction object.
Other structure checks: require_has_cols(), require_length(), require_length_matches(), require_length_max(), require_length_min(), require_nrow_matches(), require_nrow_min(), require_scalar()
require_has_cols()
require_length()
require_length_matches()
require_length_max()
require_length_min()
require_nrow_matches()
require_nrow_min()
require_scalar()