semver has two functions: parse_version, render_version,

Details

parse_version takes as input a character vector with elements following the specification at http://semver.org/.

Comparisons can be done on the "svlist" and "svptr" classes returned by parse_version. Ops and summary methods are implemented for both classes.