This function orchestrates the full evaluation workflow based on a given configuration object. It initializes logging, optionally prepares the evaluation workspace, runs the evaluation for all species, and displays summary information.
evaluate(config)List. Configuration object created by make_config(),
containing all parameters required for the evaluation workflow.
NULL. This function is called for its side effects (running evaluation and logging results).
The total execution time is measured and logged at the end of the process. Errors occurring during evaluation are caught and logged.
The workflow includes the following steps:
Initializes the logger using the specified verbosity level.
Optionally initializes the evaluation workspace (copying data, preparing inputs, and running simulations if required).
Runs evaluation for all species using evaluate_species().
Displays comparison summaries using display_comparisons_info().
Errors occurring during the evaluation phase are captured and logged using
logger::log_error(), allowing the process to fail gracefully.
if (FALSE) { # \dontrun{
config <- make_config(
stics_exe = "/path/to/stics",
workspace = "workspace/",
metadata_file = "metadata.csv"
)
evaluate(config)
} # }