pub fn build_factor(indices: &[i32], levels: SEXP) -> SEXP
Build a factor SEXP from indices and a levels STRSXP.