Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [12s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rules)
  Loading required package: parsnip
  > 
  > test_check("rules")
  
  Attaching package: 'modeldata'
  
  The following object is masked from 'package:datasets':
  
      penguins
  
  
  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
  
  Saving _problems/test-rule-fit-regression-191.R
  Saving _problems/test-rule-fit-regression-192.R
  [ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
  
  ══ Skipped tests (34) ══════════════════════════════════════════════════════════
  • On CRAN (34): 'test-c5.R:4:3', 'test-c5.R:43:3', 'test-c5.R:87:3',
    'test-c5.R:127:3', 'test-c5.R:167:3', 'test-c5.R:213:3', 'test-c5.R:255:3',
    'test-c5.R:282:3', 'test-c5.R:362:3', 'test-cubist.R:4:3',
    'test-cubist.R:79:3', 'test-cubist.R:137:3', 'test-cubist.R:180:3',
    'test-cubist.R:218:3', 'test-cubist.R:257:3', 'test-cubist.R:295:3',
    'test-cubist.R:356:3', 'test-cubist.R:403:3', 'test-cubist.R:445:3',
    'test-cubist.R:484:3', 'test-cubist.R:531:3', 'test-cubist.R:584:3',
    'test-cubist.R:617:3', 'test-rule-fit-binomial.R:6:3',
    'test-rule-fit-binomial.R:91:3', 'test-rule-fit-binomial.R:177:3',
    'test-rule-fit-multinomial.R:6:3', 'test-rule-fit-multinomial.R:94:3',
    'test-rule-fit-multinomial.R:181:3', 'test-rule-fit-regression.R:6:3',
    'test-rule-fit-regression.R:62:3', 'test-rule-fit-regression.R:118:3',
    'test-rule-fit-regression.R:160:1', 'test-rule-fit-regression.R:211:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-rule-fit-regression.R:191:3'): early stopping works in xrf_fit ──
  Expected `!is.null(rf_fit_2$fit$xgb$best_iteration)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-rule-fit-regression.R:192:3'): early stopping works in xrf_fit ──
  Expected `!is.null(rf_fit_3$fit$xgb$best_iteration)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
  Error:
  ! Test failures.
  Execution halted