ver_sort {versionsort} | R Documentation |
Sort version codes
Description
ver_sort()
returns a sorted vector of version codes, where
sorting is done alphanumerically.
Usage
ver_sort(x)
Arguments
x |
|
Value
A character vector containing the same elements as input, but reordered.
See Also
Examples
ver_sort(c("1.5-0", "1.4-1", "0.0.0.9000", "1.4-0a", "1.4-0"))
[Package versionsort version 1.1.0 Index]