reposTheme-class         package:reposTools         R Documentation

_C_l_a_s_s "_r_e_p_o_s_T_h_e_m_e", _a _c_l_a_s_s _t_o _m_o_d_e_l _r_e_p_o_s_i_t_o_r_y _t_h_e_m_e_s

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

     The 'reposTheme' class is used to model repository 'themes' for
     both server and client operations within the 'reposTools' package.

_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("reposTheme",
     ...)'.

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

     '_r_e_p_T_h_e_m_e_N_a_m_e': Object of class '"character"': The name of the
          theme.

     '_r_e_p_T_h_e_m_e_D_e_s_c': Object of class '"character"':  A short
          description of this theme.

     '_r_e_p_T_h_e_m_e_R_e_p_o_s': Object of class '"character"': The URL of the
          repository that this theme belongs to.

     '_r_e_p_T_h_e_m_e_P_k_g_s': Object of class '"list"': A list of objects of
          class 'pkgInfo', used to specify the packages contained by
          this 'themes'.

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

     _r_e_p_T_h_e_m_e_N_a_m_e 'signature(object = "reposTheme")': Retrieves the
          'repThemeName' slot.

     _r_e_p_T_h_e_m_e_D_e_s_c 'signature(object = "reposTheme")': Retrieves the
          'repThemeDesc' slot.

     _r_e_p_T_h_e_m_e_R_e_p_o_s 'signature(object = "reposTheme")': Retrieves the
          'repThemeRepos' slot.

     _r_e_p_T_h_e_m_e_P_k_g_s 'signature(object = "reposTheme")': Retrieves the
          'repThemePkgs' slot.

     _s_h_o_w 'signature(object = "reposTheme")': Displays a summary of the
          information about the theme.

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

     Jeff Gentry

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

     'link{themes}', 'writeThemesXML'

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

        ## loading an example RDA file
        load(system.file(file.path("themes", "repThemes.rda"), package="reposTools"))
        for (i in seq(along=repThemes))
           show(repThemes[[i]])

