diff --git a/R/race-wrapper.R b/R/race-wrapper.R index 639358bd..4e615534 100644 --- a/R/race-wrapper.R +++ b/R/race-wrapper.R @@ -527,6 +527,9 @@ execute.experiments <- function(experiments, scenario) scenario$targetRunnerParallel(experiments, exec.target.runner, scenario = scenario, target.runner = target.runner) + if (is.null(target.output)) { + irace.error("Stopping because the output of targetRunnerParallel is NULL.") + } } else if (scenario$batchmode != 0) { target.output <- cluster.lapply (experiments, scenario = scenario) } else if (parallel > 1) {