Running ‘testthat.R’ [11s/16s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(sparsevctrs)
  > 
  > test_check("sparsevctrs")
  [ FAIL 2 | WARN 0 | SKIP 30 | PASS 687 ]
  
  ══ Skipped tests (30) ══════════════════════════════════════════════════════════
  • On CRAN (30): 'test-coerce.R:289:3', 'test-coerce.R:322:3',
    'test-coerce.R:350:3', 'test-coerce.R:419:3', 'test-coerce.R:426:3',
    'test-coerce.R:441:3', 'test-coerce.R:494:3', 'test-coerce.R:501:3',
    'test-coerce.R:516:3', 'test-sparse_character.R:3:3',
    'test-sparse_character.R:242:3', 'test-sparse_character.R:283:3',
    'test-sparse_character.R:308:3', 'test-sparse_double.R:8:3',
    'test-sparse_double.R:260:3', 'test-sparse_double.R:307:3',
    'test-sparse_double.R:408:3', 'test-sparse_double.R:449:3',
    'test-sparse_double.R:474:3', 'test-sparse_dummy.R:242:3',
    'test-sparse_integer.R:8:3', 'test-sparse_integer.R:264:3',
    'test-sparse_integer.R:311:3', 'test-sparse_integer.R:413:3',
    'test-sparse_integer.R:454:3', 'test-sparse_integer.R:479:3',
    'test-sparse_logical.R:3:3', 'test-sparse_logical.R:261:3',
    'test-sparse_logical.R:297:3', 'test-sparsity.R:129:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-sparse_replace_na.R:46:3'): sparse_replace() works - characters ──
  `res` (`actual`) not identical to `exp` (`expected`).
  
  `actual[1:4]`:   "M" "A" "B" ""
  `expected[1:4]`: NA  "A" "B" ""
  ── Failure ('test-sparse_replace_na.R:54:3'): sparse_replace() works - characters ──
  `res` (`actual`) not identical to `exp` (`expected`).
  
  `actual[1:4]`:   "0" "A" "B" ""
  `expected[1:4]`: NA  "A" "B" ""
  
  [ FAIL 2 | WARN 0 | SKIP 30 | PASS 687 ]
  Error: Test failures
  Execution halted