readPkgVersion {SweaveListingUtils}R Documentation

readPkgVersion

Description

reads the package version out of the ‘DESCRIPTION’ file

Usage

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@itwm.fraunhofer.de

Examples

readPkgVersion(package = "distr")

[Package SweaveListingUtils version 0.1.1 Index]