powered by
Orders a vector of version numbers, in natural order.
orderVersion(x, ..., decreasing = FALSE)sortVersion(x, ...)
sortVersion(x, ...)
a character vector of version numbers
extra parameters passed to orderVersion and order
orderVersion
order
a logical that indicates if the ordering should be decreasing
# NOT RUN { v <- c('1.0', '1.03', '1.2') order(v) orderVersion(v) sort(v) sortVersion(v) # }
Run the code above in your browser using DataLab