Title: Option to drop into 'recover' when running testJob throws an error · Issue #302 · mlr-org/batchtools · GitHub
Open Graph Title: Option to drop into 'recover' when running testJob throws an error · Issue #302 · mlr-org/batchtools
X Title: Option to drop into 'recover' when running testJob throws an error · Issue #302 · mlr-org/batchtools
Description: I want to be able to run testJob() and go into the debugger when an error occurs. Currently, testJob() ends up calling execJob.Experiment, which does this https://github.com/mllg/batchtools/blob/1196047ed5115d54bde2923848c1f3ec11fda6d2/R...
Open Graph Description: I want to be able to run testJob() and go into the debugger when an error occurs. Currently, testJob() ends up calling execJob.Experiment, which does this https://github.com/mllg/batchtools/blob/11...
X Description: I want to be able to run testJob() and go into the debugger when an error occurs. Currently, testJob() ends up calling execJob.Experiment, which does this https://github.com/mllg/batchtools/blob/11...
Opengraph URL: https://github.com/mlr-org/batchtools/issues/302
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Option to drop into 'recover' when running testJob throws an error","articleBody":"I want to be able to run testJob() and go into the debugger when an error occurs. Currently, testJob() ends up calling execJob.Experiment, which does this\r\n\r\nhttps://github.com/mllg/batchtools/blob/1196047ed5115d54bde2923848c1f3ec11fda6d2/R/execJob.R#L36\r\n\r\nThis means I can not set `options(error=recover)` before running testJob() to get what I want. There should be some kind of option to override this, or to stop execJob from overwriting options here (realistically someone might want to have an 'error' option that is something else entirely).","author":{"url":"https://github.com/mb706","@type":"Person","name":"mb706"},"datePublished":"2024-08-21T12:36:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/302/batchtools/issues/302"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5c5b23e1-8ebe-e3b2-0052-fe73b1a7d955 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA1A:9991F:1DFFB13:26C90E1:698BFA76 |
| html-safe-nonce | e75afd4e47d7508ed1c4a443faf15459137db6fc7a8bac041e0284a300f2def2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTFBOjk5OTFGOjFERkZCMTM6MjZDOTBFMTo2OThCRkE3NiIsInZpc2l0b3JfaWQiOiIyMTExMTE2NDY5NDU4NDM0Njc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | adca6960b9d177301a10b72da95bc5b5e814d8d2020d5b30db8a5050d112629a |
| hovercard-subject-tag | issue:2477932827 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/mlr-org/batchtools/302/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8e4b96978f60f4b0fe5d517291c63c36e71c44b58341ab5d60d02238cc1e5447/mlr-org/batchtools/issues/302 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8e4b96978f60f4b0fe5d517291c63c36e71c44b58341ab5d60d02238cc1e5447/mlr-org/batchtools/issues/302 |
| og:image:alt | I want to be able to run testJob() and go into the debugger when an error occurs. Currently, testJob() ends up calling execJob.Experiment, which does this https://github.com/mllg/batchtools/blob/11... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mb706 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/mlr-org/batchtools git https://github.com/mlr-org/batchtools.git |
| octolytics-dimension-user_id | 12941794 |
| octolytics-dimension-user_login | mlr-org |
| octolytics-dimension-repository_id | 44973661 |
| octolytics-dimension-repository_nwo | mlr-org/batchtools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 44973661 |
| octolytics-dimension-repository_network_root_nwo | mlr-org/batchtools |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width