tabulate_versions: Tabulate version numbers

Description Usage Arguments Value Examples

View source: R/tabulate_versions.R

Description

This function expands the parts of a vector of version numbers into a data.frame which may be useful, e.g. for moving version numbers to a database.

Usage

1
tabulate_versions(x, full_version = c("none", "version_number", "character"))

Arguments

x

The version numbers to tabulate

full_version

Control how a column is added that contains the full version numbers. Either "version_number" for a version_number-class column, "character" for a character-class column or "none" to not add a column.

Value

A data.frame

Examples

1
2
3
tabulate_versions(version_number("1.0.0.0", "1.0.1.0"))

tabulate_versions(version_number("1.0.0.0", "1.0.1.0"), "version_number")

wurli/versionr documentation built on Dec. 23, 2021, 6:13 p.m.