semver_gt | R Documentation |
Show whether a given semver is greater than a baseline version.
semver_gt(sv = get_default_odkc_version(), to = "1.5.0")
sv |
The semver to compare as character
("2023.5.1", "1.5.0", "1.5"), or numeric (1.5).
The value is always parsed with |
to |
The semver to compare to as string. Although semver can parse
complete version strings, |
A boolean indicating whether the given semver sv
is greater than
the baseline semver to
.
Other ru_settings:
odata_svc_parse()
,
parse_odkc_version()
,
ru_settings()
,
ru_setup()
,
semver_lt()
,
yell_if_error()
,
yell_if_missing()
get_default_odkc_version() |> semver_gt("0.8.0")
"2024.1.1" |> semver_gt("2024.1.0")
"2024.1.1" |> semver_gt("2024.1.1")
"2024.1.1" |> semver_gt("2024.1.2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.