Skip to content

Commit

Permalink
crashes_error argument
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Nov 4, 2024
1 parent 452cc2e commit 57e22f3
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 31 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Description: In computationally demanding analysis projects,
'clustermq' by Schubert (2019) <doi:10.1093/bioinformatics/btz284>),
and 'batchtools' by Lang, Bischl, and Surmann (2017).
<doi:10.21105/joss.00135>.
Version: 0.0.6.9011
Version: 0.0.7
License: MIT + file LICENSE
URL: https://wlandau.github.io/crew.aws.batch/,
https://github.com/wlandau/crew.aws.batch
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# crew.aws.batch 0.0.6.9011 (development)
# crew.aws.batch 0.0.7

* Send both cancellation and termination requests to end jobs.
* Fix launcher bug/typo where parameters were supplied to container overrides.
Expand All @@ -7,6 +7,7 @@
* Support `options_metrics`.
* Reduce argument clutter with `crew_options_aws_batch()`. Supports direct inputs for CPUs, GPUs, and memory without having to specify a complicated `containerOverrides` list.
* Sanitize job names.
* Use `crashes_error` from `crew`.

# crew.aws.batch 0.0.6

Expand Down
4 changes: 2 additions & 2 deletions R/crew_controller_aws_batch.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ crew_controller_aws_batch <- function(
reset_packages = FALSE,
reset_options = FALSE,
garbage_collection = FALSE,
launch_max = 5L,
crashes_error = 5L,
processes = NULL,
r_arguments = c("--no-save", "--no-restore"),
options_metrics = crew::crew_options_metrics(),
Expand Down Expand Up @@ -88,7 +88,7 @@ crew_controller_aws_batch <- function(
reset_packages = reset_packages,
reset_options = reset_options,
garbage_collection = garbage_collection,
launch_max = launch_max,
crashes_error = crashes_error,
tls = tls,
processes = processes,
r_arguments = r_arguments,
Expand Down
10 changes: 5 additions & 5 deletions R/crew_launcher_aws_batch.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ crew_launcher_aws_batch <- function(
reset_packages = FALSE,
reset_options = FALSE,
garbage_collection = FALSE,
launch_max = 5L,
crashes_error = 5L,
tls = crew::crew_tls(mode = "automatic"),
processes = NULL,
r_arguments = c("--no-save", "--no-restore"),
Expand Down Expand Up @@ -137,7 +137,7 @@ crew_launcher_aws_batch <- function(
reset_packages = reset_packages,
reset_options = reset_options,
garbage_collection = garbage_collection,
launch_max = launch_max,
crashes_error = crashes_error,
tls = tls,
processes = processes,
r_arguments = r_arguments,
Expand Down Expand Up @@ -216,7 +216,7 @@ 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 launch_max 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 @@ -235,7 +235,7 @@ crew_class_launcher_aws_batch <- R6::R6Class(
reset_packages = NULL,
reset_options = NULL,
garbage_collection = NULL,
launch_max = NULL,
crashes_error = NULL,
tls = NULL,
processes = NULL,
r_arguments = NULL,
Expand All @@ -255,7 +255,7 @@ crew_class_launcher_aws_batch <- R6::R6Class(
reset_packages = reset_packages,
reset_options = reset_options,
garbage_collection = garbage_collection,
launch_max = launch_max,
crashes_error = crashes_error,
tls = tls,
processes = processes,
r_arguments = r_arguments,
Expand Down
4 changes: 2 additions & 2 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.

19 changes: 9 additions & 10 deletions man/crew_controller_aws_batch.Rd

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

19 changes: 9 additions & 10 deletions 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 57e22f3

Please sign in to comment.