@Test public void testGetRVersion() { String version = RUtils.getRVersion(); if (RUtils.isRAvailable()) { assertNotNull(version); } else { assertNull(version); } }
public static String getRVersion() { if (! isRAvailable()) { return null; } return rVersion; }
RUtils { public static String getRVersion() { if (! isRAvailable()) { return null; } return rVersion; } }
RUtils { public static String getRVersion() { if (! isRAvailable()) { return null; } return rVersion; }  }
RUtils { public static String getRVersion() { if (! isRAvailable()) { return null; } return rVersion; }  static boolean isRAvailable(); static String getRVersion(); static boolean isRAvailable(boolean force); static Rsession createNewLocalRSession(); static void loadPackage(Rsession session, String name); static boolean isPackageInstalled(Rsession session, String name); static boolean isPackageLoaded(Rsession session, String name); static void installPackage(Rsession session, String name); static String analyzeLastError(Rsession r); static void checkStatus(Rsession r); static boolean isResponsive(Rsession r); static Integer evalAsInteger(Rsession session, String cmd); static Boolean evalAsBoolean(Rsession session, String cmd); static String evalAsString(Rsession session, String cmd); static Double evalAsDouble(Rsession session, String cmd); }
RUtils { public static String getRVersion() { if (! isRAvailable()) { return null; } return rVersion; }  static boolean isRAvailable(); static String getRVersion(); static boolean isRAvailable(boolean force); static Rsession createNewLocalRSession(); static void loadPackage(Rsession session, String name); static boolean isPackageInstalled(Rsession session, String name); static boolean isPackageLoaded(Rsession session, String name); static void installPackage(Rsession session, String name); static String analyzeLastError(Rsession r); static void checkStatus(Rsession r); static boolean isResponsive(Rsession r); static Integer evalAsInteger(Rsession session, String cmd); static Boolean evalAsBoolean(Rsession session, String cmd); static String evalAsString(Rsession session, String cmd); static Double evalAsDouble(Rsession session, String cmd);  }