Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Jul 9, 2023
1 parent 7883a6c commit f99b09f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ as.numeric(results$result)
#> [1] 14 18
```

If at least one task in [`map()`](https://wlandau.github.io/crew/reference/crew_class_controller.html#method-crew_class_controller-map) throws an error, the default behavior is to error out in the main session and not return the results, If that happens, the results are available in the `controller$error`. To return the results instead of setting `controller$error`, regardless of error status, set `error = "warn"` or `"silent"` in [`map()`](https://wlandau.github.io/crew/reference/crew_class_controller.html#method-crew_class_controller-map). To conserve memory, consider setting `controller$error <- NULL` when you are done troubleshooting.

# Summaries

The controller summary shows how many tasks each worker ran, how many total seconds it spent running tasks, and how many tasks threw warnings and errors.
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,17 @@ as.numeric(results$result)
#> [1] 14 18
```

If at least one task in
[`map()`](https://wlandau.github.io/crew/reference/crew_class_controller.html#method-crew_class_controller-map)
throws an error, the default behavior is to error out in the main
session and not return the results, If that happens, the results are
available in the `controller$error`. To return the results instead of
setting `controller$error`, regardless of error status, set
`error = "warn"` or `"silent"` in
[`map()`](https://wlandau.github.io/crew/reference/crew_class_controller.html#method-crew_class_controller-map).
To conserve memory, consider setting `controller$error <- NULL` when you
are done troubleshooting.

# Summaries

The controller summary shows how many tasks each worker ran, how many
Expand Down

0 comments on commit f99b09f

Please sign in to comment.