public class RdParserTest extends EvalTestCase {
@Test
public void simple() throws IOException {
RdParser parser = new RdParser();
ListVector result = (ListVector) parser.R_ParseRd(new StringReader("\\name{plotf}"), Null.INSTANCE, false);
assertThat(result.length(), equalTo(1));
ListVector header = (ListVector) result.getElementAsSEXP(0);
assertThat(header.getAttribute(Symbol.get("Rd_tag")), equalTo(c("\\name")));