validMsg               package:Biobase               R Documentation

_C_o_n_d_i_t_i_o_n_a_l_l_y _a_p_p_e_n_d _r_e_s_u_l_t _t_o _v_a_l_i_d_i_t_y _m_e_s_s_a_g_e

_D_e_s_c_r_i_p_t_i_o_n:

     This function facilitates constructing messages during S4 class
     validation, and is meant for developer rather than end-user use.

_U_s_a_g_e:

     validMsg(msg, result)

_A_r_g_u_m_e_n_t_s:

     msg: A character vector or NULL.

  result: Any vector.

_D_e_t_a_i_l_s:

     This function appends 'result' to 'msg', but only if 'result' is a
     character vector.

_A_u_t_h_o_r(_s):

     Martin Morgan <mtmorgan@fhcrc.org>

_E_x_a_m_p_l_e_s:

     msg <- NULL
     validMsg(msg, FALSE) # still NULL
     msg <- validMsg(msg, "one")
     validMsg(msg, "two")

