winConvertSourceRepos       package:reposTools       R Documentation

_A _f_u_n_c_t_i_o_n _t_o _c_o_n_v_e_r_t _s_o_u_r_c_e _r_e_p_o_s_i_t_o_r_i_e_s _t_o _W_i_n_3_2 _r_e_p_o_s_i_t_o_r_i_e_s

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

     This function will take source packages from a repository, convert
     them into Win32 binary packages.

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

     winConvertSourceRepos(repEntry, pkgs, destDir, recurse = TRUE,
     searchOptions = TRUE, errorLog, origFileDir)

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

repEntry: A repository URL to convert

    pkgs: A set of packages to convert

 destDir: Where to store the converted packages

 recurse: Whether to convert any sub-repositories.  Default is TRUE

searchOptions: Whether to search the repositories listed in 
          options("repositories") for packages as well.  Default is
          TRUE.

errorLog: An optional parameter specifying an output file for errors
          generated by this function

origFileDir: An optional parameter specifying where to store the source
          versions of the packages - if this is not specified, the
          system will store them in a temporary directory which will be
          removed at the end.

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

     The user must specify at least one of 'repEntry' or 'pkgs'. If
     only the former is supplied, all packages from that repository
     will be converted.  If only the latter is supplied, then
     'searchOptions' must be TRUE and repositories listed in the user's
     options will be searched.  If both are used, then only the
     specified packages are converted from the specified repository.

     The system will convert the packages into a Win32 binary package,
     which is then suitable to be turned into a repository with
     'genRepos'.

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

     Jeff Gentry

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

     'genRepos'

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

