Running ‘testthat.R’ [99s/115s]
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  [02:46:44.318] early stopping at 120 iteration
  INFO  [02:46:45.026] early stopping at 30 iteration
  INFO  [02:48:24.929] soft_als: iter 001, frobenious norm change 350.850 loss NA
  INFO  [02:48:24.938] soft_als: iter 002, frobenious norm change 0.290 loss NA
  INFO  [02:48:24.946] soft_als: iter 003, frobenious norm change 0.042 loss NA
  INFO  [02:48:24.968] soft_als: iter 004, frobenious norm change 0.013 loss NA
  INFO  [02:48:24.976] soft_als: iter 005, frobenious norm change 0.006 loss NA
  INFO  [02:48:24.985] soft_als: iter 006, frobenious norm change 0.003 loss NA
  INFO  [02:48:24.993] soft_als: iter 007, frobenious norm change 0.002 loss NA
  INFO  [02:48:25.001] soft_als: iter 008, frobenious norm change 0.001 loss NA
  INFO  [02:48:25.009] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [02:48:25.011] soft_impute: converged with tol 0.001000 after 9 iter
  INFO  [02:48:25.142] soft_als: iter 001, frobenious norm change 144.826 loss NA
  INFO  [02:48:25.220] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [02:48:25.316] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [02:48:25.318] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [02:48:25.533] soft_als: iter 001, frobenious norm change 144.910 loss NA
  INFO  [02:48:25.663] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [02:48:25.762] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [02:48:25.764] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [02:48:26.086] soft_als: iter 001, frobenious norm change 504.432 loss NA
  INFO  [02:48:26.091] soft_als: iter 002, frobenious norm change 0.345 loss NA
  INFO  [02:48:26.113] soft_als: iter 003, frobenious norm change 0.056 loss NA
  INFO  [02:48:26.119] soft_als: iter 004, frobenious norm change 0.020 loss NA
  INFO  [02:48:26.141] soft_als: iter 005, frobenious norm change 0.009 loss NA
  INFO  [02:48:26.146] soft_als: iter 006, frobenious norm change 0.005 loss NA
  INFO  [02:48:26.152] soft_als: iter 007, frobenious norm change 0.003 loss NA
  INFO  [02:48:26.157] soft_als: iter 008, frobenious norm change 0.002 loss NA
  INFO  [02:48:26.162] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [02:48:26.167] soft_als: iter 010, frobenious norm change 0.001 loss NA
  INFO  [02:48:26.169] soft_impute: converged with tol 0.001000 after 10 iter
  [ FAIL 1 | WARN 3 | 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 3 | SKIP 0 | PASS 88 ]
  Error: Test failures
  Execution halted