saveDfRda             package:reposTools             R Documentation

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

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

     This function is utilized to provide a uniform name of the
     dataframe object (reposDF) stored in the repdatadesc.rda file.

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

     saveDfRda(reposDF, outFile = "repdatadesc.rda")

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

 reposDF: The repository data.frame 

 outFile: The name of the file to store it in

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

     By protocol, all repository data.frames should have the name
     'reposDF' when stored in the repdatadesc file.  As such, this
     function provides a wrapper to force this naming convention.

     Also by convention, in a repository setting the filename is
     "repdatadesc.rda", so one should not deviate from teh defaults.

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

     Jeff Gentry

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

     'buildPkgDf'

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

        z <- tempfile()
        data(sampleRepos)
        saveDfRda(reposDF,z)
        unlink(z)

