pub fn eval_string(code: &str) -> Result<Robj>
Expand description

Parse a string into an R executable object and run it. Used by the R! macro.

use extendr_api::prelude::*;
test! {
   let res = eval_string("1 + 2").unwrap();
   assert_eq!(res, r!(3.));
}