fn factor_to_choice<T: MatchArg>( sexp: SEXP, formal: &[&str], ) -> Result<T, MatchArgError>
A factor as a choice: read as its labels, like as.character().
as.character()