unpackExtractPkgDESC {reposTools}R Documentation

Functions to unpack built packages

Description

These functions will unpack (and in some cases extract information from) built R packages.

Usage

unpackExtractPkgDESC(pkg)
unpackSourcePkg{pkg}
unpackZipPkg{pkg}

Arguments

pkg A built R package

Details

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.

Author(s)

Jeff Gentry

Examples






[Package reposTools version 1.4.3 Index]