[R-pkg-team] Bug#1039884: r-cran-tibble: autopkgtest failure with r-base (4.3.1-1)
Bas Couwenberg
sebastic at xs4all.nl
Thu Jun 29 09:39:01 BST 2023
Source: r-cran-tibble
Version: 3.1.8+dfsg-1
Severity: serious
Tags: sid trixie
Justification: autopkgtest failure
Control: close -1 3.2.1+dfsg-1
Dear Maintainer,
The autopkgtest of your package fails with r-base (4.3.1-1):
92s [ FAIL 11 | WARN 1 | SKIP 144 | PASS 1287 ]
92s
92s ══ Skipped tests ═══════════════════════════════════════════════════════════════
92s • All of them (1)
92s • Do we want an .as_row argument? (1)
92s • On CRAN (44)
92s • packageVersion("pillar") >= "1.4.99" is TRUE (3)
92s • packageVersion("tibble") >= "2.99.99" is TRUE (95)
92s
93s ══ Failed tests ════════════════════════════════════════════════════════════════
93s ── Error ('test-subsetting-matrix.R:15'): [<-.tbl_df supports subsetting with a logical matrix (#649) ──
93s Error in `vectbl_assign(x[[j]], cells[[j]], value)`: DLL requires the use of native symbols
93s Backtrace:
93s ▆
93s 1. ├─base::`[<-`(`*tmp*`, m, value = `<dbl>`) at test-subsetting-matrix.R:15:2
93s 2. └─tibble:::`[<-.tbl_df`(`*tmp*`, m, value = `<dbl>`) at test-subsetting-matrix.R:15:2
93s 3. └─tibble:::tbl_subassign_matrix(x, j, value, j_arg, substitute(value))
93s 4. ├─base::withCallingHandlers(...)
93s 5. └─tibble:::vectbl_assign(x[[j]], cells[[j]], value)
93s ── Error ('test-subsetting.R:416'): can use classed integer indexes (#778) ─────
93s Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
93s Backtrace:
93s ▆
93s 1. ├─testthat::expect_silent(df[mylgl(TRUE), ] <- df) at test-subsetting.R:416:2
93s 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
93s 3. │ ├─testthat (local) .capture(...)
93s 4. │ │ ├─withr::with_output_sink(...)
93s 5. │ │ │ └─base::force(code)
93s 6. │ │ ├─base::withCallingHandlers(...)
93s 7. │ │ └─base::withVisible(code)
93s 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
93s 9. ├─base::`[<-`(`*tmp*`, mylgl(TRUE), , value = `<tibble[,2]>`)
93s 10. └─tibble:::`[<-.tbl_df`(`*tmp*`, mylgl(TRUE), , value = `<tibble[,2]>`)
93s 11. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
93s 12. └─tibble:::tbl_subassign_row(x, i, value, i_arg, value_arg)
93s 13. ├─base::withCallingHandlers(...)
93s 14. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
93s ── Error ('test-subsetting.R:425'): can use classed logical indexes (#778) ─────
93s Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
93s Backtrace:
93s ▆
93s 1. ├─testthat::expect_silent(df[mylgl(TRUE), mylgl(TRUE)] <- df) at test-subsetting.R:425:2
93s 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
93s 3. │ ├─testthat (local) .capture(...)
93s 4. │ │ ├─withr::with_output_sink(...)
93s 5. │ │ │ └─base::force(code)
93s 6. │ │ ├─base::withCallingHandlers(...)
93s 7. │ │ └─base::withVisible(code)
93s 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
93s 9. ├─base::`[<-`(`*tmp*`, mylgl(TRUE), mylgl(TRUE), value = `<tibble[,2]>`)
93s 10. └─tibble:::`[<-.tbl_df`(`*tmp*`, mylgl(TRUE), mylgl(TRUE), value = `<tibble[,2]>`)
93s 11. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
93s 12. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg)
93s 13. ├─base::withCallingHandlers(...)
93s 14. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
93s ── Error ('test-subsetting.R:458'): [[<-.tbl_df with two indexes assigns ───────
93s Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
93s Backtrace:
93s ▆
93s 1. ├─base::`[[<-`(`*tmp*`, 1, "x", value = `<dbl>`) at test-subsetting.R:458:2
93s 2. └─tibble:::`[[<-.tbl_df`(`*tmp*`, 1, "x", value = `<dbl>`) at test-subsetting.R:458:2
93s 3. └─tibble:::tbl_subassign(...)
93s 4. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg)
93s 5. ├─base::withCallingHandlers(...)
93s 6. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
93s ── Error ('test-subsetting.R:532'): [<-.tbl_df supports adding new rows with [i, j] (#651) ──
93s Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
93s Backtrace:
93s ▆
93s 1. ├─base::`[<-`(`*tmp*`, 3, "x", value = `<dbl>`) at test-subsetting.R:532:2
93s 2. └─tibble:::`[<-.tbl_df`(`*tmp*`, 3, "x", value = `<dbl>`) at test-subsetting.R:532:2
93s 3. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
93s 4. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg)
93s 5. ├─base::withCallingHandlers(...)
93s 6. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
93s ── Error ('test-subsetting.R:539'): [<-.tbl_df supports adding new columns with [i, j] (#651) ──
93s Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
93s Backtrace:
93s ▆
93s 1. ├─base::`[<-`(`*tmp*`, 2, "z", value = `<dbl>`) at test-subsetting.R:539:2
93s 2. └─tibble:::`[<-.tbl_df`(`*tmp*`, 2, "z", value = `<dbl>`) at test-subsetting.R:539:2
93s 3. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
93s 4. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg)
93s 5. ├─base::withCallingHandlers(...)
93s 6. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
93s ── Error ('test-subsetting.R:546'): [<-.tbl_df supports adding new rows and columns with [i, j] (#651) ──
93s Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
93s Backtrace:
93s ▆
93s 1. ├─base::`[<-`(`*tmp*`, 3, "z", value = `<dbl>`) at test-subsetting.R:546:2
93s 2. └─tibble:::`[<-.tbl_df`(`*tmp*`, 3, "z", value = `<dbl>`) at test-subsetting.R:546:2
93s 3. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
93s 4. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg)
93s 5. ├─base::withCallingHandlers(...)
93s 6. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
93s ── Error ('test-subsetting.R:553'): [<-.tbl_df supports negative subsetting ────
93s Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
93s Backtrace:
93s ▆
93s 1. ├─base::`[<-`(`*tmp*`, 2:3, 2:3, value = `<int>`) at test-subsetting.R:553:2
93s 2. └─tibble:::`[<-.tbl_df`(`*tmp*`, 2:3, 2:3, value = `<int>`) at test-subsetting.R:553:2
93s 3. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
93s 4. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg)
93s 5. ├─base::withCallingHandlers(...)
93s 6. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
93s ── Error ('test-subsetting.R:598'): [<-.tbl_df supports matrix on the RHS (#762) ──
93s Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
93s Backtrace:
93s ▆
93s 1. ├─tibble:::expect_tibble_error(...) at test-subsetting.R:598:2
93s 2. │ └─testthat::expect_error(object, class = class(cnd)[[1]]) at autopkgtest_tmp/testthat/helper-expectations.R:2:2
93s 3. │ └─testthat:::expect_condition_matching(...)
93s 4. │ └─testthat:::quasi_capture(...)
93s 5. │ ├─testthat (local) .capture(...)
93s 6. │ │ └─base::withCallingHandlers(...)
93s 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
93s 8. ├─base::`[<-`(`*tmp*`, 1:3, 1:2, value = `<int[,2]>`)
93s 9. └─tibble:::`[<-.tbl_df`(`*tmp*`, 1:3, 1:2, value = `<int[,2]>`)
93s 10. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
93s 11. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg)
93s 12. ├─base::withCallingHandlers(...)
93s 13. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
93s ── Error ('test-subsetting.R:637'): [<- with FALSE still adds column (#846) ────
93s Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
93s Backtrace:
93s ▆
93s 1. ├─base::`[<-`(`*tmp*`, FALSE, "b", value = `<dbl>`) at test-subsetting.R:637:2
93s 2. └─tibble:::`[<-.tbl_df`(`*tmp*`, FALSE, "b", value = `<dbl>`) at test-subsetting.R:637:2
93s 3. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
93s 4. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg)
93s 5. ├─base::withCallingHandlers(...)
93s 6. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
93s ── Error ('test-subsetting.R:677'): [<-.tbl_df is careful about attributes (#155) ──
93s Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
93s Backtrace:
93s ▆
93s 1. ├─base::`[<-`(`*tmp*`, 1, names(df), value = `<tibble[,2]>`) at test-subsetting.R:677:2
93s 2. └─tibble:::`[<-.tbl_df`(`*tmp*`, 1, names(df), value = `<tibble[,2]>`) at test-subsetting.R:677:2
93s 3. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
93s 4. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg)
93s 5. ├─base::withCallingHandlers(...)
93s 6. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
93s
93s [ FAIL 11 | WARN 1 | SKIP 144 | PASS 1287 ]
https://ci.debian.net/data/autopkgtest/testing/amd64/r/r-cran-tibble/34940905/log.gz
I have immediately closed this bug with the version in unstable, so if
that version or a later version migrates, this bug will no longer affect
testing.
More information about the R-pkg-team
mailing list