replisting-class         package:reposTools         R Documentation

_A _c_l_a_s_s _t_o _r_e_p_r_e_s_e_n_t _r_e_p_o_s_i_t_o_r_y _i_n_f_o_r_m_a_t_i_o_n

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

     Provides structure to basic repository information, such as type,
     URL, subrepositories, etc

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

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

     '_r_e_p_l_i_s_t_i_n_g': Object of class '"matrix"' The information itself

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

     _s_u_m_m_a_r_y 'signature(object = "replisting")': An output of the
          information

     _s_h_o_w 'signature(object = "replisting")': A verbose output of the
          information

     _r_e_p_l_i_s_t_i_n_g 'signature(object = "replisting")': Returns the
          information matrix

     _n_u_m_S_u_b_R_e_p_s 'signature(object = "replisting")': Returns the number
          of available subrepositories

     _r_e_p_R_e_l_e_a_s_e_L_e_v_e_l 'signature(object = "replisting")': Returns the
          release level for this replisting

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

     Jeff Gentry

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

     'ReposEntry-class','repdatadesc-class'

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

     ## Note that generally the replisting matrix would come from a
     ## repository 'replisting' file.  Generating it manually here.
     a <- matrix(ncol=4,nrow=1)
     a[1,] <- c("Test Repository",
       "package","http://www.bioconductor.org/repository","/sample/package")

     colnames(a) <- c("repname","reptype","repaddrBase","repaddrPath")

     z <- new("replisting",replisting=a)
     z

