Skip to content

Commit

Permalink
crashes_error, workers
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Jan 27, 2025
1 parent 35ef668 commit 9445428
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
14 changes: 9 additions & 5 deletions R/crew_launcher_aws_batch.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ crew_launcher_aws_batch <- function(
reset_packages = FALSE,
reset_options = FALSE,
garbage_collection = FALSE,
crashes_error = 5L,
crashes_error = NULL,
tls = crew::crew_tls(mode = "automatic"),
processes = NULL,
r_arguments = c("--no-save", "--no-restore"),
Expand All @@ -107,6 +107,14 @@ crew_launcher_aws_batch <- function(
aws_batch_eks_properties_override = NULL
) {
name <- as.character(name %|||% crew::crew_random_name())
crew::crew_deprecate(
name = "crashes_error",
date = "2025-01-27",
version = "0.0.8",
alternative = "crashes_error",
condition = "message",
value = crashes_error
)
args <- match.call()
crew::crew_assert(
options_aws_batch,
Expand Down Expand Up @@ -139,7 +147,6 @@ crew_launcher_aws_batch <- function(
reset_packages = reset_packages,
reset_options = reset_options,
garbage_collection = garbage_collection,
crashes_error = crashes_error,
tls = tls,
processes = processes,
r_arguments = r_arguments,
Expand Down Expand Up @@ -216,7 +223,6 @@ crew_class_launcher_aws_batch <- R6::R6Class(
#' @param reset_packages See [crew_launcher_aws_batch()].
#' @param reset_options See [crew_launcher_aws_batch()].
#' @param garbage_collection See [crew_launcher_aws_batch()].
#' @param crashes_error See [crew_launcher_aws_batch()].
#' @param tls See [crew_launcher_aws_batch()].
#' @param processes See [crew_launcher_aws_batch()].
#' @param r_arguments See [crew_launcher_aws_batch()].
Expand All @@ -236,7 +242,6 @@ crew_class_launcher_aws_batch <- R6::R6Class(
reset_packages = NULL,
reset_options = NULL,
garbage_collection = NULL,
crashes_error = NULL,
tls = NULL,
processes = NULL,
r_arguments = NULL,
Expand All @@ -257,7 +262,6 @@ crew_class_launcher_aws_batch <- R6::R6Class(
reset_packages = reset_packages,
reset_options = reset_options,
garbage_collection = garbage_collection,
crashes_error = crashes_error,
tls = tls,
processes = processes,
r_arguments = r_arguments,
Expand Down
3 changes: 0 additions & 3 deletions man/crew_class_launcher_aws_batch.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/crew_launcher_aws_batch.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9445428

Please sign in to comment.