No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
5cb3429
... +0 ...
1643da9
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
221 | 221 | extra.msg) |
|
222 | 222 | } else { # if we reached this line and error occurred, we have impute.error != NULL (NULL --> stop before) |
|
223 | 223 | res = batchtools::findJobs(reg = reg) |
|
224 | - | res$result = list() |
|
224 | + | res$result = list(NULL) |
|
225 | 225 | ids.complete = batchtools::findDone(reg = reg) |
|
226 | 226 | ids.incomplete = batchtools::findNotDone(reg = reg) |
|
227 | - | res[ids.complete, data.table::`:=`("result", batchtools::reduceResultsList(ids.complete, reg = reg)), with = FALSE] |
|
228 | - | ids[ids.complete, data.table::`:=`("result", lapply(batchtools::getErrorMessages(ids.incomplete, reg = reg)$message, simpleError)), with = FALSE] |
|
227 | + | res[match(ids.complete$job.id, res$job.id), "result"] = list(batchtools::reduceResultsList(ids.complete, reg = reg)) |
|
228 | + | res[match(ids.incomplete$job.id, res$job.id), "result"] = list(lapply(batchtools::getErrorMessages(ids.incomplete, reg = reg)$message, simpleError)) |
|
229 | + | res = res$result |
|
229 | 230 | } |
|
230 | 231 | } |
|
231 | 232 | } |
Files | Coverage |
---|---|
R | -0.14% 85.26% |
Project Totals (20 files) | 85.26% |
#93
1643da9
5cb3429