powered by
Internal function to read config files
get_config(config_file, config_key)
A character string. The path to the config.yml-file containing the database configuration.
A character string. The name of the corresponding database. This string must be conform with the corresponding config section in the config.yml-file.
If successful it returns the config, Null otherwise.
# NOT RUN { utils_path <- tempdir() config <- get_config( config_file = paste0(utils_path, "/MISC/email.yml"), config_key = "email" ) # } # NOT RUN { # }
Run the code above in your browser using DataLab