Skip to contents

Determine whether a global option is being used

Usage

using_option(x, value = NULL)

Arguments

x

Option name

value

Optional value to compare against

Value

A logical value

Examples

using_option("width")
#> [1] TRUE

using_option("boot.parallel", value = "multicore")
#> [1] FALSE