logger package producing error in the verification suite
By chance, I found out that if I load the logger
package I get the following error in the function prepare_outputs()
:
Error in logger(threshold = recipe$Run$Loglevel, appenders = list(console_appender(layout = default_log_layout()), : unused argument (appenders = list(console_appender(layout = default_log_layout()), file_appender(logfile, append = TRUE, layout = default_log_layout())))
You can run this piece of code:
recipe_file <- "/esarchive/scratch/jramon/GitLab_jramon/auto-s2s/modules/Loading/testing_recipes/recipe_system5c3s-tas_downscaling.yml"
recipe <- prepare_outputs(recipe_file)
It is true that I don't need to load logger
to work but this is for you to be aware.
Jaume