package_name: Extract a packages name from a tarball

Description Usage Arguments Value Examples

View source: R/addPackage.R

Description

Extract a packages name from a tarball

Usage

1
package_name(tarball)

Arguments

tarball

package tarball

Value

the package name

Examples

1
2
3
pkg <- system.file(package="BiocContributions",
  "testpackages", "RNASeqPower_1.11.0.tar.gz")
package_name(pkg)

Bioconductor/BiocContributions documentation built on July 1, 2017, 7:44 a.m.