genRepos             package:reposTools             R Documentation

_A _f_u_n_c_t_i_o_n _t_o _c_r_e_a_t_e _a _r_e_p_o_s_i_t_o_r_y

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

     This functionality provides the user with the means to generate a
     repository out of a set of files.

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

     genRepos(repName, urlBase, urlPath, repType = c("package", "vignette", "data"), PACK = FALSE, Status = FALSE, dir = ".", dataPath = "", infoPath = "")
     genVigRepos(dataDir, infoDir, VIG=FALSE)
     genPkgRepos(dataDir, infoDir, PACK=FALSE, Status=FALSE)

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

 repName: The name of the repository

 urlBase: A base URL for the repository (e.g.
          http://www.bioconductor.org/)

 urlPath: A path from the urlBase (e.g. packages/download/)

 repType: Type of repository: package, vignette, data

    PACK: Whether to use manual PACKAGES/Vignettes input file

     VIG: Whether to use manual Vignettes input file

  Status: Whether to use manual status files

     dir: The directory to create the repository in

dataPath: Path to the repository files

 dataDir: Directory where repository files are

infoPath: Path to any manual files used

 infoDir: Directory where info files are

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

     For more detailed information, the user is directed to the
     vignette file "HOWTO set up a simple R repository" in the
     'reposTools' package.  To do this, you can use the 'vignette'
     command in the 'annotate' package: vignette("HOWTO set up a simple
     R repository", package="reposTools").  

     genRepos is passed basic information about the repository as well
     as indicators as to what should be autogenerated or manually
     inputed, and will create two files:  One file 'replisting', which
     contains a matrix of repository information and the other
     'repdatadesc.rda' which contains a data.frame representing the
     files to be distributed.  These two special files are accessed by
     client functions.

     genPkgRepos and genVigRepos are primarly helper functions not
     really intended to be called by the user, but do provide more
     direct access to the functionality.

_V_a_l_u_e:

     genRepos returns a list containing basic information about the
     repository generated.

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

     Jeff Gentry

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

     'install.packages2','ReposEntry','vignette'

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

