You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
msg<- sprintf("Will not remove batchtools registry, because is appears to hold a non-resolved future (%s; state = %s; batchtools status = %s): %s", sQuote(label), sQuote(future$state), paste(sQuote(status), collapse=", "), sQuote(path)) #nolint
## To simplify post mortem troubleshooting in non-interactive sessions,
629
624
## should the batchtools registry files be removed or not?
630
-
mdebug("delete(): Option 'future.delete = %s",
625
+
mdebugf("delete(): Option 'future.delete = %s",
631
626
sQuote(getOption("future.delete", "<NULL>")))
632
627
if (!getOption("future.delete", interactive())) {
633
628
status<- status(future)
634
629
res<-future$result
635
630
if (inherits(res, "FutureResult")) {
636
631
if (result_has_errors(res)) status<- unique(c("error", status))
637
632
}
638
-
mdebug("delete(): status(<future>) = %s",
633
+
mdebugf("delete(): status(<future>) = %s",
639
634
paste(sQuote(status), collapse=", "))
640
635
if (any(c("error", "expired") %in%status)) {
641
636
msg<- sprintf("Will not remove batchtools registry, because the status of the batchtools was %s and option 'future.delete' is FALSE or running in an interactive session: %s", paste(sQuote(status), collapse=", "), sQuote(path)) #nolint
0 commit comments