Compare two R version strings following R's numeric_version scheme: split on . and -, compare
numerically, shorter versions padded with zeros (0.4-9 < 0.4.10 < 1.0). Negative/zero/positive for
a less than/equal to/greater than b.
The highest of some version strings by R's numeric_version order (0.9.0 < 0.10.0); undefined if none.
Parse an R version string into a SemVer, normalizing R's freer scheme (e.g. 0.4-9). Unlike
new SemVer(version) this coerces where needed; the original string is available via .str. Returns
undefined (never throws) when the string cannot be coerced to a version at all.
Helpers for R package versions (
1.2-3style), which are freer than SemVer.