Running ‘testthat.R’ [135s/155s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > library(text2vec)
  OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead.
  OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > library(mlapi)
  > data("movie_review")
  > test_check("text2vec")
  INFO  [20:56:18.780] early stopping at 100 iteration
  INFO  [20:56:19.979] early stopping at 40 iteration
  INFO  [20:58:37.375] soft_als: iter 001, frobenious norm change 350.807 loss NA
  INFO  [20:58:37.386] soft_als: iter 002, frobenious norm change 0.290 loss NA
  INFO  [20:58:37.401] soft_als: iter 003, frobenious norm change 0.042 loss NA
  INFO  [20:58:37.410] soft_als: iter 004, frobenious norm change 0.013 loss NA
  INFO  [20:58:37.420] soft_als: iter 005, frobenious norm change 0.006 loss NA
  INFO  [20:58:37.430] soft_als: iter 006, frobenious norm change 0.003 loss NA
  INFO  [20:58:37.439] soft_als: iter 007, frobenious norm change 0.002 loss NA
  INFO  [20:58:37.448] soft_als: iter 008, frobenious norm change 0.001 loss NA
  INFO  [20:58:37.458] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [20:58:37.460] soft_impute: converged with tol 0.001000 after 9 iter
  INFO  [20:58:37.599] soft_als: iter 001, frobenious norm change 144.766 loss NA
  INFO  [20:58:37.694] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [20:58:37.782] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [20:58:37.785] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [20:58:38.044] soft_als: iter 001, frobenious norm change 144.849 loss NA
  INFO  [20:58:38.143] soft_als: iter 002, frobenious norm change 0.002 loss NA
  INFO  [20:58:38.236] soft_als: iter 003, frobenious norm change 0.000 loss NA
  INFO  [20:58:38.238] soft_impute: converged with tol 0.001000 after 3 iter
  INFO  [20:58:38.384] soft_als: iter 001, frobenious norm change 504.137 loss NA
  INFO  [20:58:38.391] soft_als: iter 002, frobenious norm change 0.345 loss NA
  INFO  [20:58:38.412] soft_als: iter 003, frobenious norm change 0.056 loss NA
  INFO  [20:58:38.433] soft_als: iter 004, frobenious norm change 0.020 loss NA
  INFO  [20:58:38.440] soft_als: iter 005, frobenious norm change 0.009 loss NA
  INFO  [20:58:38.456] soft_als: iter 006, frobenious norm change 0.005 loss NA
  INFO  [20:58:38.463] soft_als: iter 007, frobenious norm change 0.003 loss NA
  INFO  [20:58:38.470] soft_als: iter 008, frobenious norm change 0.002 loss NA
  INFO  [20:58:38.491] soft_als: iter 009, frobenious norm change 0.001 loss NA
  INFO  [20:58:38.498] soft_als: iter 010, frobenious norm change 0.001 loss NA
  INFO  [20:58:38.514] 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