| 1 |
|
| 2 |
test_that("renv_dots_check only sets bioconductor from bioc is not already set", { |
| 3 |
|
| 4 |
f <- function(..., bioconductor = NULL) { |
| 5 |
renv_dots_check(...) |
| 6 |
bioconductor |
| 7 |
} |
| 8 |
|
| 9 |
expect_true(f(bioc = TRUE)) |
| 10 |
expect_snapshot(f(bioconductor = FALSE, bioc = TRUE), error = TRUE) |
| 11 |
|
| 12 |
}) |