Running 'testthat.R' [106s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(duckplyr)
  
  Attaching package: 'duckplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > 
  > test_check("duckplyr")
  Deactivated cache.
  [ FAIL 1 | WARN 0 | SKIP 317 | PASS 1171 ]
  
  ══ Skipped tests (317) ═════════════════════════════════════════════════════════
  • Can't set a non-UTF-8 encoding (1): 'test-mutate.R:444:3'
  • External vector? (5): 'test-as_duckplyr_df.R:1420:3',
    'test-as_duckplyr_df.R:1436:3', 'test-as_duckplyr_df.R:1452:3',
    'test-as_duckplyr_df.R:1468:3', 'test-as_duckplyr_df.R:1484:3'
  • Grouped (1): 'test-as_duckplyr_df.R:1628:3'
  • Hack (1): 'test-as_duckplyr_df.R:419:3'
  • Missing or empty names not allowed. (6): 'test-mutate.R:901:3',
    'test-filter.R:648:3', 'test-select.R:40:3', 'test-select.R:136:3',
    'test-select.R:145:3', 'test-summarise.R:440:3'
  • Must pass a plain data frame or a tibble to `as_duckplyr_df()`. (158):
    'test-mutate.R:7:3', 'test-mutate.R:49:3', 'test-mutate.R:77:3',
    'test-mutate.R:110:3', 'test-mutate.R:170:3', 'test-mutate.R:243:3',
    'test-mutate.R:257:3', 'test-mutate.R:294:3', 'test-mutate.R:303:3',
    'test-mutate.R:315:3', 'test-mutate.R:330:3', 'test-mutate.R:361:3',
    'test-mutate.R:367:3', 'test-mutate.R:374:3', 'test-mutate.R:401:3',
    'test-mutate.R:408:3', 'test-mutate.R:426:3', 'test-mutate.R:455:3',
    'test-mutate.R:465:3', 'test-mutate.R:485:3', 'test-mutate.R:579:3',
    'test-mutate.R:588:3', 'test-mutate.R:626:3', 'test-mutate.R:635:3',
    'test-mutate.R:664:3', 'test-mutate.R:673:3', 'test-mutate.R:694:3',
    'test-mutate.R:734:3', 'test-mutate.R:745:3', 'test-mutate.R:759:3',
    'test-mutate.R:770:3', 'test-mutate.R:776:3', 'test-mutate.R:791:3',
    'test-filter.R:8:5', 'test-filter.R:27:3', 'test-filter.R:118:3',
    'test-filter.R:158:3', 'test-filter.R:185:3', 'test-filter.R:223:3',
    'test-filter.R:229:3', 'test-filter.R:237:3', 'test-filter.R:303:3',
    'test-filter.R:319:3', 'test-filter.R:361:3', 'test-filter.R:437:3',
    'test-filter.R:544:3', 'test-filter.R:567:3', 'test-filter.R:578:3',
    'test-filter.R:621:3', 'test-filter.R:633:3', 'test-filter.R:704:3',
    'test-filter.R:713:3', 'test-count-tally.R:57:3', 'test-count-tally.R:66:3',
    'test-count-tally.R:77:3', 'test-count-tally.R:145:3',
    'test-count-tally.R:158:3', 'test-count-tally.R:175:3', 'test-across.R:14:3',
    'test-across.R:21:3', 'test-across.R:323:3', 'test-across.R:333:3',
    'test-across.R:679:3', 'test-across.R:694:5', 'test-across.R:1048:3',
    'test-across.R:1107:3', 'test-across.R:1141:3', 'test-across.R:1233:3',
    'test-across.R:1356:3', 'test-across.R:1370:3', 'test-arrange.R:9:3',
    'test-arrange.R:206:3', 'test-arrange.R:213:3', 'test-arrange.R:219:3',
    'test-arrange.R:288:3', 'test-arrange.R:299:3', 'test-arrange.R:337:3',
    'test-arrange.R:381:3', 'test-colwise-select.R:38:3',
    'test-colwise-select.R:93:3', 'test-colwise-select.R:141:3',
    'test-deprec-do.R:10:3', 'test-deprec-do.R:18:3', 'test-deprec-do.R:33:3',
    'test-deprec-do.R:42:3', 'test-deprec-do.R:49:3', 'test-deprec-do.R:63:5',
    'test-deprec-do.R:94:3', 'test-deprec-do.R:105:3', 'test-deprec-do.R:178:3',
    'test-deprec-do.R:183:3', 'test-deprec-do.R:198:3', 'test-distinct.R:50:3',
    'test-distinct.R:56:3', 'test-distinct.R:64:3', 'test-distinct.R:115:3',
    'test-distinct.R:156:3', 'test-generics.R:132:3', 'test-group-map.R:6:3',
    'test-group-map.R:40:3', 'test-group-map.R:72:3', 'test-group-map.R:84:3',
    'test-join.R:497:3', 'test-join.R:628:3', 'test-join.R:650:3',
    'test-join.R:673:3', 'test-join.R:683:3', 'test-rename.R:9:3',
    'test-rename.R:31:3', 'test-select.R:4:3', 'test-select.R:12:3',
    'test-select.R:28:3', 'test-select.R:87:3', 'test-select.R:106:3',
    'test-select.R:176:3', 'test-sets.R:38:3', 'test-sets.R:46:3',
    'test-slice.R:8:3', 'test-slice.R:21:3', 'test-slice.R:31:3',
    'test-slice.R:48:3', 'test-slice.R:79:3', 'test-slice.R:99:3',
    'test-slice.R:123:3', 'test-slice.R:135:3', 'test-slice.R:202:3',
    'test-slice.R:211:3', 'test-slice.R:332:3', 'test-slice.R:370:3',
    'test-slice.R:384:3', 'test-slice.R:578:3', 'test-slice.R:604:3',
    'test-slice.R:625:3', 'test-summarise.R:19:3', 'test-summarise.R:45:3',
    'test-summarise.R:61:3', 'test-summarise.R:77:3', 'test-summarise.R:96:3',
    'test-summarise.R:131:3', 'test-summarise.R:189:3', 'test-summarise.R:207:3',
    'test-summarise.R:212:3', 'test-summarise.R:222:3', 'test-summarise.R:236:3',
    'test-summarise.R:242:3', 'test-summarise.R:256:3', 'test-summarise.R:273:3',
    'test-summarise.R:285:3', 'test-summarise.R:325:3', 'test-summarise.R:338:3',
    'test-summarise.R:346:3', 'test-summarise.R:406:3', 'test-summarise.R:415:3',
    'test-transmute.R:2:3', 'test-transmute.R:9:3', 'test-transmute.R:27:3',
    'test-transmute.R:49:3', 'test-transmute.R:82:3'
  • Must pass data frame without row names to `as_duckplyr_df()`. (31):
    'test-mutate.R:17:3', 'test-mutate.R:716:3', 'test-mutate.R:891:3',
    'test-filter.R:53:3', 'test-filter.R:102:3', 'test-filter.R:269:3',
    'test-filter.R:312:5', 'test-filter.R:383:3', 'test-filter.R:588:3',
    'test-count-tally.R:135:3', 'test-count-tally.R:163:3',
    'test-count-tally.R:187:3', 'test-arrange.R:309:3', 'test-deprec-do.R:71:3',
    'test-deprec-do.R:77:3', 'test-deprec-do.R:86:5', 'test-relocate.R:37:3',
    'test-rename.R:24:3', 'test-select.R:48:3', 'test-select.R:58:3',
    'test-select.R:115:3', 'test-select.R:119:3', 'test-select.R:123:3',
    'test-select.R:129:3', 'test-select.R:158:3', 'test-sets.R:137:3',
    'test-sets.R:141:3', 'test-summarise.R:89:3', 'test-summarise.R:426:3',
    'test-transmute.R:55:3', 'test-transmute.R:90:3'
  • On CRAN (89): 'test-mutate.R:138:3', 'test-mutate.R:198:3',
    'test-filter.R:404:3', 'test-filter.R:422:3', 'test-filter.R:431:3',
    'test-filter.R:695:3', 'test-filter.R:721:3', 'test-count-tally.R:47:3',
    'test-count-tally.R:120:3', 'test-count-tally.R:219:3',
    'test-across.R:144:3', 'test-across.R:153:3', 'test-across.R:209:3',
    'test-across.R:222:3', 'test-across.R:618:3', 'test-across.R:768:3',
    'test-across.R:797:3', 'test-across.R:1131:3', 'test-across.R:1175:3',
    'test-across.R:1204:3', 'test-across.R:1269:3', 'test-across.R:1281:3',
    'test-all-equal.R:2:3', 'test-all-equal.R:27:3', 'test-all-equal.R:36:3',
    'test-all-equal.R:47:3', 'test-all-equal.R:61:3', 'test-all-equal.R:114:3',
    'test-all-equal.R:142:3', 'test-all-equal.R:155:3', 'test-all-equal.R:163:3',
    'test-all-equal.R:171:3', 'test-arrange.R:29:3', 'test-arrange.R:169:3',
    'test-arrange.R:178:3', 'test-arrange.R:192:3', 'test-arrange.R:321:3',
    'test-colwise-select.R:175:3', 'test-demo.R:4:3', 'test-deprec-funs.R:119:3',
    'test-deprec-funs.R:127:3', 'test-distinct.R:180:3', 'test-duckplyr.R:18:3',
    'test-expr.R:4:3', 'test-group-map.R:121:3', 'test-join.R:151:3',
    'test-join.R:338:3', 'test-join.R:350:3', 'test-join.R:391:3',
    'test-join.R:470:3', 'test-join.R:518:3', 'test-join.R:555:3',
    'test-join.R:605:3', 'test-join.R:709:3', 'test-join.R:720:3',
    'test-join.R:731:3', 'test-join.R:754:3', 'test-join.R:768:3',
    'test-relational-duckdb.R:37:3', 'test-relational-duckdb.R:80:3',
    'test-relational-duckdb.R:99:3', 'test-relational-rel.R:2:3',
    'test-relational.R:4:3', 'test-relocate.R:30:3', 'test-rename.R:75:3',
    'test-rename.R:85:3', 'test-rename.R:94:3', 'test-sets.R:59:3',
    'test-sets.R:73:3', 'test-sets.R:83:3', 'test-slice.R:40:3',
    'test-slice.R:63:3', 'test-slice.R:71:3', 'test-slice.R:109:3',
    'test-slice.R:193:3', 'test-slice.R:219:3', 'test-slice.R:230:3',
    'test-slice.R:240:3', 'test-slice.R:248:3', 'test-slice.R:299:3',
    'test-slice.R:342:3', 'test-slice.R:396:3', 'test-slice.R:508:3',
    'test-slice.R:515:3', 'test-slice.R:550:3', 'test-slice.R:562:3',
    'test-summarise.R:158:3', 'test-summarise.R:397:3', 'test-summarise.R:540:3'
  • RSQLite cannot be loaded (2): 'test-count-tally.R:86:3',
    'test-count-tally.R:98:3'
  • Random seed (2): 'test-as_duckplyr_df.R:1295:3',
    'test-as_duckplyr_df.R:1311:3'
  • TODO duckdb (19): 'test-mutate.R:94:3', 'test-filter.R:89:3',
    'test-filter.R:599:3', 'test-across.R:601:3', 'test-across.R:932:3',
    'test-all-equal.R:180:3', 'test-group-map.R:64:3', 'test-join.R:59:3',
    'test-join.R:357:3', 'test-join.R:363:3', 'test-join.R:382:3',
    'test-join.R:420:3', 'test-join.R:446:3', 'test-join.R:456:3',
    'test-sets.R:123:3', 'test-summarise.R:30:3', 'test-summarise.R:197:3',
    'test-summarise.R:308:3', 'test-summarise.R:449:3'
  • WAT (1): 'test-as_duckplyr_df.R:1045:3'
  • Won't need (1): 'test-prom.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-rel_api.R:3705:3'): relational intersect() order-preserving ──
  `out` (`actual`) not equal to data.frame(a = 2:4, b = rep(2, 3L)) (`expected`).
  
  actual vs expected
                  a
  - actual[1, ]   4
  + expected[1, ] 2
  - actual[2, ]   2
  + expected[2, ] 3
  - actual[3, ]   3
  + expected[3, ] 4
  
    `actual$a`: 4 2 3
  `expected$a`: 2 3 4
  
  [ FAIL 1 | WARN 0 | SKIP 317 | PASS 1171 ]
  Error: Test failures
  
  🛠: 884
  🔨: 545
  🦆: 339
  add_count, anti_join, arrange, compute, count, cross_join, distinct, do, eval, filter, full_join, inner_join, intersect, left_join, mutate, mutate.data.frame, nest_join, pull, reframe, relocate, rename, rename_with, right_join, rows_append, rows_delete, rows_insert, rows_patch, rows_update, rows_upsert, select, semi_join, setdiff, setequal, slice, slice_head, slice_tail, summarise, symdiff, transmute, ungroup, union_all
  
  00:01:44.511541
  Execution halted