Running ‘testthat.R’ [140s/147s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(quanteda)
  Package version: 1.3.13
  Parallel computing: 2 of 32 threads used.
  See https://quanteda.io for tutorials and examples.
  
  Attaching package: 'quanteda'
  
  The following object is masked from 'package:utils':
  
      View
  
  > 
  > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
  > 
  > ops <- quanteda_options()
  > quanteda_options(reset = TRUE)
  > 
  > test_check("quanteda")
  ── 1. Failure: record zeros even in the sparse matrix (@test-textstat_proxy.R#35
  textstat_proxy(mt)@x not equal to c(1, 0, 1).
  2/3 mismatches (average diff: 1)
  [1] 0 - 1 == -1
  [2] 1 - 0 ==  1
  
  ── 2. Failure: record zeros even in the sparse matrix (@test-textstat_proxy.R#36
  textstat_proxy(mt, method = "cosine")@x not equal to c(1, 0, 1).
  2/3 mismatches (average diff: 1)
  [1] 0 - 1 == -1
  [2] 1 - 0 ==  1
  
  ── 3. Failure: record zeros even in the sparse matrix (@test-textstat_proxy.R#36
  textstat_proxy(mt, method = "cosine", min_proxy = -0.5)@x not equal to c(1, 0, 1).
  2/3 mismatches (average diff: 1)
  [1] 0 - 1 == -1
  [2] 1 - 0 ==  1
  
  ── 4. Failure: record zeros even in the sparse matrix (@test-textstat_proxy.R#36
  textstat_proxy(mt, method = "cosine", rank = 2)@x not equal to c(1, 0, 1).
  2/3 mismatches (average diff: 1)
  [1] 0 - 1 == -1
  [2] 1 - 0 ==  1
  
  ── 5. Failure: record zeros even in the sparse matrix (@test-textstat_proxy.R#36
  textstat_proxy(mt, method = "dice")@x not equal to c(1, 0, 1).
  2/3 mismatches (average diff: 1)
  [1] 0 - 1 == -1
  [2] 1 - 0 ==  1
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 2461 SKIPPED: 10 FAILED: 5
  1. Failure: record zeros even in the sparse matrix (@test-textstat_proxy.R#359) 
  2. Failure: record zeros even in the sparse matrix (@test-textstat_proxy.R#360) 
  3. Failure: record zeros even in the sparse matrix (@test-textstat_proxy.R#361) 
  4. Failure: record zeros even in the sparse matrix (@test-textstat_proxy.R#362) 
  5. Failure: record zeros even in the sparse matrix (@test-textstat_proxy.R#363) 
  
  Error: testthat unit tests failed
  Execution halted