fetch_package_version {formods} | R Documentation |
Fetches the Current Version of Pacakge
Description
The specified package version is extracted and returned. This can simply be the version installed from CRAN or if a development version from GitHub is used details from that will be returned.
Usage
fetch_package_version(pkgname)
Arguments
pkgname |
Name of package |
Value
String with the version information
Examples
# This package should exist
fetch_package_version('digest')
# This package should not exist
fetch_package_version('bad package name')
[Package formods version 0.1.6 Index]