checkVers package:reposTools R Documentation _A _f_u_n_c_t_i_o_n _t_o _c_o_m_p_a_r_e _v_e_r_s_i_o_n_s _w/ _o_p_e_r_a_t_i_o_n _s_t_r_i_n_g _D_e_s_c_r_i_p_t_i_o_n: Handles comparisons of VersionNumber objects when the operator is in string form (e.g. ">=", "==", etc). _U_s_a_g_e: checkVers(x, op, y) _A_r_g_u_m_e_n_t_s: x: The left side object op: The operator to use for comparison, in string format y: The right object to compare _D_e_t_a_i_l_s: Will handle the situation 'x op y' for any op that is a valid comparitor in the VersionNumber class. The string 'op' is converted into the proper comparitor and then applied to the values x and y. _V_a_l_u_e: TRUE or FALSE as appropriate _A_u_t_h_o_r(_s): Jeff Gentry _E_x_a_m_p_l_e_s: a <- buildVersionNumber("1.2.3") b <- buildVersionNumber("2.0") checkVers(a,"<=",b) ## will see if a <= b checkVers(a,"==",b) checkVers(a,">",b)