Skip to contents

This functions loads and checks the template file(s)

Usage

load_templates(df_template_files)

Arguments

df_template_files

data.table, with datapaths and names of results file(s) or character with file path of templates file(s)

Value

data.table with templates data

Examples

 td <- get_test_data()
 t_df <- load_templates(template_path(td))
#> INFO [2024-11-07 10:36:52] Reading Template_7daytreated.xlsx with load_templates_xlsx
#> INFO [2024-11-07 10:36:52] Loading Template_7daytreated.xlsx
#> INFO [2024-11-07 10:36:52] Loading Template_Untreated.xlsx
#> INFO [2024-11-07 10:36:52] Templates loaded successfully!