futureverse / futureverse/future.apply

When stopping with an error, return the item that caused the error

Open
#101 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.