Skip to content

Commit 86d45e1

Browse files
committed
remove tests dependent on sys config
1 parent c51a902 commit 86d45e1

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ MINOR CHANGES
1818
o when changing versions via 'install(version = "x.x")', Bioconductor
1919
packages to be up or down-graded are now enumerated
2020

21+
BUG FIXES
22+
23+
o Remove tests that were dependent on system configuration rather
24+
than the package itself
25+
2126
CHANGES IN VERSION 1.31.0
2227
-------------------------
2328

tests/testthat/test_install.R

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,7 @@ test_that(".install_ask_up_or_down_grade() works non-interactively", {
168168
)
169169
})
170170

171-
test_that("install() works when there is no version bump", {
172-
res <- valid()
173-
if (!isTRUE(res)) {
174-
expect_lte(NROW(res$too_new), 1L)
175-
expect_lte(NROW(res$out_of_date), 1L)
176-
} else
177-
expect_true(res)
178-
171+
test_that("install() fails with different version (non-interactive)", {
179172
map <- BiocManager:::.version_map()
180173
incr <- 1L
181174
version <-

0 commit comments

Comments
 (0)