[R-pkg-team] Bug#1043223: r-cran-biocmanager: autopkgtest needs update for r-bioc-biocversion

Graham Inggs ginggs at debian.org
Tue Aug 15 15:06:03 BST 2023


Control: tags -1 + patch

The failing test "install() without package names" was previously
skipped, but enabled again [1] in a recent upload.

The reason the autopkgtests pass in testing [2] is that testing
Bioconductor version 3.16 with R version 4.3 is considered a
misconfiguration, and several tests are skipped.  See test output
below.

The following patch will skip the failing test unconditionally:

--- a/tests/testthat/test_install.R
+++ b/tests/testthat/test_install.R
@@ -329,7 +329,7 @@
 })

 test_that("install() without package names passes ... to install.packages", {
-    .skip_if_misconfigured()
+    skip()
     object <- FALSE
     with_mock(
         available.packages = function(...) {

Regards
Graham


[1] https://salsa.debian.org/r-pkg-team/r-cran-biocmanager/-/commit/9f65e83f51ad6b1b9e8edc05fa92c7bf86e587e7
[2] https://ci.debian.net/data/autopkgtest/testing/amd64/r/r-cran-biocmanager/36777045/log.gz


 37s > library(testthat)
 37s > library(BiocManager)
 37s Bioconductor version '3.16' requires R version '4.2'; use
`version = '3.17'`
 37s   with R version 4.3; see https://bioconductor.org/install
 37s Bioconductor version '3.16' is out-of-date; the current release
version '3.17'
 37s   is available with R version '4.3'; see https://bioconductor.org/install
 37s >
 37s > test_check("BiocManager")
 84s [ FAIL 0 | WARN 0 | SKIP 27 | PASS 72 ]
 84s
 84s == Skipped tests (27)
==========================================================
 85s * On CRAN (8): 'test_repositories.R:33:5', 'test_repositories.R:127:5',
 85s   'test_repositories.R:165:5', 'test_version.R:17:5',
'test_version.R:39:5',
 85s   'test_version.R:235:5', 'test_version.R:246:5', 'test_version.R:277:5'
 85s * mis-configuration, R 4.3.1, Bioconductor 3.16 (18):
'test_install.R:26:5',
 85s   'test_install.R:44:5', 'test_install.R:203:5', 'test_install.R:332:5',
 85s   'test_repositories.R:4:5', 'test_repositories.R:13:5',
 85s   'test_repositories.R:19:5', 'test_repositories.R:25:5',
 85s   'test_repositories.R:42:5', 'test_repositories.R:53:5',
 85s   'test_repositories.R:117:5', 'test_valid.R:4:5', 'test_version.R:91:5',
 85s   'test_version.R:106:5', 'test_version.R:146:5', 'test_version.R:193:5',
 85s   'test_version.R:327:5', 'test_version.R:386:5'
 85s * too idiosyncratic for standardized testing (1): 'test_install.R:164:5'
 85s
 85s [ FAIL 0 | WARN 0 | SKIP 27 | PASS 72 ]



More information about the R-pkg-team mailing list