powered by
Any NA values will be replaced by this value. N.b. default values must be provided before any other rules if the validation is not to fail.
type.default(value)
a validation function that switches NAs for default values
a length one item of the correct type.