readPackageVersion: readPkgVersion

Description Usage Arguments Value Author(s) Examples

Description

reads the package version out of the ‘DESCRIPTION’ file

Usage

1
readPkgVersion(package, lib.loc = NULL)

Arguments

package

character; name of the package

lib.loc

location of a local library in which the described package resides

Value

package version as character if existing else ""

Author(s)

Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de

Examples

1
readPkgVersion(package = "distr")

SweaveListingUtils documentation built on May 30, 2017, 6:29 a.m.