is_version_sufficient {fritools} | R Documentation |
Is a Version Requirement Met?
Description
Just a wrapper to compareVersion
, I regularly forget how to use
it.
Usage
is_version_sufficient(installed, required)
Arguments
installed |
The version available. |
required |
The version required. |
Value
See Also
Other logical helpers:
get_run_r_tests()
,
is_batch()
,
is_cran()
,
is_false()
,
is_force()
,
is_installed()
,
is_not_false()
,
is_null_or_true()
,
is_of_length_zero()
,
is_r_cmd_check()
,
is_r_package_installed()
,
is_running_on_fvafrcu_machines()
,
is_running_on_gitlab_com()
,
is_success()
,
is_windows()
Other package functions:
get_package_version()
,
is_r_package_installed()
,
load_internal_functions()
Other version functions:
get_package_version()
,
is_r_package_installed()
Examples
is_version_sufficient(installed = "1.0.0", required = "2.0.0")
is_version_sufficient(installed = "1.0.0", required = "1.0.0")
is_version_sufficient(installed = get_package_version("base"),
required = "3.5.2")
[Package fritools version 4.3.0 Index]