Running ‘testthat.R’ [26s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(themis)
  Loading required package: recipes
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  
  Attaching package: 'recipes'
  
  The following object is masked from 'package:stats':
  
      step
  
  > 
  > test_check("themis")
  Saving _problems/test-adasyn-328.R
  Saving _problems/test-rose-69.R
  Saving _problems/test-smote_impl-30.R
  [ FAIL 3 | WARN 5 | SKIP 73 | PASS 311 ]
  
  ══ Skipped tests (73) ══════════════════════════════════════════════════════════
  • On CRAN (73): 'test-adasyn.R:1:1', 'test-adasyn.R:33:1',
    'test-adasyn.R:51:1', 'test-adasyn.R:66:1', 'test-adasyn.R:250:1',
    'test-adasyn.R:272:1', 'test-adasyn.R:286:1', 'test-adasyn_impl.R:3:1',
    'test-adasyn_impl.R:45:1', 'test-bsmote.R:44:1', 'test-bsmote.R:62:1',
    'test-bsmote.R:77:1', 'test-bsmote.R:333:1', 'test-bsmote.R:362:1',
    'test-bsmote.R:376:1', 'test-bsmote.R:413:1', 'test-bsmote_impl.R:3:1',
    'test-bsmote_impl.R:45:1', 'test-downsample.R:1:1', 'test-downsample.R:23:1',
    'test-downsample.R:170:1', 'test-downsample.R:228:1',
    'test-downsample.R:244:1', 'test-downsample.R:258:1',
    'test-downsample.R:295:1', 'test-extension_check.R:1:1',
    'test-nearmiss.R:15:1', 'test-nearmiss.R:33:1', 'test-nearmiss.R:48:1',
    'test-nearmiss.R:195:1', 'test-nearmiss.R:217:1', 'test-nearmiss.R:231:1',
    'test-nearmiss.R:268:1', 'test-nearmiss_impl.R:1:1', 'test-rose.R:72:1',
    'test-rose.R:124:1', 'test-rose.R:217:1', 'test-rose.R:249:1',
    'test-rose.R:263:1', 'test-rose.R:300:1', 'test-smote.R:1:1',
    'test-smote.R:33:1', 'test-smote.R:51:1', 'test-smote.R:66:1',
    'test-smote.R:246:1', 'test-smote.R:268:1', 'test-smote.R:282:1',
    'test-smote.R:319:1', 'test-smote_impl.R:90:1', 'test-smotenc.R:1:1',
    'test-smotenc.R:38:1', 'test-smotenc.R:70:1', 'test-smotenc.R:264:1',
    'test-smotenc.R:286:1', 'test-smotenc.R:300:1', 'test-smotenc.R:337:1',
    'test-smotenc_impl.R:1:1', 'test-tomek.R:15:1', 'test-tomek.R:33:1',
    'test-tomek.R:48:1', 'test-tomek.R:139:1', 'test-tomek.R:149:1',
    'test-tomek.R:163:1', 'test-tomek.R:200:1', 'test-tomek_impl.R:17:1',
    'test-tomek_impl.R:60:1', 'test-upsample.R:1:1', 'test-upsample.R:23:1',
    'test-upsample.R:169:1', 'test-upsample.R:227:1', 'test-upsample.R:243:1',
    'test-upsample.R:257:1', 'test-upsample.R:294:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-adasyn.R:328:3'): printing ─────────────────────────────────────
  Error in `file("", "w+b")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(prep(rec)) at test-adasyn.R:328:3
   2.   └─testthat:::expect_snapshot_(...)
   3.     ├─testthat:::with_is_snapshotting(...)
   4.     └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
   5.       └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler)
   6.         └─evaluate:::watchout(...)
   7.           └─evaluate:::local_persistent_sink_connection(debug, frame)
   8.             └─base::file("", "w+b")
  ── Error ('test-rose.R:64:3'): bad data ────────────────────────────────────────
  Error in `file("", "w+b")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-rose.R:64:3
   2.   └─testthat:::expect_snapshot_(...)
   3.     ├─testthat:::with_is_snapshotting(...)
   4.     └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
   5.       └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler)
   6.         └─evaluate:::watchout(...)
   7.           └─evaluate:::local_persistent_sink_connection(debug, frame)
   8.             └─base::file("", "w+b")
  ── Error ('test-smote_impl.R:27:3'): smote() interfaces correctly ──────────────
  Error in `file("", "w+b")`: cannot open the connection
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-smote_impl.R:27:3
   2.   └─testthat:::expect_snapshot_(...)
   3.     ├─testthat:::with_is_snapshotting(...)
   4.     └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
   5.       └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler)
   6.         └─evaluate:::watchout(...)
   7.           └─evaluate:::local_persistent_sink_connection(debug, frame)
   8.             └─base::file("", "w+b")
  
  [ FAIL 3 | WARN 5 | SKIP 73 | PASS 311 ]
  Error:
  ! Test failures.
  Execution halted