Running ‘testthat.R’ [93s/113s]
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(lang)
  > 
  > test_check("lang")
  Saving _problems/test-help-shims-73.R
  Model: echo via simulate_llm
  Lang: test
  Cache: [Disabled]
  [ FAIL 1 | WARN 0 | SKIP 8 | PASS 29 ]
  
  ══ Skipped tests (8) ═══════════════════════════════════════════════════════════
  • On CRAN (8): 'test-help-shims.R:33:1', 'test-lang-help.R:1:1',
    'test-lang-use.R:1:1', 'test-lang-use.R:8:1', 'test-lang-use.R:14:1',
    'test-lang-use.R:20:1', 'test-lang-use.R:27:1', 'test-lang-use.R:33:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-help-shims.R:70:7'): shim_lang_question works ────────────────
  Expected `shim_lang_question(`?`(mtcars))` to be identical to `utils::`?`(`?`(mtcars))`.
  Differences:
  actual$matches vs expected$matches
                                  ID
    actual$matches[42, ]   13918/22 
    actual$matches[43, ]   13918/22 
    actual$matches[44, ]   13918/22 
  - actual$matches[45, ]   15664/61 
  + expected$matches[45, ] 15663/61 
  - actual$matches[46, ]   16094/227
  + expected$matches[46, ] 16093/227
  - actual$matches[47, ]   16095/156
  + expected$matches[47, ] 16094/156
  - actual$matches[48, ]   16207/9  
  + expected$matches[48, ] 16206/9  
  - actual$matches[49, ]   18443/16 
  + expected$matches[49, ] 18442/16 
  - actual$matches[50, ]   18950/20 
  + expected$matches[50, ] 18949/20 
  - actual$matches[51, ]   18950/20 
  + expected$matches[51, ] 18949/20 
  and 11 more ...
  
       actual$matches$ID | expected$matches$ID                
  [42] "13918/22"        | "13918/22"          [42]           
  [43] "13918/22"        | "13918/22"          [43]           
  [44] "13918/22"        | "13918/22"          [44]           
  [45] "15664/61"        - "15663/61"          [45]           
  [46] "16094/227"       - "16093/227"         [46]           
  [47] "16095/156"       - "16094/156"         [47]           
  [48] "16207/9"         - "16206/9"           [48]           
  [49] "18443/16"        - "18442/16"          [49]           
  [50] "18950/20"        - "18949/20"          [50]           
  [51] "18950/20"        - "18949/20"          [51]           
   ... ...                 ...                 and 11 more ...
  
  Backtrace:
      ▆
   1. ├─withr::with_options(...) at test-help-shims.R:56:3
   2. │ └─base::force(code)
   3. └─testthat::expect_identical(shim_lang_question(`?`(mtcars)), utils::`?`(`?`(mtcars))) at test-help-shims.R:70:7
  
  [ FAIL 1 | WARN 0 | SKIP 8 | PASS 29 ]
  Error:
  ! Test failures.
  Execution halted