Skip to content

Commit 999db2a

Browse files
committed
compatibility with wlandau/crew#217 in tests
1 parent 2363c73 commit 999db2a

7 files changed

Lines changed: 12 additions & 12 deletions

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Description: In computationally demanding analysis projects,
1515
'clustermq' by Schubert (2019) <doi:10.1093/bioinformatics/btz284>),
1616
and 'batchtools' by Lang, Bischl, and Surmann (2017).
1717
<doi:10.21105/joss.00135>.
18-
Version: 0.3.7.9000
18+
Version: 0.3.7.9001
1919
License: MIT + file LICENSE
2020
URL: https://wlandau.github.io/crew.cluster/,
2121
https://github.com/wlandau/crew.cluster

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# crew.cluster 0.3.7.9000 (development)
2-
1+
# crew.cluster 0.3.7.9001 (development)
32

3+
* Use `expect_no_error()` instead of `expect_silent()` to ensure compatibility with the deprecations to fix https://github.com/wlandau/crew/issues/217.
44

55
# crew.cluster 0.3.7
66

tests/testthat/test-crew_launcher_cluster.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
test_that("valid abstract cluster launcher object", {
2-
expect_silent(crew_launcher_cluster())
2+
expect_no_error(crew_launcher_cluster())
33
})
44

55
test_that("bad field in cluster launcher object", {

tests/testthat/test-crew_launcher_lsf.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
test_that("valid simple crew_launcher_lsf()", {
2-
expect_silent(crew_launcher_lsf())
2+
expect_no_error(crew_launcher_lsf())
33
})
44

55
test_that("valid populated crew_launcher_lsf()", {
6-
expect_silent(
6+
expect_no_error(
77
crew_launcher_lsf(
88
options_cluster = crew_options_lsf(
99
script_lines = c("module load R", "echo 'start'"),

tests/testthat/test-crew_launcher_pbs.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
test_that("valid simple crew_launcher_pbs()", {
2-
expect_silent(crew_launcher_pbs())
2+
expect_no_error(crew_launcher_pbs())
33
})
44

55
test_that("valid populated crew_launcher_pbs()", {
6-
expect_silent(
6+
expect_no_error(
77
crew_launcher_pbs(
88
options_cluster = crew_options_pbs(
99
script_lines = c("module load R", "echo 'start'"),

tests/testthat/test-crew_launcher_sge.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
test_that("valid simple crew_launcher_sge()", {
2-
expect_silent(crew_launcher_sge())
2+
expect_no_error(crew_launcher_sge())
33
})
44

55
test_that("valid populated crew_launcher_sge()", {
6-
expect_silent(
6+
expect_no_error(
77
crew_launcher_sge(
88
options_cluster = crew_options_sge(
99
script_lines = c("module load R", "echo 'start'"),

tests/testthat/test-crew_launcher_slurm.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
test_that("valid simple crew_launcher_slurm()", {
2-
expect_silent(crew_launcher_slurm())
2+
expect_no_error(crew_launcher_slurm())
33
})
44

55
test_that("valid populated crew_launcher_slurm()", {
6-
expect_silent(
6+
expect_no_error(
77
crew_launcher_slurm(
88
options_cluster = crew_options_slurm(
99
script_lines = c("module load R", "echo 'start'"),

0 commit comments

Comments
 (0)