unpackExtractPkgDESC {reposTools} | R Documentation |
These functions will unpack (and in some cases extract information from) built R packages.
unpackExtractPkgDESC(pkg) unpackSourcePkg{pkg} unpackZipPkg{pkg}
pkg |
A built R package |
unpackExtractPkgDESC will return a DCF matrix representing the DESCRIPTION file of the specified package. It does this by unpacking the package using the appropriate method (currently options are limited to .tar.gz and .zip), and reading the file in manually.
unpackSourcePkg will attempt to uncompress the .tar.gz package structure.
unpackZipPkg will attempt to uncompres a .zip package using the system's "unzip" option.
Jeff Gentry