is_force: Opt-out Via Option

View source: R/options.R

is_forceR Documentation

Opt-out Via Option

Description

Check whether or not a package option (set via set_options) force is not set or set to TRUE.

Usage

is_force(x = .packages()[1])

Arguments

x

The option under which an element "force" is to be searched for.

Value

TRUE if option x[["force"]] is either TRUE or NULL (i.e. not set at all).

See Also

Other option functions: get_options(), set_options()

Other logical helpers: get_run_r_tests(), is_batch(), is_cran(), is_false(), 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_version_sufficient(), is_windows()

Examples

is_force()
set_options(list(force = FALSE))
get_options(flatten_list = FALSE)
is_force()

fritools documentation built on Nov. 19, 2023, 1:06 a.m.