Running ‘testthat.R’ [110s/167s]
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:08.713] early stopping at 130 iteration
  INFO  [02:40:09.642] early stopping at 30 iteration
  INFO  [02:42:39.782] soft_als: iter 001, frobenious norm change 350.850 loss NA
  INFO  [02:42:39.789] soft_als: iter 002, frobenious norm change 0.290 loss NA
  INFO  [02:42:39.796] soft_als: iter 003, frobenious norm change 0.042 loss NA
  INFO  [02:42:39.802] soft_als: iter 004, frobenious norm change 0.013 loss NA
  INFO  [02:42:39.809] soft_als: iter 005, frobenious norm change 0.006 loss NA
  INFO  [02:42:39.815] soft_als: iter 006, frobenious norm change 0.003 loss NA
  INFO  [02:42:39.822] soft_als: iter 007, frobenious norm change 0.002 loss NA
  INFO  [02:42:39.830] soft_als: iter 008, frobenious norm change 0.001 loss NA
  INFO  [02:42:39.836] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [02:42:39.838] soft_impute: converged with tol 0.001000 after 9 iter
  INFO  [02:42:39.932] soft_als: iter 001, frobenious norm change 144.826 loss NA
  INFO  [02:42:39.995] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [02:42:40.053] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [02:42:40.055] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [02:42:40.161] soft_als: iter 001, frobenious norm change 144.910 loss NA
  INFO  [02:42:40.238] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [02:42:40.558] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [02:42:40.560] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [02:42:40.816] soft_als: iter 001, frobenious norm change 504.432 loss NA
  INFO  [02:42:40.820] soft_als: iter 002, frobenious norm change 0.345 loss NA
  INFO  [02:42:40.825] soft_als: iter 003, frobenious norm change 0.056 loss NA
  INFO  [02:42:40.829] soft_als: iter 004, frobenious norm change 0.020 loss NA
  INFO  [02:42:40.850] soft_als: iter 005, frobenious norm change 0.009 loss NA
  INFO  [02:42:40.855] soft_als: iter 006, frobenious norm change 0.005 loss NA
  INFO  [02:42:40.859] soft_als: iter 007, frobenious norm change 0.003 loss NA
  INFO  [02:42:40.880] soft_als: iter 008, frobenious norm change 0.002 loss NA
  INFO  [02:42:40.885] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [02:42:40.889] soft_als: iter 010, frobenious norm change 0.001 loss NA
  INFO  [02:42:40.891] soft_impute: converged with tol 0.001000 after 10 iter
  [ FAIL 3 | WARN 2 | SKIP 0 | PASS 85 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-s3-interface.R:34'): S3 tf-idf ───────────────────────────────
  rownames(d2) not equal to `ids`.
  target is NULL, current is character
  ── Failure ('test-s3-interface.R:36'): S3 tf-idf ───────────────────────────────
  dimnames(d2) not equal to dimnames(dtm).
  Component 1: target is NULL, current is character
  Component 2: target is NULL, current is character
  ── Failure ('test-s3-interface.R:44'): S3 bns ──────────────────────────────────
  dimnames(d2) not equal to dimnames(dtm).
  Component 2: target is NULL, current is character
  
  [ FAIL 3 | WARN 2 | SKIP 0 | PASS 85 ]
  Error: Test failures
  Execution halted