View source: R/is_version_sufficient.R
| is_version_sufficient | R Documentation |
Just a wrapper to compareVersion, I regularly forget how to use
it.
is_version_sufficient(installed, required)
installed |
The version available. |
required |
The version required. |
TRUE, if so, FALSE otherwise.
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()
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.