Skip to contents

lifelihood embeds a few configuration files, and this function is a simple tool to access one of them.

It takes the name one of the available configuration and returns the path to it.

For more info about configuration files, see vignette("setting-up-the-configuration-file", package = "lifelihood")

Usage

get_config_path(config_name = c("config", "config2", "config_pierrick"))

Arguments

config_name

Configuration name. Currently available options:

  • config

  • config2

  • config_pierrick By default, it will use "config".

Value

Absolute path to the configuration file

Examples

get_config_path("config")
#> [1] "/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/RtmpAaYnY8/temp_libpath1c74610ce356/lifelihood/configs/config.yaml"
get_config_path("config2")
#> [1] "/private/var/folders/y6/nj790rtn62lfktb1sh__79hc0000gn/T/RtmpAaYnY8/temp_libpath1c74610ce356/lifelihood/configs/config2.yaml"