fn not_character<T: MatchArg>(sexp: SEXP) -> MatchArgErrorExpand description
The error of a choice value that is not a character vector (nor a
factor or NULL): MatchArgError::IsNa when it is an atomic vector
holding an NA (anyNA()’s reading), else
MatchArgError::InvalidType. The R helpers decide the same way.