Closed HenrikBengtsson closed 3 years ago
BiocParallel's DoParam backend assumes that the error messages produced by foreach match regular expression task ([[:digit:]]+).*, cf. https://github.com/Bioconductor/BiocParallel/issues/132.
task ([[:digit:]]+).*
Add an R option doFuture.workarounds such that when using:
doFuture.workarounds
options(doFuture.workarounds = c("BiocParallel.DoParam.errors"))`
with corresponding R_DOFUTURE_WORKAROUNDS environment variable (comma separated).
R_DOFUTURE_WORKAROUNDS
doFuture will prefix also its FutureError messages with task <index> such that BiocParallel won't choke on such errors.
task <index>
Background
BiocParallel's DoParam backend assumes that the error messages produced by foreach match regular expression
task ([[:digit:]]+).*
, cf. https://github.com/Bioconductor/BiocParallel/issues/132.Suggestion
Add an R option
doFuture.workarounds
such that when using:with corresponding
R_DOFUTURE_WORKAROUNDS
environment variable (comma separated).doFuture will prefix also its FutureError messages with
task <index>
such that BiocParallel won't choke on such errors.