Running ‘testthat.R’ [13s/21s]
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:40:31.763] early stopping at 100 iteration
  INFO  [02:40:32.651] early stopping at 30 iteration
  INFO  [02:40:36.831] soft_als: iter 001, frobenious norm change 350.850 loss NA
  INFO  [02:40:36.837] soft_als: iter 002, frobenious norm change 0.290 loss NA
  INFO  [02:40:36.844] soft_als: iter 003, frobenious norm change 0.042 loss NA
  INFO  [02:40:36.867] soft_als: iter 004, frobenious norm change 0.013 loss NA
  INFO  [02:40:36.873] soft_als: iter 005, frobenious norm change 0.006 loss NA
  INFO  [02:40:36.896] soft_als: iter 006, frobenious norm change 0.003 loss NA
  INFO  [02:40:36.902] soft_als: iter 007, frobenious norm change 0.002 loss NA
  INFO  [02:40:36.909] soft_als: iter 008, frobenious norm change 0.001 loss NA
  INFO  [02:40:36.927] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [02:40:36.929] soft_impute: converged with tol 0.001000 after 9 iter
  INFO  [02:40:37.113] soft_als: iter 001, frobenious norm change 144.826 loss NA
  INFO  [02:40:37.180] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [02:40:37.368] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [02:40:37.370] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [02:40:37.464] soft_als: iter 001, frobenious norm change 144.910 loss NA
  INFO  [02:40:37.562] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [02:40:37.665] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [02:40:37.666] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [02:40:37.837] soft_als: iter 001, frobenious norm change 504.432 loss NA
  INFO  [02:40:37.841] soft_als: iter 002, frobenious norm change 0.345 loss NA
  INFO  [02:40:37.845] soft_als: iter 003, frobenious norm change 0.056 loss NA
  INFO  [02:40:37.849] soft_als: iter 004, frobenious norm change 0.020 loss NA
  INFO  [02:40:37.854] soft_als: iter 005, frobenious norm change 0.009 loss NA
  INFO  [02:40:37.858] soft_als: iter 006, frobenious norm change 0.005 loss NA
  INFO  [02:40:37.862] soft_als: iter 007, frobenious norm change 0.003 loss NA
  INFO  [02:40:37.865] soft_als: iter 008, frobenious norm change 0.002 loss NA
  INFO  [02:40:37.869] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [02:40:37.873] soft_als: iter 010, frobenious norm change 0.001 loss NA
  INFO  [02:40:37.875] soft_impute: converged with tol 0.001000 after 10 iter
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 69 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-coherence.R:23:3'): coherence, general functionality ───────────
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  ── Error ('test-coherence.R:71:3'): coherence, vectorized vs. mapply loop calculation of PMI ──
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  ── Error ('test-coherence.R:219:1'): coherence, results of text2vec vs other packages ──
  Error: 'crossprod' is not an exported object from 'namespace:Matrix'
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 69 ]
  Error: Test failures
  Execution halted