Description Usage Arguments Value
TODO
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | compare(a, b, loose = FALSE)
compare_loose(a, b)
rev_compare(a, b, loose = FALSE)
gt(a, b, loose = FALSE)
lt(a, b, loose = FALSE)
eq(a, b, loose = FALSE)
neq(a, b, loose = FALSE)
gte(a, b, loose = FALSE)
lte(a, b, loose = FALSE)
cmp(a, op = "==", b, loose = FALSE)
## S3 method for class 'semver'
lhs "<" rhs
## S3 method for class 'semver'
lhs ">" rhs
## S3 method for class 'semver'
lhs "<=" rhs
## S3 method for class 'semver'
lhs ">=" rhs
## S3 method for class 'semver'
lhs "==" rhs
## S3 method for class 'semver'
lhs "!=" rhs
|
a |
Version string or |
b |
Version string or |
loose |
Whether loose ranges are allowed. |
op |
Operator to test for. Possible values:
|
-1
if a
is older, 1
if a
is
newer, 0
if a
and b
are equal.
Logical scalar.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.