Find the latest package version

max_ver(pkg_versions)

Arguments

pkg_versions

(character vector) representing package version numbers

Value

a character of the latest package version

Examples

max_ver(c("7.3-51.3", "7.3-51.3", "7.3-51.4"))
#> [1] "7.3-51.4"