Description Usage Arguments Value Examples
View source: R/render_version.R
Render a semantic version list or a semantic version pointer as an R list giving the major, minor and patch version as an integer and the prerelease and build version as a charcter
1 2 3 4 5 6 7 | render_version(x, ...)
## S3 method for class 'svptr'
render_version(x, ...)
## S3 method for class 'svlist'
render_version(x, ...)
|
x |
An object of class "svlist" or "svptr". |
... |
Additional arguments passed on to methods. |
A list of semantic versions represented as integers (major, minor, patch) and characters (prerelease, build)
1 2 3 | semver <- parse_version(c("1.2.3", "1.2.4", "1.0.0", "1.2.4-beta+2", "2.1.3-alpha", "1.9.4"))
render_version(semver[[4]])
render_version(semver)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.