Skip to contents

Extract tarball of a package into temp directory and return path to extracted package

Usage

extract_tarball(tarball)

Arguments

tarball

Full path to local tarball of an R package.

Value

Path to extracted version of package (in tempdir()).

Examples

f <- system.file ("extdata", "pkgstats_9.9.tar.gz", package = "pkgstats")
path <- extract_tarball (f)