### Question:
Renjin { public static void execute(InputStream is) { ScriptEngineManager manager = new ScriptEngineManager(); ScriptEngine engine = manager.getEngineByName("Renjin"); if (engine == null) { throw new RuntimeException( "Renjin Script Engine not found on the classpath."); } try { engine.eval(new InputStreamReader(is, Charset.forName("UTF-8"))); } catch (ScriptException e) { throw new RuntimeException(e); } }  static void execute(InputStream is);  }### Answer:
@Test public void testExcecutionOfRCode() { Renjin.execute(RenjinTest.class.getResourceAsStream("/test.r")); }