Skip to contents

Retrieve the package config directory which is the directory for storing a config template. If there is no pre-existing user config, this template gets copied to the user config by write_user_cfg().

Usage

get_pkg_cfg_dir(template_dir_name = NULL)

Arguments

template_dir_name

A character string: the name of the config template sub-directory or NULL for the default. Default: 'config'

Value

A character string: the path to the package config template directory.

See also

Examples

get_pkg_cfg_dir()
#> [1] "/home/runner/work/_temp/Library/dimex/config"
if (FALSE) { # \dontrun{
get_pkg_cfg_dir("cfg")
} # }