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 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
963
-
if (debug) mdebugf("delete(): %s", msg)
964
-
warning(msg)
965
-
return(invisible(FALSE))
977
+
if (delete=="on-success") {
978
+
msg<- sprintf("Will not remove batchtools registry, because the status of the batchtools was %s and future backend argument 'delete' is %s: %s", paste(sQuote(status), collapse=", "), sQuote(delete), sQuote(path)) #nolint
979
+
if (debug) mdebugf("delete(): %s", msg)
980
+
warning(msg)
981
+
return(invisible(FALSE))
982
+
}
966
983
}
967
984
}
968
985
969
986
## Have user disabled deletions?
970
-
if (!getOption("future.delete", TRUE)) {
971
-
msg<- sprintf("Option 'future.delete' is FALSE - will not delete batchtools registry: %s", sQuote(path))
987
+
if (delete=="never") {
988
+
msg<- sprintf("Future backend argument 'delete' is %s - will not delete batchtools registry: %s", sQuote(delete), sQuote(path))
0 commit comments