fn vec_of_maps_to_list<T: IntoR>(vec: Vec<T>) -> SEXP
Helper to convert a Vec of map-like types to an R list of named lists.