pub fn match_arg_from_sexp<T: MatchArg>(sexp: SEXP) -> Result<T, MatchArgError>Expand description
Extract a string from an R SEXP (STRSXP or factor) and match it against
the choices of a MatchArg type.
This is used by the generated TryFromSexp implementation.