Skip to contents

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.

Usage

require_named(restriction)

Arguments

restriction

a restriction object.

Value

The modified restriction object.