extendr_macros

Macro pairlist

Source
pairlist!() { /* proc-macro */ }
Expand description

Create a Pairlist R object from a list of name-value pairs.

    assert_eq!(pairlist!(a=1, 2, 3), Pairlist::from_pairs(&[("a", 1), ("", 2), ("", 3)]));