R/parallelMap.R
changed.
Showing 1 of 1 files from the diff.
@@ -221,11 +221,12 @@
Loading
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 | 85.26% |
Project Totals (20 files) | 85.26% |
228227897
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.