saveDfRda {reposTools}R Documentation

A function to save a repository dataframe file

Description

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

Usage

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

Arguments

reposDF The repository data.frame
outFile The name of the file to store it in

Details

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.

Author(s)

Jeff Gentry

See Also

buildPkgDf

Examples

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

[Package reposTools version 1.8.0 Index]