futureverse / futureverse/future.apply
When stopping with an error, return the item that caused the error
Open
feature request
- Dominant language
- R
- Stars
- 218
- Forks
- 20
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 1
Description
Consider, for example,
```
future.apply::future_lapply(1:10, function(x)
if (x == 8) stop("o no") else x + 1)
```
The error produced is
```
Error in ...future.FUN(...future.X_jj, ...) : o no
```
which doesn't provide any hint that 8 was the guilty input.
I think this is related to but smaller than #32.
Contributor guide
Assessment
This issue has not been assessed yet.