Public bug reported:

The autopkgtest fails with the following error[1]

134s autopkgtest [10:24:59]: test run-unit-test: [-----------------------
134s 
134s R version 4.4.1 (2024-06-14) -- "Race for Your Life"
134s Copyright (C) 2024 The R Foundation for Statistical Computing
134s Platform: x86_64-pc-linux-gnu
134s 
134s R is free software and comes with ABSOLUTELY NO WARRANTY.
134s You are welcome to redistribute it under certain conditions.
134s Type 'license()' or 'licence()' for distribution details.
134s 
134s R is a collaborative project with many contributors.
134s Type 'contributors()' for more information and
134s 'citation()' on how to cite R or R packages in publications.
134s 
134s Type 'demo()' for some demos, 'help()' for on-line help, or
134s 'help.start()' for an HTML browser interface to help.
134s Type 'q()' to quit R.
134s 
134s > # This file is part of the standard setup for testthat.
134s > # It is recommended that you do not modify it.
134s > #
134s > # Where should you do additional test configuration?
134s > # Learn more about the roles of various files in:
134s > # * https://r-pkgs.org/tests.html
134s > # * https://testthat.r-lib.org/reference/test_package.html#special-files
134s > 
134s > library(testthat)
134s > library(RSQLite)
135s > 
135s > test_check("RSQLite")
135s Reason: On CRAN
145s [ FAIL 1 | WARN 842 | SKIP 9 | PASS 684 ]
145s 
145s ══ Skipped tests (9) 
═══════════════════════════════════════════════════════════
146s • .Platform$OS.type == "windows" is not TRUE (2): 'test-encoding.R:37:3',
146s   'test-encoding.R:134:3'
146s • astyle not found (1): 'test-astyle.R:2:3'
146s • NYI (1): 'test-affinity.R:110:3'
146s • On Appveyor (2): 'test-blob.R:3:3', 'test-blob.R:21:3'
146s • On CRAN (3): 'test-dbConnect.R:150:3', 'test-dbConnect.R:211:3',
146s   'test-DBItest.R:2:1'
146s 
146s ══ Failed tests 
════════════════════════════════════════════════════════════════
146s ── Failure ('test-affinity.R:98:3'): affinity checks for dbFetch() 
─────────────
146s `expect_equal(class(dbFetch(rs, 1)$a), real_type)` threw an unexpected 
warning.
146s Message: Changing language has no effect when envvar LC_ALL='C.UTF-8'
146s Class:   simpleWarning/warning/condition
146s Backtrace:
146s      ▆
146s   1. ├─... %>% expect_warning("coercing") at test-affinity.R:98:3
146s   2. ├─testthat::expect_warning(., "coercing")
146s   3. │ └─testthat:::expect_condition_matching(...)
146s   4. │   └─testthat:::quasi_capture(...)
146s   5. │     ├─testthat (local) .capture(...)
146s   6. │     │ └─base::withCallingHandlers(...)
146s   7. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
146s   8. ├─testthat::expect_warning(., "coercing")
146s   9. │ └─testthat:::expect_condition_matching(...)
146s  10. │   └─testthat:::quasi_capture(...)
146s  11. │     ├─testthat (local) .capture(...)
146s  12. │     │ └─base::withCallingHandlers(...)
146s  13. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
146s  14. ├─testthat::expect_warning(., "coercing")
146s  15. │ └─testthat:::expect_condition_matching(...)
146s  16. │   └─testthat:::quasi_capture(...)
146s  17. │     ├─testthat (local) .capture(...)
146s  18. │     │ └─base::withCallingHandlers(...)
146s  19. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
146s  20. ├─testthat::expect_warning(., "coercing")
146s  21. │ └─testthat:::expect_condition_matching(...)
146s  22. │   └─testthat:::quasi_capture(...)
146s  23. │     ├─testthat (local) .capture(...)
146s  24. │     │ └─base::withCallingHandlers(...)
146s  25. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
146s  26. ├─testthat::expect_warning(., "coercing")
146s  27. │ └─testthat:::expect_condition_matching(...)
146s  28. │   └─testthat:::quasi_capture(...)
146s  29. │     ├─testthat (local) .capture(...)
146s  30. │     │ └─base::withCallingHandlers(...)
146s  31. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
146s  32. ├─testthat::expect_warning(., "coercing")
146s  33. │ └─testthat:::expect_condition_matching(...)
146s  34. │   └─testthat:::quasi_capture(...)
146s  35. │     ├─testthat (local) .capture(...)
146s  36. │     │ └─base::withCallingHandlers(...)
146s  37. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
146s  38. ├─testthat::expect_warning(., "coercing")
146s  39. │ └─testthat:::expect_condition_matching(...)
146s  40. │   └─testthat:::quasi_capture(...)
146s  41. │     ├─testthat (local) .capture(...)
146s  42. │     │ └─base::withCallingHandlers(...)
146s  43. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
146s  44. ├─testthat::expect_warning(., "coercing")
146s  45. │ └─testthat:::expect_condition_matching(...)
146s  46. │   └─testthat:::quasi_capture(...)
146s  47. │     ├─testthat (local) .capture(...)
146s  48. │     │ └─base::withCallingHandlers(...)
146s  49. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
146s  50. └─RSQLite (local) check_affinity_fetch("BLOB", class(blob()), 
class(blob()))
146s  51.   ├─testthat::expect_warning(...) at test-affinity.R:60:3
146s  52.   │ └─testthat:::expect_condition_matching(...)
146s  53.   │   └─testthat:::quasi_capture(...)
146s  54.   │     ├─testthat (local) .capture(...)
146s  55.   │     │ └─base::withCallingHandlers(...)
146s  56.   │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
146s  57.   └─testthat::expect_equal(class(dbFetch(rs, 1)$a), real_type)
146s  58.     └─testthat:::expect_waldo_equal("equal", act, exp, info, ..., 
tolerance = tolerance)
146s  59.       └─testthat:::waldo_compare(...)
146s  60.         └─testthat:::local_reporter_output()
146s  61.           └─reporter$local_user_output(.env)
146s  62.             └─testthat::local_reproducible_output(...)
146s  63.               └─withr::local_language(lang, .local_envir = .env)
146s  64.                 └─withr:::check_language_envvar("LC_ALL")
146s 
146s [ FAIL 1 | WARN 842 | SKIP 9 | PASS 684 ]
146s Error: Test failures
146s In addition: Warning message:
146s call dbDisconnect() when finished working with a connection 
146s Execution halted
146s autopkgtest [10:25:11]: test run-unit-test: -----------------------]
146s run-unit-test        FAIL non-zero exit status 1
146s autopkgtest [10:25:11]: test run-unit-test:  - - - - - - - - - - results - 
- - - - - - - - -

[1]
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
oracular/oracular/amd64/r/r-cran-rsqlite/20240616_102717_44a5c@/log.gz

** Affects: r-cran-rsqlite (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: r-cran-withr (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Also affects: r-cran-rsqlite (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: update

** Tags removed: update
** Tags added: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2072810

Title:
  proposed migration r-cran-withr 3.0.0+dfsg-1 vs  r-cran-
  rsqlite/2.3.7-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/r-cran-rsqlite/+bug/2072810/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to