Skip to main content

checked_vec_option_try_from_sexp_i64

Function checked_vec_option_try_from_sexp_i64 

Source
pub fn checked_vec_option_try_from_sexp_i64(
    sexp: SEXP,
    param: &str,
) -> Vec<Option<i64>>
Expand description

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

Applies the same input-SEXP-type gate as checked_vec_try_from_sexp_i64 — only INTSXP and REALSXP are accepted; LGLSXP and RAWSXP are rejected. NA elements become None; type strictness and missingness are orthogonal.