Skip to contents

Retrieve the user-specific config file name

Usage

get_user_cfg_name(cfg_name = NULL)

Arguments

cfg_name

A character string specifying the config file name, or NULL for the default. Default: 'config.yml'

Value

A character string: the supplied config name or the default config name if none was provided.

Examples

get_user_cfg_name()
#> [1] "config.yml"
get_user_cfg_name("conf.yml")
#> [1] "conf.yml"