From afa19be7ed4e20a7a84ed922b034672deab9d0bb Mon Sep 17 00:00:00 2001 From: wlandau-lilly Date: Tue, 5 Dec 2023 11:36:40 -0500 Subject: [PATCH] Bump minimum crew version --- DESCRIPTION | 2 +- tests/testthat/test-class_crew.R | 14 +++++++------- tests/testthat/test-tar_make.R | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index cc39eff19..7e769eb56 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -76,7 +76,7 @@ Suggests: arrow (>= 3.0.0), bs4Dash (>= 2.0.0), clustermq (>= 0.9.1), - crew (>= 0.6.0.9004), + crew (>= 0.7.0), curl (>= 4.3), DT (>= 0.14), dplyr (>= 1.0.0), diff --git a/tests/testthat/test-class_crew.R b/tests/testthat/test-class_crew.R index d426cca15..f6f1ccf85 100644 --- a/tests/testthat/test-class_crew.R +++ b/tests/testthat/test-class_crew.R @@ -1,5 +1,5 @@ tar_test("crew$validate()", { - skip_if_not_installed("crew", minimum_version = "0.6.0.9004") + skip_if_not_installed("crew", minimum_version = "0.7.0") controller <- crew::crew_controller_local( host = "127.0.0.1", seconds_interval = 0.5 @@ -15,7 +15,7 @@ tar_test("crew database subkey", { tar_test("workerless deployment works", { skip_on_os("solaris") - skip_if_not_installed("crew", minimum_version = "0.6.0.9004") + skip_if_not_installed("crew", minimum_version = "0.7.0") skip_if_not_installed("R.utils") tar_runtime$fun <- "tar_make" tar_option_set(backoff = tar_backoff(min = 0.5, max = 0.5)) @@ -98,7 +98,7 @@ tar_test("semi-workerless deployment works", { skip_cran() skip_on_os("windows") skip_on_os("solaris") - skip_if_not_installed("crew", minimum_version = "0.6.0.9004") + skip_if_not_installed("crew", minimum_version = "0.7.0") skip_if_not_installed("R.utils") crew_test_sleep() tar_runtime$fun <- "tar_make" @@ -183,7 +183,7 @@ tar_test("some targets up to date, some not", { skip_cran() skip_on_os("windows") skip_on_os("solaris") - skip_if_not_installed("crew", minimum_version = "0.6.0.9004") + skip_if_not_installed("crew", minimum_version = "0.7.0") skip_if_not_installed("R.utils") tar_runtime$fun <- "tar_make" tar_option_set(backoff = tar_backoff(min = 0.5, max = 0.5)) @@ -238,7 +238,7 @@ tar_test("crew algo can skip targets", { skip_cran() skip_on_os("windows") skip_on_os("solaris") - skip_if_not_installed("crew", minimum_version = "0.6.0.9004") + skip_if_not_installed("crew", minimum_version = "0.7.0") skip_if_not_installed("R.utils") tar_runtime$fun <- "tar_make" tar_option_set(backoff = tar_backoff(min = 0.5, max = 0.5)) @@ -293,7 +293,7 @@ tar_test("nontrivial common data", { skip_cran() skip_on_os("windows") skip_on_os("solaris") - skip_if_not_installed("crew", minimum_version = "0.6.0.9004") + skip_if_not_installed("crew", minimum_version = "0.7.0") skip_if_not_installed("R.utils") tar_runtime$fun <- "tar_make" tar_option_set(backoff = tar_backoff(min = 0.5, max = 0.5)) @@ -337,7 +337,7 @@ tar_test("throttle validation", { skip_cran() skip_on_os("windows") skip_on_os("solaris") - skip_if_not_installed("crew", minimum_version = "0.6.0.9004") + skip_if_not_installed("crew", minimum_version = "0.7.0") expect_silent(validate_crew_throttle(NULL)) expect_silent(validate_crew_throttle(crew::crew_throttle())) expect_error( diff --git a/tests/testthat/test-tar_make.R b/tests/testthat/test-tar_make.R index 63bd72e63..a928e2caa 100644 --- a/tests/testthat/test-tar_make.R +++ b/tests/testthat/test-tar_make.R @@ -17,7 +17,7 @@ tar_test("tar_make() works", { tar_test("tar_make() works with crew", { skip_on_os("windows") skip_on_os("solaris") - skip_if_not_installed("crew", minimum_version = "0.6.0.9004") + skip_if_not_installed("crew", minimum_version = "0.7.0") skip_if_not_installed("R.utils") should_skip <- identical(tolower(Sys.info()[["sysname"]]), "windows") && isTRUE(as.logical(Sys.getenv("CI")))