Running ‘testthat.R’ [109s/157s]
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  [01:58:50.709] early stopping at 110 iteration
  INFO  [01:58:51.312] early stopping at 30 iteration
  INFO  [02:01:13.907] soft_als: iter 001, frobenious norm change 350.850 loss NA
  INFO  [02:01:13.913] soft_als: iter 002, frobenious norm change 0.290 loss NA
  INFO  [02:01:13.919] soft_als: iter 003, frobenious norm change 0.042 loss NA
  INFO  [02:01:13.926] soft_als: iter 004, frobenious norm change 0.013 loss NA
  INFO  [02:01:13.933] soft_als: iter 005, frobenious norm change 0.006 loss NA
  INFO  [02:01:13.939] soft_als: iter 006, frobenious norm change 0.003 loss NA
  INFO  [02:01:13.946] soft_als: iter 007, frobenious norm change 0.002 loss NA
  INFO  [02:01:13.953] soft_als: iter 008, frobenious norm change 0.001 loss NA
  INFO  [02:01:13.960] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [02:01:13.961] soft_impute: converged with tol 0.001000 after 9 iter
  INFO  [02:01:14.051] soft_als: iter 001, frobenious norm change 144.826 loss NA
  INFO  [02:01:14.110] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [02:01:14.201] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [02:01:14.203] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [02:01:14.389] soft_als: iter 001, frobenious norm change 144.910 loss NA
  INFO  [02:01:14.497] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [02:01:14.597] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [02:01:14.599] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [02:01:14.913] soft_als: iter 001, frobenious norm change 504.432 loss NA
  INFO  [02:01:14.918] soft_als: iter 002, frobenious norm change 0.345 loss NA
  INFO  [02:01:14.922] soft_als: iter 003, frobenious norm change 0.056 loss NA
  INFO  [02:01:14.928] soft_als: iter 004, frobenious norm change 0.020 loss NA
  INFO  [02:01:14.933] soft_als: iter 005, frobenious norm change 0.009 loss NA
  INFO  [02:01:14.937] soft_als: iter 006, frobenious norm change 0.005 loss NA
  INFO  [02:01:14.942] soft_als: iter 007, frobenious norm change 0.003 loss NA
  INFO  [02:01:14.946] soft_als: iter 008, frobenious norm change 0.002 loss NA
  INFO  [02:01:14.950] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [02:01:14.954] soft_als: iter 010, frobenious norm change 0.001 loss NA
  INFO  [02:01:14.956] 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