is_r_package_installed {fritools}R Documentation

Is an 'R' Package Installed?

Description

Is an R package installed?

Usage

is_r_package_installed(x, version = "0")

Arguments

x

Name of the package as character string.

version

Required minimum version of the package as character string.

Value

TRUE on success, FALSE otherwise.

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_running_on_fvafrcu_machines(), is_running_on_gitlab_com(), is_success(), is_version_sufficient(), is_windows()

Other operating system functions: clipboard_path(), file_copy(), file_save(), get_boolean_envvar(), get_run_r_tests(), is_installed(), is_success(), is_windows(), view(), vim(), wipe_tempdir(), with_dir()

Other package functions: get_package_version(), is_version_sufficient(), load_internal_functions()

Other version functions: get_package_version(), is_version_sufficient()

Examples

is_r_package_installed("base", "300.0.0")
is_r_package_installed("fritools", "1.0.0")

[Package fritools version 4.3.0 Index]