Running 'testthat.R' [131s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > library(text2vec)
  > library(mlapi)
  > data("movie_review")
  > test_check("text2vec")
  INFO  [12:19:27.911] early stopping at 100 iteration
  INFO  [12:19:28.850] early stopping at 40 iteration
  INFO  [12:21:29.708] soft_als: iter 001, frobenious norm change 350.807 loss NA
  INFO  [12:21:29.716] soft_als: iter 002, frobenious norm change 0.290 loss NA
  INFO  [12:21:29.724] soft_als: iter 003, frobenious norm change 0.042 loss NA
  INFO  [12:21:29.732] soft_als: iter 004, frobenious norm change 0.013 loss NA
  INFO  [12:21:29.740] soft_als: iter 005, frobenious norm change 0.006 loss NA
  INFO  [12:21:29.748] soft_als: iter 006, frobenious norm change 0.003 loss NA
  INFO  [12:21:29.756] soft_als: iter 007, frobenious norm change 0.002 loss NA
  INFO  [12:21:29.764] soft_als: iter 008, frobenious norm change 0.001 loss NA
  INFO  [12:21:29.772] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [12:21:29.774] soft_impute: converged with tol 0.001000 after 9 iter
  INFO  [12:21:29.871] soft_als: iter 001, frobenious norm change 144.766 loss NA
  INFO  [12:21:29.939] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [12:21:30.003] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [12:21:30.005] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [12:21:30.140] soft_als: iter 001, frobenious norm change 144.849 loss NA
  INFO  [12:21:30.204] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [12:21:30.272] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [12:21:30.274] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [12:21:30.391] soft_als: iter 001, frobenious norm change 504.137 loss NA
  INFO  [12:21:30.397] soft_als: iter 002, frobenious norm change 0.345 loss NA
  INFO  [12:21:30.402] soft_als: iter 003, frobenious norm change 0.056 loss NA
  INFO  [12:21:30.407] soft_als: iter 004, frobenious norm change 0.020 loss NA
  INFO  [12:21:30.413] soft_als: iter 005, frobenious norm change 0.009 loss NA
  INFO  [12:21:30.418] soft_als: iter 006, frobenious norm change 0.005 loss NA
  INFO  [12:21:30.424] soft_als: iter 007, frobenious norm change 0.003 loss NA
  INFO  [12:21:30.429] soft_als: iter 008, frobenious norm change 0.002 loss NA
  INFO  [12:21:30.435] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [12:21:30.441] soft_als: iter 010, frobenious norm change 0.001 loss NA
  INFO  [12:21:30.442] soft_impute: converged with tol 0.001000 after 10 iter
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 88 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-coherence.R:44:3): coherence, general functionality ───────────
  `coherence(x = top_terms, tcm = tcm_err, n_doc_tcm = nrow(dtm))` did not throw an error.
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 88 ]
  Error: Test failures
  Execution halted