| is_installed {fritools} | R Documentation |
Is an External Program Installed?
Description
Is an external program installed?
Usage
is_installed(program)
Arguments
program |
Name of the program. |
Value
TRUE on success,
FALSE otherwise.
See Also
Other logical helpers:
get_run_r_tests(),
is_batch(),
is_cran(),
is_false(),
is_force(),
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_version_sufficient(),
is_windows()
Other operating system functions:
clipboard_path(),
file_copy(),
file_save(),
get_boolean_envvar(),
get_run_r_tests(),
is_r_package_installed(),
is_success(),
is_windows(),
view(),
vim(),
wipe_tempdir(),
with_dir()
Examples
if (is_running_on_fvafrcu_machines() || is_running_on_gitlab_com()) {
# NOTE: There are CRAN machines where neither "R" nor "R-devel" is in
# the path, so we skipt this example on unkown machines.
is_installed("R")
}
is_installed("probably_not_installed")
[Package fritools version 4.3.0 Index]