Skip to main content

choices_sexp

Function choices_sexp 

Source
pub fn choices_sexp<T: MatchArg>() -> SEXP
Expand description

Build an R character vector (STRSXP) from the choices of a MatchArg type.

This is called by generated choices-helper C wrappers to provide the choice list to base::match.arg() in the R wrapper.