Running ‘testthat.R’ [51s/70s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rsample)
  > 
  > if (requireNamespace("xml2")) {
  +   test_check("rsample", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
  + } else {
  +   test_check("rsample")
  + }
  Loading required namespace: xml2
  ── 1. Failure: rsplit labels (@test_boot.R#89)  ────────────────────────────────
  `all_labs` not equal to `original_id`.
  Attributes: < Names: 2 string mismatches >
  Attributes: < Length mismatch: comparison on first 2 components >
  Attributes: < Component 1: Modes: character, logical >
  Attributes: < Component 1: Lengths: 3, 1 >
  Attributes: < Component 1: target is character, current is logical >
  Attributes: < Component 2: Modes: numeric, character >
  Attributes: < Component 2: Lengths: 25, 3 >
  Attributes: < Component 2: target is numeric, current is character >
  
  ── 2. Failure: rsplit labels (@test_group.R#104)  ──────────────────────────────
  `all_labs` not equal to `original_id`.
  Attributes: < Names: 1 string mismatch >
  Attributes: < Length mismatch: comparison on first 2 components >
  Attributes: < Component 2: Modes: numeric, character >
  Attributes: < Component 2: Lengths: 3, 1 >
  Attributes: < Component 2: names for current but not for target >
  Attributes: < Component 2: target is numeric, current is character >
  
  ── 3. Failure: rsplit labels (@test_mc.R#86)  ──────────────────────────────────
  `all_labs` not equal to `original_id`.
  Attributes: < Names: 1 string mismatch >
  Attributes: < Length mismatch: comparison on first 2 components >
  Attributes: < Component 2: Numeric: lengths (25, 1) differ >
  
  ── 4. Failure: rsplit labels (@test_nesting.R#71)  ─────────────────────────────
  `all_labs` not equal to `original_id`.
  Attributes: < Names: 1 string mismatch >
  Attributes: < Length mismatch: comparison on first 2 components >
  Attributes: < Component 2: Modes: numeric, call >
  Attributes: < Component 2: Lengths: 10, 2 >
  Attributes: < Component 2: names for current but not for target >
  Attributes: < Component 2: target is numeric, current is call >
  
  ── 5. Failure: rsplit labels (@test_rolling.R#102)  ────────────────────────────
  `all_labs` not equal to `original_id`.
  Attributes: < Names: 2 string mismatches >
  Attributes: < Length mismatch: comparison on first 2 components >
  Attributes: < Component 1: Modes: character, numeric >
  Attributes: < Component 1: Lengths: 3, 1 >
  Attributes: < Component 1: target is character, current is numeric >
  Attributes: < Component 2: Modes: numeric, character >
  Attributes: < Component 2: Lengths: 15, 3 >
  Attributes: < Component 2: target is numeric, current is character >
  
  ── 6. Failure: rsplit labels (@test_validation.R#90)  ──────────────────────────
  `all_labs` not equal to `original_id`.
  Attributes: < Names: 1 string mismatch >
  Attributes: < Length mismatch: comparison on first 2 components >
  Attributes: < Component 2: Mean relative difference: 0.25 >
  
  ── 7. Failure: rsplit labels (@test_vfold.R#85)  ───────────────────────────────
  `all_labs` not equal to `original_id`.
  Attributes: < Names: 1 string mismatch >
  Attributes: < Length mismatch: comparison on first 2 components >
  Attributes: < Component 2: Numeric: lengths (10, 1) differ >
  
  ── 8. Failure: rsplit labels (@test_vfold.R#90)  ───────────────────────────────
  `all_labs2` not equal to `original_id2`.
  Attributes: < Names: 1 string mismatch >
  Attributes: < Length mismatch: comparison on first 2 components >
  Attributes: < Component 2: Numeric: lengths (40, 1) differ >
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 574 | SKIPPED: 2 | WARNINGS: 0 | FAILED: 8 ]
  1. Failure: rsplit labels (@test_boot.R#89) 
  2. Failure: rsplit labels (@test_group.R#104) 
  3. Failure: rsplit labels (@test_mc.R#86) 
  4. Failure: rsplit labels (@test_nesting.R#71) 
  5. Failure: rsplit labels (@test_rolling.R#102) 
  6. Failure: rsplit labels (@test_validation.R#90) 
  7. Failure: rsplit labels (@test_vfold.R#85) 
  8. Failure: rsplit labels (@test_vfold.R#90) 
  
  Error: testthat unit tests failed
  Execution halted