Skip to content

Commit

Permalink
Bump minimum crew version
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Dec 5, 2023
1 parent 01d8fdb commit afa19be
Show file tree
Hide file tree
Showing 3 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 @@ -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),
Expand Down
14 changes: 7 additions & 7 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.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
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.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))
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.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"
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.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))
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.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))
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.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))
Expand Down Expand Up @@ -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(
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.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")))
Expand Down

0 comments on commit afa19be

Please sign in to comment.