diff --git a/DESCRIPTION b/DESCRIPTION index f08607e4..ea70dfd1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -78,7 +78,7 @@ Suggests: arrow (>= 3.0.0), bs4Dash (>= 2.0.0), clustermq (>= 0.9.2), - crew (>= 0.8.0.9003), + crew (>= 0.9.0), curl (>= 4.3), DT (>= 0.14), dplyr (>= 1.0.0), diff --git a/R/tar_make.R b/R/tar_make.R index 738c36bd..72be3bed 100644 --- a/R/tar_make.R +++ b/R/tar_make.R @@ -240,7 +240,7 @@ tar_make_inner <- function( envir = tar_option_get("envir") )$run() } else { - tar_assert_package("crew (>= 0.8.0.9003)") + tar_assert_package("crew (>= 0.9.0)") crew_init( pipeline = pipeline, meta = meta_init(path_store = path_store), diff --git a/tests/testthat/test-class_crew.R b/tests/testthat/test-class_crew.R index 419d7b13..b26f71f9 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.8.0.9003") + skip_if_not_installed("crew", minimum_version = "0.9.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.8.0.9003") + skip_if_not_installed("crew", minimum_version = "0.9.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.8.0.9003") + skip_if_not_installed("crew", minimum_version = "0.9.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.8.0.9003") + skip_if_not_installed("crew", minimum_version = "0.9.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.8.0.9003") + skip_if_not_installed("crew", minimum_version = "0.9.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.8.0.9003") + skip_if_not_installed("crew", minimum_version = "0.9.0") skip_if_not_installed("R.utils") tar_runtime$fun <- "tar_make" tar_option_set(backoff = tar_backoff(min = 0.5, max = 0.5)) diff --git a/tests/testthat/test-tar_make.R b/tests/testthat/test-tar_make.R index c566e0be..e884c2b3 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.8.0.9003") + skip_if_not_installed("crew", minimum_version = "0.9.0") skip_if_not_installed("R.utils") should_skip <- identical(tolower(Sys.info()[["sysname"]]), "windows") && isTRUE(as.logical(Sys.getenv("CI")))