Versions package:Biobase R Documentation _C_l_a_s_s "_V_e_r_s_i_o_n_s" _D_e_s_c_r_i_p_t_i_o_n: A class to record version number information. This class is used to report versions; to add version informaton to your own class, use 'Versioned-class'. _M_e_t_h_o_d_s: The following are defined; package developers may write additional methods. '_n_e_w("_V_e_r_s_i_o_n_s", ...)' Create a new 'Versions-class' instance, perhaps with named version elements (the contents of '...') added. Named elements of 'versions' are character strings that can be coerced using 'package_version', or 'package_version' instances, 'Versions-class' objects. '_o_b_j_e_c_t["_i_d"]' Obtain version information '"id"' from 'object'. '_o_b_j_e_c_t["_i_d"] <- _v_a_l_u_e' Create or update version information '"id"' on instance 'object'. '_o_b_j_e_c_t[["_i_d"]]' Obtain version information '"id"' from 'object'. The result is a list of integers, corresponding to entries in the version string. '_o_b_j_e_c_t[["_i_d"]] <- _v_a_l_u_e' Create or update version information '"id"' on instance 'object'. '_o_b_j_e_c_t$_i_d' Obtain version information '"id"' from 'object'.The result is a list of integers, corresponding to entries in the version string. '_o_b_j_e_c_t$_i_d <- _v_a_l_u_e' Create or update version information '"id"' on instance 'object'. '_s_h_o_w(_o_b_j_e_c_t)' Display version information. '_u_p_d_a_t_e_O_b_j_e_c_t(_o_b_j_e_c_t)' Update 'object' to the current 'Versions-class' representation. Note that this does _not_ update another class that uses 'Versions-class' to track the class version. '_a_s(_o_b_j_e_c_t, "_c_h_a_r_a_c_t_e_r")' Convert 'object' to character representation, e.g., '1.0.0' '_o_b_j_e_c_t_1 < _o_b_j_e_c_t_2' Compare 'object1' and 'object2' using version class information. Symbols in addition to '<' are admissable; see '?Ops' _A_u_t_h_o_r(_s): Biocore _S_e_e _A_l_s_o: 'classVersion' 'isCurrent' 'isVersioned' _E_x_a_m_p_l_e_s: obj <- new("Versions", A="1.0.0") obj obj["A"] <- "1.0.1" obj obj["B"] <- "2.0" obj obj1 <- obj obj1["B"] <- "2.0.1" obj1 == obj obj1["B"] > "2.0.0" obj["B"] == "2.0" # TRUE!