get_option: Get option value for a given context

Description Usage Arguments

View source: R/get_options.R

Description

Get option value for a given context

Usage

1
2
get_option(path, option, func_arg_value, root, config_name, is_missing,
  inherit = TRUE)

Arguments

path

(character of length 1) The path to a file that might have option values in configuration files apply to it. Configuration files will be looked for in its path and any options that apply to the file will be used. If NULL, look for values in a configuration file in root.

option

(character of length 1) The name of the option to get a value for

func_arg_value

The value for the option passed into thj

root

(character of length 1) A parent directory of path in which to start looking ofr configuration files

config_name

(character of length 1) The name of configuration files.

is_missing

(logical of length 1) If TRUE, default is ignored.

inherit

(logical of length 1) If FALSE


grunwaldlab/quiltr documentation built on May 17, 2019, 8:40 a.m.