Reduce function over the utils::compareVersion

compareVersionsMin(vec, na.rm = TRUE)

Arguments

vec

character vector.

na.rm

logical if to remove NA values.

Value

character minimal version

Examples

compareVersionsMin(c("1.1.1", "0.2.0"))
#> [1] "0.2.0"