Function extendr_api::functions::parse
source ยท 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());
}