logo
pub fn parse(code: &str) -> Result<Expressions>
Expand description

Parse a string into an R executable object

use extendr_api::prelude::*;
test! {
   let expr = parse("1 + 2").unwrap();
   assert!(expr.is_expressions());
}