buildPkgInfo           package:reposTools           R Documentation

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

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

     Returns a created pkgInfo object

_U_s_a_g_e:

     buildPkgInfo(name, vers, path = "", relLevel="release",
                  contains=character())

_A_r_g_u_m_e_n_t_s:

    name: Name of the package

    vers: Package version

    path: Path to the package on the system

relLevel: The release level of the package

contains: If this a bundle, what packages it contains

_D_e_t_a_i_l_s:

     Argument 'vers' can be either a character string or of the class
     'VersionNumber'.  If the former, it will be coerced into a
     'VersionNumber' object.

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

     Jeff Gentry

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

     'pkgInfo'

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

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

