@Test public void runsWithoutException() throws ScriptException { CommandLine.main(new String[0]); }
public static void main(String[] arguments) throws ScriptException { ScriptEngineManager scriptEngineManager = new ScriptEngineManager(); ScriptEngine renjin = scriptEngineManager.getEngineByName("Renjin"); if(renjin == null) { throw new RuntimeException("Could not create the Renjin ScriptEngine"); } renjin.eval("print(1+1)"); }
CommandLine { public static void main(String[] arguments) throws ScriptException { ScriptEngineManager scriptEngineManager = new ScriptEngineManager(); ScriptEngine renjin = scriptEngineManager.getEngineByName("Renjin"); if(renjin == null) { throw new RuntimeException("Could not create the Renjin ScriptEngine"); } renjin.eval("print(1+1)"); } }
CommandLine { public static void main(String[] arguments) throws ScriptException { ScriptEngineManager scriptEngineManager = new ScriptEngineManager(); ScriptEngine renjin = scriptEngineManager.getEngineByName("Renjin"); if(renjin == null) { throw new RuntimeException("Could not create the Renjin ScriptEngine"); } renjin.eval("print(1+1)"); }  }
CommandLine { public static void main(String[] arguments) throws ScriptException { ScriptEngineManager scriptEngineManager = new ScriptEngineManager(); ScriptEngine renjin = scriptEngineManager.getEngineByName("Renjin"); if(renjin == null) { throw new RuntimeException("Could not create the Renjin ScriptEngine"); } renjin.eval("print(1+1)"); }  static void main(String[] arguments); }
CommandLine { public static void main(String[] arguments) throws ScriptException { ScriptEngineManager scriptEngineManager = new ScriptEngineManager(); ScriptEngine renjin = scriptEngineManager.getEngineByName("Renjin"); if(renjin == null) { throw new RuntimeException("Could not create the Renjin ScriptEngine"); } renjin.eval("print(1+1)"); }  static void main(String[] arguments);  }