Running ‘testthat.R’ [122s/268s]
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  [10:53:15.299] early stopping at 110 iteration
  INFO  [10:53:19.240] early stopping at 50 iteration
  INFO  [10:57:06.238] soft_als: iter 001, frobenious norm change 350.807 loss NA
  INFO  [10:57:06.256] soft_als: iter 002, frobenious norm change 0.290 loss NA
  INFO  [10:57:06.270] soft_als: iter 003, frobenious norm change 0.042 loss NA
  INFO  [10:57:06.284] soft_als: iter 004, frobenious norm change 0.013 loss NA
  INFO  [10:57:06.302] soft_als: iter 005, frobenious norm change 0.006 loss NA
  INFO  [10:57:06.317] soft_als: iter 006, frobenious norm change 0.003 loss NA
  INFO  [10:57:06.335] soft_als: iter 007, frobenious norm change 0.002 loss NA
  INFO  [10:57:06.350] soft_als: iter 008, frobenious norm change 0.001 loss NA
  INFO  [10:57:06.376] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [10:57:06.378] soft_impute: converged with tol 0.001000 after 9 iter
  INFO  [10:57:06.665] soft_als: iter 001, frobenious norm change 144.766 loss NA
  INFO  [10:57:06.818] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [10:57:06.954] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [10:57:06.956] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [10:57:07.328] soft_als: iter 001, frobenious norm change 144.849 loss NA
  INFO  [10:57:07.457] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [10:57:07.597] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [10:57:07.604] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [10:57:07.863] soft_als: iter 001, frobenious norm change 504.137 loss NA
  INFO  [10:57:07.870] soft_als: iter 002, frobenious norm change 0.345 loss NA
  INFO  [10:57:07.877] soft_als: iter 003, frobenious norm change 0.056 loss NA
  INFO  [10:57:07.884] soft_als: iter 004, frobenious norm change 0.020 loss NA
  INFO  [10:57:07.891] soft_als: iter 005, frobenious norm change 0.009 loss NA
  INFO  [10:57:07.897] soft_als: iter 006, frobenious norm change 0.005 loss NA
  INFO  [10:57:07.905] soft_als: iter 007, frobenious norm change 0.003 loss NA
  INFO  [10:57:07.912] soft_als: iter 008, frobenious norm change 0.002 loss NA
  INFO  [10:57:07.923] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [10:57:07.930] soft_als: iter 010, frobenious norm change 0.001 loss NA
  INFO  [10:57:07.936] 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