[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#980956: r-cran-magrittr breaks r-cran-dbplyr autopkgtest: could not find function "split_chain"

Source: r-cran-magrittr, r-cran-dbplyr
Control: found -1 r-cran-magrittr/2.0.1-1
Control: found -1 r-cran-dbplyr/1.4.4-1
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update
Control: block 980851 by -1

Dear maintainer(s),

With a recent upload (62 days ago) of r-cran-magrittr the autopkgtest of
r-cran-dbplyr fails in testing when that autopkgtest is run with the
binary packages of r-cran-magrittr from unstable. It passes when run
with only packages from testing. In tabular form:

                       pass            fail
r-cran-magrittr        from testing    2.0.1-1
r-cran-dbplyr          from testing    2.0.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of r-cran-magrittr
to testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on


[1] https://qa.debian.org/excuses.php?package=r-cran-magrittr

autopkgtest [08:12:46]: test run-unit-test: [-----------------------
BEGIN TEST testthat.R

R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(testthat)
> library(dbplyr)
> test_check("dbplyr")
Registering testing src: sqlite OK
══ Skipped tests
● identical(Sys.getenv("GITHUB_POSTGRES"), "true") is not TRUE (1)
● Need at least two srcs to compare (6)
● No MariaDB (3)
● No mssql (2)
● No postgres (2)
● On CRAN (60)

══ Failed tests
── Error (test-translate-sql.R:75:3): magrittr pipe is translated
Error: could not find function "split_chain"
  1. ├─testthat::expect_identical(translate_sql(1 %>% is.na()),
translate_sql(is.na(1))) test-translate-sql.R:75:2
  2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
  3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
  4. ├─dbplyr::translate_sql(1 %>% is.na())
  5. │ └─dbplyr::translate_sql_(...)
  6. │   └─base::lapply(...)
  7. │     └─dbplyr:::FUN(X[[i]], ...)
  8. │       ├─dbplyr::escape(eval_tidy(x, mask), con = con)
  9. │       └─rlang::eval_tidy(x, mask)
 10. └─1 %>% is.na()

[ FAIL 1 | WARN 0 | SKIP 74 | PASS 662 ]
Error: Test failures
Execution halted
autopkgtest [08:13:01]: test run-unit-test: -----------------------]

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply to: