R: Render semantic version

render_version {semver} | R Documentation

## Render semantic version

### Description

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

### Usage

    render_version(x, ...)

    ## S3 method for class 'svptr'
    render_version(x, ...)

    ## S3 method for class 'svlist'
    render_version(x, ...)

### Arguments

`x` | An object of class "svlist" or "svptr".
`...` | Additional arguments passed on to methods.

### Value

A list of semantic versions represented as integers (major, minor, patch) and characters (prerelease, build)

### Examples

    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)

[Package semver version 0.2.0 Index]