Skip to main content

parse

Function parse 

Source
pub fn parse(code: &str) -> Result<Expressions>
👎Deprecated since 0.10.0:

Use Expressions::from_str() instead

Expand description

Parse a string into an R executable object

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