Print all fields of a single option

dump_opt(opt, opt_name)

Arguments

opt

the option object returned by set_opt or setGlobalOptions.

opt_name

a single name of the option.

Details

Actually this function is identical to opt[opt_name].

Examples

opt = set_opt(a = 1, b = "b") dump_opt(opt, "a")
#> Field Value #> name a #> default_value 1 #> current_value 1 #> length no limit #> class no limit #> validate a user-defined function #> failed_msg Your option is invalid. #> filter a user-defined function #> read.only FALSE #> private FALSE #> visible TRUE #> description "" #> __generated_namespace__ R_GlobalEnv
dump_opt(opt, "b")
#> Field Value #> name b #> default_value b #> current_value b #> length no limit #> class no limit #> validate a user-defined function #> failed_msg Your option is invalid. #> filter a user-defined function #> read.only FALSE #> private FALSE #> visible TRUE #> description "" #> __generated_namespace__ R_GlobalEnv