-
Notifications
You must be signed in to change notification settings - Fork 11
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
Continue executing after error #64
Comments
anthonysena
added
sos-challenge
Issues raised during the Save Our Sisyphus challenge
and removed
sos-challenge
Issues raised during the Save Our Sisyphus challenge
labels
Oct 2, 2023
anthonysena
changed the title
Continue executing targets after error
Continue executing after error
Jul 16, 2024
Noting that in v1.x we will no longer use |
Closing since 1) we're not planning to use targets moving forward (at least inside of Strategus) and 2) we're tracking this via #141. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Scenario: when executing an analysis specification, it may be desirable to continue to execute each target module if one fails. An example: we have an analysis specification that runs CohortGenerator (CG), CohortMethod (CM) and PatientLevelPrediction (PLP). If the single threaded execution, the workflow may be CG -> CM -> PLP. If CM were to fail, PLP is not executed which then means we lose some execution time until a user intervenes.
Based on https://docs.ropensci.org/targets/reference/tar_target.html, it should be possible to set targets::tar_option_get("error") with the value of "continue" to achieve this behavior.
The text was updated successfully, but these errors were encountered: