readPkgVersion

readPkgVersion

reads the package version out of the DESCRIPTION file

Keywords
utilities
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 ""

Aliases
  • readPkgVersion
Examples
readPkgVersion(package = "distr")
Documentation reproduced from package SweaveListingUtils, version 0.7.7, License: LGPL-3

Community examples

Looks like there are no examples yet.