proposed migration r-cran-withr 3.0.0+dfsg-1 vs r-cran-testthat/3.2.1-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
r-cran-testthat (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
r-cran-withr (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The autopkgtest fails with the following error[1]
139s autopkgtest [10:25:06]: test run-unit-test: [------
140s
140s R version 4.4.1 (2024-06-14) -- "Race for Your Life"
140s Copyright (C) 2024 The R Foundation for Statistical Computing
140s Platform: x86_64-pc-linux-gnu
140s
140s R is free software and comes with ABSOLUTELY NO WARRANTY.
140s You are welcome to redistribute it under certain conditions.
140s Type 'license()' or 'licence()' for distribution details.
140s
140s R is a collaborative project with many contributors.
140s Type 'contributors()' for more information and
140s 'citation()' on how to cite R or R packages in publications.
140s
140s Type 'demo()' for some demos, 'help()' for on-line help, or
140s 'help.start()' for an HTML browser interface to help.
140s Type 'q()' to quit R.
140s
140s > library(testthat)
140s > test_check(
140s Starting 2 test processes
182s [ FAIL 10 | WARN 1412 | SKIP 122 | PASS 819 ]
182s
182s ══ Skipped tests (122) ═══════
184s • file.exists(
184s 'test-test-
184s • On CRAN (119): 'test-parallel-
184s 'test-deprec-
184s 'test-expect-
184s 'test-expect-
184s 'test-expect-
184s 'test-expect-
184s 'test-expect-
184s 'test-expect-
184s 'test-expect-
184s 'test-expect-
184s 'test-expect-
184s 'test-local.
184s 'test-mock2.
184s 'test-reporter-
184s 'test-reporter-
184s 'test-reporter-
184s 'test-reporter-
184s 'test-reporter-
184s 'test-reporter-
184s 'test-reporter-
184s 'test-reporter-
184s 'test-reporter.
184s 'test-skip.R:43:3', 'test-skip.R:50:3', 'test-skip.R:59:3',
184s 'test-skip.R:77:3', 'test-skip.R:85:3', 'test-skip.R:92:3',
184s 'test-skip.
184s 'test-skip.
184s 'test-reporter-
184s 'test-reporter-
184s 'test-reporter-
184s 'test-reporter-
184s 'test-snapshot-
184s 'test-snapshot-
184s 'test-snapshot-
184s 'test-snapshot-
184s 'test-snapshot-
184s 'test-snapshot-
184s 'test-snapshot-
184s 'test-snapshot-
184s 'test-snapshot-
184s 'test-source.
184s 'test-source.
184s 'test-snapshot.
184s 'test-snapshot.
184s 'test-snapshot.
184s 'test-snapshot.
184s 'test-snapshot.
184s 'test-snapshot.
184s 'test-test-
184s 'test-verify-
184s 'test-verify-
184s 'test-verify-
184s 'test-test-
184s • teardown errors are ignored (1): 'test-parallel-
184s
184s ══ Failed tests ═══════
184s ── Error ('test-
184s Error in `call_type(call)`: corrupt language object
184s ── Failure ('test-
184s expectation_
184s
184s `actual`: "warning"
184s `expected`: "failure"
184s ── Failure ('test-
184s df$error (`actual`) not equal to c(FALSE, FALSE, FALSE, FALSE, TRUE) (`expected`).
184s
184s `actual[2:5]`: FALSE FALSE FALSE FALSE
184s `expected[2:5]`: FALSE FALSE FALSE TRUE
184s ── Failure ('test-
184s get_frame_
184s
184s `actual` is an environment
184s `expected` is NULL
184s ── Failure ('test-
184s `lines` (`actual`) not equal to c(2, 3) (`expected`).
184s
184s `actual`: 2 2 3
184s `expected`: 2 3
184s ── Failure ('test-
184s `lines` (`actual`) not equal to 4 (`expected`).
184s
184s `actual`: 4 4
184s `expected`: 4
184s ── Failure ('test-
184s `lines` (`actual`) not equal to 5 (`expected`).
184s
184s `actual`: 5 5
184s `expected`: 5
184s ── Failure ('test-
184s `lines` (`actual`) not equal to rep(2, 4) (`expected`).
184s
184s `actual[2:8]`: 2 2 2 2 2 2 2
184s `expected[2:4]`: 2 2 2
184s ── Error ('test-
184s <expressionStac
184s Error: evaluation nested too deeply: infinite recursion / options(
184s Backtrace:
184s ▆
184s 1. ├─testthat:
184s 2. │ └─base:
184s 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
184s 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
184s 5. │ └─base (local) doTryCatch(
184s 6. ├─withr:
184s 7. │ └─base::force(code)
184s 8. ├─testthat:
184s 9. │ └─testthat:
184s 10. │ └─testthat:
184s 11. │ └─withr:
184s 12. │ └─withr:
184s 13. │ └─base:
184s 14. ├─base:
184s 15. │ └─base:
184s 16. │ └─base (local) withOneRestart(
184s 17. │ └─base (local) doWithOneRestar
184s 18. ├─testthat (local) `<fn>`(
184s 19. │ └─rlang:
184s 20. │ └─rlang:
184s 21. │ └─rlang:
184s 22. │ └─base::lapply(.x, .f, ...)
184s 23. │ └─rlang (local) FUN(X[[i]], ...)
184s 24. └─rlang:
184s 25. ├─rlang:
184s 26. │ └─rlang:
184s 27. ├─base:
184s 28. └─rlang:
184s 29. └─rlang:
184s 30. └─rlang:
184s 31. ├─rlang:
184s 32. │ └─rlang:
184s 33. │ └─rlang:
184s 34. └─rlang:::pmap(...)
184s 35. └─rlang:
184s 36. └─rlang:
184s 37. └─rlang:
184s 38. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
184s ── Failure ('test-
184s `test_that("", expect_true(TRUE))` generated warnings:
184s * Changing language has no effect when envvar LC_ALL='C.UTF-8'
184s
184s [ FAIL 10 | WARN 1412 | SKIP 122 | PASS 819 ]
184s Deleting unused snapshots:
184s • R4.0/snapshot-
184s • R4.1/snapshot-
184s • R4.2/snapshot-
184s • R4.3/snapshot-
184s • snapshot-file/a.txt
184s • snapshot-
184s • snapshot-
184s • snapshot-file/foo.r
184s • snapshot-
184s Error: Test failures
185s Execution halted
185s autopkgtest [10:25:52]: test run-unit-test: -------
185s autopkgtest [10:25:52]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - -
185s run-unit-test FAIL non-zero exit status 1
tags: | added: update-excuse |