Running ‘testthat.R’ [580s/584s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > require(seededlda)
  Loading required package: seededlda
  Loading required package: quanteda
  Package version: 4.0.1
  Unicode version: 13.0
  ICU version: 69.1
  Parallel computing: disabled
  See https://quanteda.io for tutorials and examples.
  Loading required package: proxyC
  
  Attaching package: 'proxyC'
  
  The following object is masked from 'package:stats':
  
      dist
  
  
  Attaching package: 'seededlda'
  
  The following object is masked from 'package:stats':
  
      terms
  
  > require(testthat)
  Loading required package: testthat
  > test_check("seededlda")
  [ FAIL 4 | WARN 0 | SKIP 7 | PASS 172 ]
  
  ══ Skipped tests (7) ═══════════════════════════════════════════════════════════
  • On CRAN (7): 'test-textmodel_lda.R:17:5', 'test-textmodel_lda.R:182:5',
    'test-textmodel_seededlda.R:118:5', 'test-textmodel_seededlda.R:134:5',
    'test-textmodel_seededlda.R:175:5', 'test-textmodel_seededlda.R:194:5',
    'test-textmodel_seededlda.R:230:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-textmodel_lda.R:143:5'): verbose works ───────────────────────
  `\.\.\. <- NULL` does not match "Fitting LDA with 5 topics\n [.]{3}initializing\n [.]{3}using up to .* threads for distributed computing\n [.]{6}allocating .* documents to each thread\n [.]{3}Gibbs sampling in 100 iterations\n [.]{6}iteration 100 elapsed time: .*\n [.]{3}computing theta and phi\n [.]{3}complete".
  Actual value: "Fitting LDA with 5 topics\\n \.\.\.initializing\\n \.\.\.Gibbs sampling in 100 iterations\\n \.\.\.\.\.\.iteration 100 elapsed time: 3\.81 seconds \(delta: 0\.13%\)\\n \.\.\.computing theta and phi\\n \.\.\.complete"
  Backtrace:
      ▆
   1. └─testthat::expect_output(...) at test-textmodel_lda.R:143:5
   2.   └─testthat::expect_match(...)
   3.     └─testthat:::expect_match_(...)
  ── Failure ('test-textmodel_lda.R:155:5'): verbose works ───────────────────────
  `\.\.\. <- NULL` does not match "Fitting LDA with 5 topics\n [.]{3}initializing\n [.]{3}using up to .* threads for distributed computing\n [.]{6}allocating .* documents to each thread\n [.]{3}Gibbs sampling in up to 200 iterations\n".
  Actual value: "Fitting LDA with 5 topics\\n \.\.\.initializing\\n \.\.\.Gibbs sampling in up to 200 iterations\\n \.\.\.\.\.\.iteration 100 elapsed time: 3\.81 seconds \(delta: 0\.50%\)\\n \.\.\.\.\.\.iteration 200 elapsed time: 7\.22 seconds \(delta: 0\.03%\)\\n \.\.\.computing theta and phi\\n \.\.\.complete"
  Backtrace:
      ▆
   1. └─testthat::expect_output(...) at test-textmodel_lda.R:155:5
   2.   └─testthat::expect_match(...)
   3.     └─testthat:::expect_match_(...)
  ── Failure ('test-utils.R:114:2'): get_threads are working ─────────────────────
  seededlda:::get_threads() not equal to 2.
  1/1 mismatches
  [1] 1 - 2 == -1
  ── Failure ('test-utils.R:118:2'): get_threads are working ─────────────────────
  seededlda:::get_threads() not equal to 3.
  1/1 mismatches
  [1] 1 - 3 == -2
  
  [ FAIL 4 | WARN 0 | SKIP 7 | PASS 172 ]
  Error: Test failures
  Execution halted