Running ‘testthat.R’ [206s/376s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(vctrs)
  > 
  > test_check("vctrs")
  [ FAIL 7 | WARN 0 | SKIP 308 | PASS 5269 ]
  
  ══ Skipped tests (308) ═════════════════════════════════════════════════════════
  • Can't profile memory on this system. (2):
    '/data/gannet/ripley/R/packages/tests-clang/vctrs.Rcheck/tests/testthat/helper-performance.R:28:3',
    '/data/gannet/ripley/R/packages/tests-clang/vctrs.Rcheck/tests/testthat/helper-performance.R:28:3'
  • FIXME: dimnames of matrices are not properly concatenated (1):
    'test-type-table.R:242:3'
  • Factors now have a `c()` method (1): 'test-type-factor.R:26:3'
  • Not testing performance (2): 'test-bind.R:394:3', 'test-bind.R:405:3'
  • On CRAN (302): 'test-assert.R:152:3', 'test-assert.R:165:3',
    'test-assert.R:173:3', 'test-assert.R:228:3', 'test-assert.R:253:3',
    'test-assert.R:280:3', 'test-assert.R:289:3', 'test-assert.R:302:3',
    'test-assert.R:311:3', 'test-assert.R:409:3', 'test-assert.R:415:3',
    'test-assert.R:422:3', 'test-assert.R:430:3', 'test-assert.R:458:3',
    'test-assert.R:473:3', 'test-assert.R:483:3', 'test-assert.R:492:3',
    'test-assert.R:500:3', 'test-bind.R:36:3', 'test-bind.R:79:3',
    'test-bind.R:196:3', 'test-bind.R:213:3', 'test-bind.R:233:3',
    'test-bind.R:254:3', 'test-bind.R:418:3', 'test-bind.R:467:3',
    'test-bind.R:504:3', 'test-bind.R:520:3', 'test-bind.R:529:3',
    'test-bind.R:630:3', 'test-bind.R:702:3', 'test-bind.R:720:3',
    'test-bind.R:727:3', 'test-bind.R:781:3', 'test-bind.R:813:3',
    'test-bind.R:827:3', 'test-bind.R:1065:3', 'test-c.R:44:3', 'test-c.R:53:3',
    'test-c.R:100:3', 'test-c.R:144:4', 'test-c.R:220:3', 'test-c.R:229:3',
    'test-c.R:343:3', 'test-c.R:422:3', 'test-cast.R:3:3', 'test-cast.R:55:3',
    'test-cast.R:101:3', 'test-cast.R:143:3', 'test-compare.R:204:3',
    'test-compare.R:227:3', 'test-compare.R:278:3', 'test-conditions.R:35:3',
    'test-conditions.R:42:3', 'test-conditions.R:68:3', 'test-conditions.R:81:3',
    'test-conditions.R:98:3', 'test-conditions.R:111:3',
    'test-conditions.R:142:3', 'test-conditions.R:152:3',
    'test-conditions.R:158:3', 'test-conditions.R:167:3',
    'test-dictionary.R:222:3', 'test-equal.R:194:3', 'test-equal.R:356:3',
    'test-error-call.R:3:3', 'test-error-call.R:8:3', 'test-error-call.R:22:3',
    'test-error-call.R:27:3', 'test-error-call.R:38:3', 'test-error-call.R:46:3',
    'test-error-call.R:51:3', 'test-error-call.R:56:3', 'test-error-call.R:71:3',
    'test-error-call.R:76:3', 'test-error-call.R:87:3',
    'test-error-call.R:110:3', 'test-error-call.R:118:3',
    'test-error-call.R:125:3', 'test-error-call.R:132:3',
    'test-error-call.R:141:3', 'test-error-call.R:148:3',
    'test-error-call.R:160:3', 'test-expand.R:95:3', 'test-expand.R:104:3',
    'test-expand.R:110:3', 'test-expand.R:120:3', 'test-expand.R:133:3',
    'test-expand.R:145:3', 'test-expand.R:151:3', 'test-group.R:135:3',
    'test-hash.R:71:3', 'test-interval.R:296:3', 'test-interval.R:301:3',
    'test-interval.R:547:3', 'test-interval.R:668:3',
    'test-lifecycle-deprecated.R:19:3', 'test-lifecycle-deprecated.R:32:3',
    'test-lifecycle-deprecated.R:51:3', 'test-match.R:394:3',
    'test-match.R:543:3', 'test-match.R:817:3', 'test-match.R:829:3',
    'test-match.R:961:3', 'test-match.R:974:3', 'test-match.R:983:3',
    'test-match.R:1007:3', 'test-match.R:1031:3', 'test-match.R:1047:3',
    'test-match.R:1092:3', 'test-match.R:1111:3', 'test-match.R:1129:3',
    'test-match.R:1188:3', 'test-match.R:1198:3', 'test-match.R:1219:3',
    'test-match.R:1243:3', 'test-match.R:1269:3', 'test-match.R:1276:3',
    'test-match.R:1289:3', 'test-match.R:1305:3', 'test-match.R:1322:3',
    'test-match.R:1369:3', 'test-match.R:1378:3', 'test-match.R:1386:3',
    'test-match.R:1434:3', 'test-match.R:1461:3', 'test-match.R:1467:3',
    'test-match.R:1558:3', 'test-match.R:1567:3', 'test-match.R:1794:3',
    'test-names.R:66:3', 'test-names.R:80:3', 'test-names.R:125:3',
    'test-names.R:135:3', 'test-names.R:162:3', 'test-names.R:170:3',
    'test-names.R:316:3', 'test-names.R:475:3', 'test-names.R:564:3',
    'test-names.R:597:3', 'test-names.R:826:3', 'test-names.R:898:3',
    'test-order.R:897:3', 'test-order.R:924:3', 'test-order.R:1373:3',
    'test-order.R:1402:3', 'test-partial-factor.R:4:3',
    'test-partial-frame.R:4:3', 'test-print-str.R:4:3',
    'test-ptype-abbr-full.R:102:3', 'test-rank.R:129:3', 'test-rank.R:134:3',
    'test-recycle.R:3:3', 'test-recycle.R:27:3', 'test-recycle.R:91:3',
    'test-recycle.R:113:3', 'test-recycle.R:132:3', 'test-recycle.R:169:3',
    'test-recycle.R:175:3', 'test-rep.R:32:3', 'test-rep.R:80:3',
    'test-rep.R:90:3', 'test-rep.R:98:3', 'test-rep.R:105:3', 'test-rep.R:113:3',
    'test-rep.R:164:3', 'test-runs.R:46:3', 'test-runs.R:133:3',
    'test-runs.R:196:3', 'test-runs.R:229:3', 'test-set.R:359:3',
    'test-set.R:374:3', 'test-set.R:394:3', 'test-set.R:409:3',
    'test-set.R:441:3', 'test-shape.R:18:3', 'test-shape.R:25:3',
    'test-shape.R:98:3', 'test-shape.R:127:3', 'test-size.R:6:3',
    'test-size.R:23:3', 'test-size.R:86:3', 'test-size.R:94:3',
    'test-size.R:106:3', 'test-size.R:112:3', 'test-size.R:134:3',
    'test-slice-assign.R:419:3', 'test-slice-assign.R:428:3',
    'test-slice-assign.R:444:3', 'test-slice-assign.R:465:3',
    'test-slice-assign.R:478:3', 'test-slice-assign.R:561:3',
    'test-slice-chop.R:164:3', 'test-slice-chop.R:176:3',
    'test-slice-chop.R:194:3', 'test-slice-chop.R:355:3',
    'test-slice-chop.R:420:3', 'test-slice-chop.R:432:3',
    'test-slice-chop.R:578:3', 'test-slice-chop.R:588:3',
    'test-slice-chop.R:599:3', 'test-slice-chop.R:624:3',
    'test-slice-chop.R:753:3', 'test-slice-chop.R:767:3',
    'test-slice-chop.R:791:3', 'test-slice-chop.R:800:3',
    'test-slice-chop.R:875:3', 'test-slice-chop.R:919:3',
    'test-slice-chop.R:951:3', 'test-slice-chop.R:983:3',
    'test-slice-chop.R:996:3', 'test-slice-interleave.R:37:3',
    'test-slice-interleave.R:43:3', 'test-slice-interleave.R:86:3',
    'test-slice-interleave.R:93:3', 'test-slice.R:7:3', 'test-slice.R:73:3',
    'test-slice.R:186:3', 'test-slice.R:437:3', 'test-slice.R:441:3',
    'test-slice.R:446:3', 'test-slice.R:509:3', 'test-subscript-loc.R:9:3',
    'test-subscript-loc.R:26:3', 'test-subscript-loc.R:66:3',
    'test-subscript-loc.R:87:3', 'test-subscript-loc.R:99:3',
    'test-subscript-loc.R:109:3', 'test-subscript-loc.R:170:3',
    'test-subscript-loc.R:181:3', 'test-subscript-loc.R:201:3',
    'test-subscript-loc.R:214:3', 'test-subscript-loc.R:227:3',
    'test-subscript-loc.R:236:3', 'test-subscript-loc.R:255:3',
    'test-subscript-loc.R:291:3', 'test-subscript-loc.R:318:3',
    'test-subscript-loc.R:339:3', 'test-subscript-loc.R:353:3',
    'test-subscript-loc.R:380:3', 'test-subscript-loc.R:393:3',
    'test-subscript-loc.R:436:3', 'test-subscript-loc.R:469:3',
    'test-subscript-loc.R:486:3', 'test-subscript-loc.R:494:3',
    'test-subscript-loc.R:517:3', 'test-subscript-loc.R:545:3',
    'test-subscript-loc.R:633:3', 'test-subscript-loc.R:712:3',
    'test-subscript-loc.R:724:3', 'test-subscript-loc.R:728:3',
    'test-subscript-loc.R:735:3', 'test-subscript.R:46:3',
    'test-subscript.R:62:3', 'test-subscript.R:75:3', 'test-subscript.R:84:3',
    'test-subscript.R:90:3', 'test-subscript.R:95:3', 'test-subscript.R:109:3',
    'test-subscript.R:122:3', 'test-type-asis.R:61:3', 'test-type-asis.R:80:3',
    'test-type-data-frame.R:6:3', 'test-type-data-frame.R:16:3',
    'test-type-data-frame.R:369:3', 'test-type-data-frame.R:376:3',
    'test-type-data-frame.R:383:3', 'test-type-data-frame.R:390:3',
    'test-type-data-frame.R:441:3', 'test-type-data-frame.R:470:3',
    'test-type-data-frame.R:526:3', 'test-type-data-frame.R:570:3',
    'test-type-data-frame.R:598:3', 'test-type-data-table.R:4:1',
    'test-type-date-time.R:118:3', 'test-type-factor.R:50:3',
    'test-type-list-of.R:42:3', 'test-type-list-of.R:50:3',
    'test-type-list-of.R:138:3', 'test-type-list-of.R:189:3',
    'test-type-misc.R:145:3', 'test-type-rcrd.R:105:3', 'test-type-rcrd.R:212:3',
    'test-type-rcrd.R:303:3', 'test-type-sf.R:4:1', 'test-type-table.R:129:3',
    'test-type-tibble.R:22:3', 'test-type-tibble.R:100:3',
    'test-type-unspecified.R:51:3', 'test-type-vctr.R:280:3',
    'test-type-vctr.R:451:3', 'test-type-vctr.R:521:3', 'test-type-vctr.R:528:3',
    'test-type.R:50:3', 'test-type.R:70:3', 'test-type.R:248:3',
    'test-type2.R:14:3', 'test-type2.R:123:3', 'test-type2.R:203:3',
    'test-type2.R:210:3', 'test-type2.R:217:3', 'test-type2.R:230:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-slice-assign.R:684:3'): can assign shaped base vectors with compact seqs ──
  `actual` (vec_assign_seq(mat(cpl(1, 2, 3)), NA, start, size, increasing)) not identical to `expected` (mat(cpl(1, NA, NA))).
  
  Im(actual) vs Im(expected)
                      [,1]
    Im(actual)[1, ]      0
  - Im(actual)[2, ]     NA
  + Im(expected)[2, ]    0
  - Im(actual)[3, ]     NA
  + Im(expected)[3, ]    0
  Backtrace:
      ▆
   1. └─vctrs:::expect_identical(...) at test-slice-assign.R:684:2
   2.   └─vctrs:::expect_waldo_equal("identical", act, exp, info, ...) at tests/testthat/helper-vctrs.R:43:2
  ── Failure ('test-slice-assign.R:698:3'): can assign shaped base vectors with decreasing compact seqs ──
  `actual` (vec_assign_seq(mat(cpl(1, 2, 3)), NA, start, size, increasing)) not identical to `expected` (mat(cpl(1, NA, NA))).
  
  Im(actual) vs Im(expected)
                      [,1]
    Im(actual)[1, ]      0
  - Im(actual)[2, ]     NA
  + Im(expected)[2, ]    0
  - Im(actual)[3, ]     NA
  + Im(expected)[3, ]    0
  Backtrace:
      ▆
   1. └─vctrs:::expect_identical(...) at test-slice-assign.R:698:2
   2.   └─vctrs:::expect_waldo_equal("identical", act, exp, info, ...) at tests/testthat/helper-vctrs.R:43:2
  ── Failure ('test-slice.R:41:5'): can subset with missing indices ──────────────
  `actual` (vec_slice(cpl(1, 2, 3), i)) not identical to `expected` (cpl(2, NA)).
  
    `Im(actual)`: 0 NA
  `Im(expected)`: 0  0
  Backtrace:
      ▆
   1. └─vctrs:::expect_identical(vec_slice(cpl(1, 2, 3), i), cpl(2, NA)) at test-slice.R:41:4
   2.   └─vctrs:::expect_waldo_equal("identical", act, exp, info, ...) at tests/testthat/helper-vctrs.R:43:2
  ── Failure ('test-slice.R:41:5'): can subset with missing indices ──────────────
  `actual` (vec_slice(cpl(1, 2, 3), i)) not identical to `expected` (cpl(2, NA)).
  
    `Im(actual)`: 0 NA
  `Im(expected)`: 0  0
  Backtrace:
      ▆
   1. └─vctrs:::expect_identical(vec_slice(cpl(1, 2, 3), i), cpl(2, NA)) at test-slice.R:41:4
   2.   └─vctrs:::expect_waldo_equal("identical", act, exp, info, ...) at tests/testthat/helper-vctrs.R:43:2
  ── Failure ('test-type-bare.R:247:3'): NA casts work as expected ───────────────
  `actual` (vec_cast(int(NA), cpl())) not equal to `expected` (NA_complex_).
  
    `Im(actual)`:  0
  `Im(expected)`: NA
  Backtrace:
      ▆
   1. └─vctrs:::expect_equal(vec_cast(int(NA), cpl()), NA_complex_) at test-type-bare.R:247:2
   2.   └─vctrs:::expect_waldo_equal("equal", act, exp, info, ..., tolerance = tolerance) at tests/testthat/helper-vctrs.R:53:2
  ── Failure ('test-type-bare.R:266:3'): Shaped NA casts work as expected ────────
  `actual` (vec_cast(mat(lgl(NA)), to_mat)) not equal to `expected` (`exp_mat`).
  
  Im(actual) vs Im(expected)
                      [,1]
  - Im(actual)[1, ]      0
  + Im(expected)[1, ]   NA
  Backtrace:
      ▆
   1. └─vctrs:::expect_equal(vec_cast(mat(lgl(NA)), to_mat), exp_mat) at test-type-bare.R:266:2
   2.   └─vctrs:::expect_waldo_equal("equal", act, exp, info, ..., tolerance = tolerance) at tests/testthat/helper-vctrs.R:53:2
  ── Failure ('test-type-bare.R:267:3'): Shaped NA casts work as expected ────────
  `actual` (vec_cast(mat(int(NA)), to_mat)) not equal to `expected` (`exp_mat`).
  
  Im(actual) vs Im(expected)
                      [,1]
  - Im(actual)[1, ]      0
  + Im(expected)[1, ]   NA
  Backtrace:
      ▆
   1. └─vctrs:::expect_equal(vec_cast(mat(int(NA)), to_mat), exp_mat) at test-type-bare.R:267:2
   2.   └─vctrs:::expect_waldo_equal("equal", act, exp, info, ..., tolerance = tolerance) at tests/testthat/helper-vctrs.R:53:2
  
  [ FAIL 7 | WARN 0 | SKIP 308 | PASS 5269 ]
  Error: Test failures
  Execution halted