[R-pkg-team] Bug#1102544: r-cran-patrick: autopkgtest failure
Adrian Bunk
bunk at debian.org
Thu Apr 10 10:54:12 BST 2025
Source: r-cran-patrick
Version: 0.3.0-1
Severity: serious
X-Debbugs-Cc: Charles Plessy <plessy at debian.org>
https://tracker.debian.org/pkg/r-cran-patrick
Issues preventing migration:
∙ ∙ autopkgtest for r-cran-patrick/0.3.0-1: amd64: Regression or new test ♻, arm64: Regression or new test ♻, armel: Regression or new test ♻, armhf: Regression or new test ♻, i386: Regression or new test ♻, ppc64el: Regression or new test ♻, riscv64: Regression or new test ♻, s390x: Regression or new test ♻
...
45s autopkgtest [03:21:22]: test run-unit-test: [-----------------------
45s BEGIN TEST testthat.R
45s
45s R version 4.4.2 (2024-10-31) -- "Pile of Leaves"
45s Copyright (C) 2024 The R Foundation for Statistical Computing
45s Platform: x86_64-pc-linux-gnu
45s
45s R is free software and comes with ABSOLUTELY NO WARRANTY.
45s You are welcome to redistribute it under certain conditions.
45s Type 'license()' or 'licence()' for distribution details.
45s
45s R is a collaborative project with many contributors.
45s Type 'contributors()' for more information and
45s 'citation()' on how to cite R or R packages in publications.
45s
45s Type 'demo()' for some demos, 'help()' for on-line help, or
45s 'help.start()' for an HTML browser interface to help.
45s Type 'q()' to quit R.
45s
45s > # Copyright 2018 Google LLC
45s > #
45s > # Licensed under the Apache License, Version 2.0 (the "License");
45s > # you may not use this file except in compliance with the License.
45s > # You may obtain a copy of the License at
45s > #
45s > # http://www.apache.org/licenses/LICENSE-2.0
45s > #
45s > # Unless required by applicable law or agreed to in writing, software
45s > # distributed under the License is distributed on an "AS IS" BASIS,
45s > # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
45s > # See the License for the specific language governing permissions and
45s > # limitations under the License.
45s >
45s > library(patrick)
46s > library(testthat)
46s >
46s > test_check("patrick")
48s [ FAIL 4 | WARN 101 | SKIP 0 | PASS 22 ]
48s
48s ══ Failed tests ════════════════════════════════════════════════════════════════
48s ── Failure ('test-with_parameters.R:141:3'): patrick reports the correct line numbers ──
48s `lines` (`actual`) not equal to c(3, 3) (`expected`).
48s
48s `actual`: 3 3 3 3
48s `expected`: 3 3
48s ── Failure ('test-with_parameters.R:178:3'): glue-formatted descriptions and test names supported ──
48s expectation_names(...) (`actual`) not identical to sprintf("testing for (x, y, z) = (%d, %d, %d)", 1:10, 2:11, 3:12) (`expected`).
48s
48s actual vs expected
48s "testing for (x, y, z) = (1, 2, 3)"
48s - "testing for (x, y, z) = (1, 2, 3)"
48s + "testing for (x, y, z) = (2, 3, 4)"
48s - "testing for (x, y, z) = (2, 3, 4)"
48s + "testing for (x, y, z) = (3, 4, 5)"
48s - "testing for (x, y, z) = (2, 3, 4)"
48s + "testing for (x, y, z) = (4, 5, 6)"
48s - "testing for (x, y, z) = (3, 4, 5)"
48s + "testing for (x, y, z) = (5, 6, 7)"
48s - "testing for (x, y, z) = (3, 4, 5)"
48s + "testing for (x, y, z) = (6, 7, 8)"
48s - "testing for (x, y, z) = (4, 5, 6)"
48s + "testing for (x, y, z) = (7, 8, 9)"
48s - "testing for (x, y, z) = (4, 5, 6)"
48s + "testing for (x, y, z) = (8, 9, 10)"
48s - "testing for (x, y, z) = (5, 6, 7)"
48s + "testing for (x, y, z) = (9, 10, 11)"
48s - "testing for (x, y, z) = (5, 6, 7)"
48s + "testing for (x, y, z) = (10, 11, 12)"
48s and 10 more ...
48s ── Failure ('test-with_parameters.R:189:3'): glue-formatted descriptions and test names supported ──
48s expectation_names(...) (`actual`) not identical to sprintf("testing for (x, y, z): (%d, %d, %d)", 1:10, 2:11, 3:12) (`expected`).
48s
48s actual vs expected
48s "testing for (x, y, z): (1, 2, 3)"
48s - "testing for (x, y, z): (1, 2, 3)"
48s + "testing for (x, y, z): (2, 3, 4)"
48s - "testing for (x, y, z): (2, 3, 4)"
48s + "testing for (x, y, z): (3, 4, 5)"
48s - "testing for (x, y, z): (2, 3, 4)"
48s + "testing for (x, y, z): (4, 5, 6)"
48s - "testing for (x, y, z): (3, 4, 5)"
48s + "testing for (x, y, z): (5, 6, 7)"
48s - "testing for (x, y, z): (3, 4, 5)"
48s + "testing for (x, y, z): (6, 7, 8)"
48s - "testing for (x, y, z): (4, 5, 6)"
48s + "testing for (x, y, z): (7, 8, 9)"
48s - "testing for (x, y, z): (4, 5, 6)"
48s + "testing for (x, y, z): (8, 9, 10)"
48s - "testing for (x, y, z): (5, 6, 7)"
48s + "testing for (x, y, z): (9, 10, 11)"
48s - "testing for (x, y, z): (5, 6, 7)"
48s + "testing for (x, y, z): (10, 11, 12)"
48s and 10 more ...
48s ── Failure ('test-with_parameters.R:201:3'): glue-formatted descriptions and test names supported ──
48s expectation_names(...) (`actual`) not identical to sprintf(...) (`expected`).
48s
48s actual vs expected
48s "testing for (x, y): ({x}, {y}) x=NULL, y=NULL"
48s - "testing for (x, y): ({x}, {y}) x=NULL, y=NULL"
48s - "testing for (x, y): ({x}, {y}) x=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, y=1, 2, 3, 4, 5, 6, 7, 8, 9, 10"
48s - "testing for (x, y): ({x}, {y}) x=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, y=1, 2, 3, 4, 5, 6, 7, 8, 9, 10"
48s + "testing for (x, y): ({x}, {y}) x=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, y=1, 2, 3, 4, 5, 6, 7, 8, 9, 10"
48s Backtrace:
48s ▆
48s 1. ├─testthat::expect_warning(...) at test-with_parameters.R:201:3
48s 2. │ └─testthat:::expect_condition_matching(...)
48s 3. │ └─testthat:::quasi_capture(...)
48s 4. │ ├─testthat (local) .capture(...)
48s 5. │ │ └─base::withCallingHandlers(...)
48s 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
48s 7. ├─testthat::expect_warning(...)
48s 8. │ └─testthat:::expect_condition_matching(...)
48s 9. │ └─testthat:::quasi_capture(...)
48s 10. │ ├─testthat (local) .capture(...)
48s 11. │ │ └─base::withCallingHandlers(...)
48s 12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
48s 13. └─testthat::expect_identical(...)
48s
48s [ FAIL 4 | WARN 101 | SKIP 0 | PASS 22 ]
48s Error: Test failures
48s Execution halted
48s autopkgtest [03:21:25]: test run-unit-test: -----------------------]
49s autopkgtest [03:21:26]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - -
49s run-unit-test FAIL non-zero exit status 1
...
More information about the R-pkg-team
mailing list