Macro extendr_api::list[][src]

macro_rules! list {
    () => { ... };
    ($($rest: tt)*) => { ... };
}

Create a list.

Example:

use extendr_api::prelude::*;
test! {
let mylist = list!(x=1, y=2);
assert_eq!(mylist, r!(List(&[r!(1), r!(2)])));
}

Panics on error.