Skip to content

Commit

Permalink
Bump crew version
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Feb 7, 2024
1 parent e106897 commit f54b5ab
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion R/tar_make.R
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
12 changes: 6 additions & 6 deletions tests/testthat/test-class_crew.R
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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))
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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))
Expand Down Expand Up @@ -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))
Expand Down Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-tar_make.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
Expand Down

0 comments on commit f54b5ab

Please sign in to comment.