Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic target not logged as failed when a sub-target fails #1158

Closed
3 tasks done
wlandau opened this issue Jan 31, 2020 · 0 comments
Closed
3 tasks done

Dynamic target not logged as failed when a sub-target fails #1158

wlandau opened this issue Jan 31, 2020 · 0 comments
Assignees

Comments

@wlandau
Copy link
Member

wlandau commented Jan 31, 2020

Prework

Reproducible example

library(drake)
plan <- drake_plan(
  x = seq_len(2),
  y = target(stop(x), dynamic = map(x))
)
make(plan)
#> In drake, consider r_make() instead of make(). r_make() runs make() in a fresh R session for enhanced robustness and reproducibility.
#> target x
#> dynamic y
#> subtarget y_0b3474bd
#> fail y_0b3474bd
#> Error: Target `y_0b3474bd` failed. Call `diagnose(y_0b3474bd)` for details. Error message:
#>   1
failed()
#> [1] "y_0b3474bd"

Created on 2020-01-31 by the reprex package (v0.3.0)

@wlandau wlandau self-assigned this Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant