Expand description
Tuple conversions: read an R list (VECSXP) positionally into (A, B, ...).
Inbound counterpart of the IntoR tuple family (crate::into_r, tuple to
unnamed list region) โ same arities (1 through 8), same VECSXP shape.
Semantics:
- The input must be a list (VECSXP) of exactly N elements; names are ignored (conversion is positional).
- Element
iconverts via<Ti as TryFromSexp>::try_from_sexp. - All failing elements are collected into one batched diagnostic (1-based positions, matching R indexing) instead of bailing on the first failure.
Macrosยง
- impl_
tuple_ ๐try_ from_ sexp - Implement
TryFromSexpfor tuples of various sizes (1-8). Reads an unnamed R list (VECSXP) positionally; mirrorsimpl_tuple_into_r!.
Functionsยง
- batch_
tuple_ ๐errors - check_
list_ ๐shape