fetch_package_version | R Documentation |
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.
fetch_package_version(pkgname)
pkgname |
Name of package |
String with the version information
# This package should exist
fetch_package_version('digest')
# This package should not exist
fetch_package_version('bad package name')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.