pkgInfo-class           package:reposTools           R Documentation

_A _c_l_a_s_s _t_o _h_o_l_d _p_a_c_k_a_g_e _i_n_f_o_r_m_a_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     This class contains some succinct information about a package,
     including its name and version

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("pkgInfo", ...)'.
     The helper function 'buildPkgInfo' is also provided.

_S_l_o_t_s:

     '_p_k_g_N_a_m_e': Object of class '"character"' A string representing the
          name of the package

     '_p_k_g_V_e_r_s_i_o_n': Object of class '"VersionNumber"' A VersionNumber
          object representing the version number of the package 

     '_p_k_g_P_a_t_h': Object of class '"character"' A string reprsenting the
          path of the installed package

     '_p_k_g_R_e_l_L_e_v_e_l': Object of class '"character"' A string reprsenting
          the release level of the installed package

     '_p_k_g_C_o_n_t_a_i_n_s': Object of class '"character"' If this is a package
          bundle, a character vector describing any packages contained
          in the bundle

_M_e_t_h_o_d_s:

     _p_k_g_N_a_m_e '(pkgInfo)': The name of the package

     _p_k_g_P_a_t_h '(pkgInfo)': The path to the installed copy of the package

     _p_k_g_V_e_r_s_i_o_n '(pkgInfo)': The version number of the package

     _p_k_g_R_e_l_L_e_v_e_l '(pkgInfo)': The release level of the package.

     _p_k_g_C_o_n_t_a_i_n_s '(pkgInfo)': Any packages contained, if this is a
          bundle

     _s_h_o_w '(pkgInfo)': Displays in the form <pkgName>: <pkgVersion>

_A_u_t_h_o_r(_s):

     Jeff Gentry

_S_e_e _A_l_s_o:

     'buildPkgInfo'

_E_x_a_m_p_l_e_s:

      a <- buildPkgInfo("Foo","1.2.3")

