Skip to main content

checked_vec_option_i64_into_sexp

Function checked_vec_option_i64_into_sexp 

Source
pub fn checked_vec_option_i64_into_sexp(val: Vec<Option<i64>>) -> SEXP
Expand description

Convert Vec<Option<i64>> to R integer vector in strict mode.

Panics if any Some(x) value is outside i32 range. None becomes NA_INTEGER. Walks the whole vector, batching every out-of-range Some into one panic instead of aborting at the first — see panic_strict_vec_batched.