desc_get_version | R Documentation |
If the file has no Version
field, or it is an invalid
version string, then it throws an error.
desc_get_version(file = ".")
file |
DESCRIPTION file to use. By default the DESCRIPTION file of the current package (i.e. the package the working directory is part of) is used. |
A base::package_version object.
Other version numbers:
desc_bump_version()
,
desc_set_version()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.