Skip to contents

Report config: imports text file to list

Usage

report_txt_to_config(config_txt = "report_config.txt")

Arguments

config_txt

path to report configuration text file created by a report configuration list e.g. as retrieved by function report_config_to_txt()

Value

saves report configuration list as text file

Examples

if (FALSE) {
### Creates a configuration template
config <- report_config_template()
### Saves list config in text
report_config_to_txt(config_list = config, output_file = "report_config.txt")
### Reads config list from text file to
config_imported <- report_txt_to_config(config_txt = "report_config.txt")
### Check whether both are identical
identical(x = config, y = config_imported)
}