Skip to contents

Major and minor version

Usage

majorMinorVersion(x)

minorVersion(x)

Arguments

x

Object.

Value

numeric_version.

Note

Updated 2023-01-30.

Examples

majorMinorVersion(c("1.0.0", "2.1"))
#> [1] ‘1.0’ ‘2.1’