Running ‘testthat.R’ [17s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if(capabilities('long.double')){
  +     library(testthat)
  +     library(expss)
  +     options(covr = FALSE)
  +     options(width = 1000)
  +     testthat::test_check("expss")
  + }
  Loading required package: maditr
  
  To select rows from data: rows(mtcars, am==0)
  
  
  Use 'expss_output_rnotebook()' to display tables inside R Notebooks.
   To return to the console output, use 'expss_output_default()'.
  
  
  Attaching package: 'expss'
  
  The following objects are masked from 'package:testthat':
  
      equals, not
  
  VALUES:
  27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24... 50 items printed out of 52 
  VALUE LABELS:     
    1 A
    2 B
    3 C
    4 D
    5 E
    6 F
    7 G
    8 H
    9 I
   10 J
  
    ...
       
   43 q
   44 r
   45 s
   46 t
   47 u
   48 v
   49 w
   50 x
   51 y
   52 z
  [ FAIL 64 | WARN 0 | SKIP 0 | PASS 1464 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
  ── Failure (test_criteria_functions.R:91:1): (code run outside of `test_that()`) ──
  has_label(perl("o|O"))(vec) not identical to vec %in% 1:2.
  4 element mismatches
  ── Failure (test_criteria_functions.R:95:1): (code run outside of `test_that()`) ──
  has_label(like("t*"))(vec) not identical to vec %in% 2:3.
  4 element mismatches
  ── Failure (test_dichotomy.R:126:1): (code run outside of `test_that()`) ───────
  dummy(vec) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:134:1): (code run outside of `test_that()`) ───────
  as.dichotomy(vec) not identical to as.dichotomy(vec_mat).
  Component "v1": Mean absolute difference: 1
  Component "v2": Mean absolute difference: 1
  ── Failure (test_dichotomy.R:136:1): (code run outside of `test_that()`) ───────
  as.dichotomy(vec, use_na = FALSE) not identical to structure(...).
  Component "v1": Mean absolute difference: 1
  Component "v2": Mean absolute difference: 1
  ── Failure (test_dichotomy.R:143:1): (code run outside of `test_that()`) ───────
  dummy(vec, use_na = FALSE) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:148:1): (code run outside of `test_that()`) ───────
  dummy(vec, keep_unused = TRUE) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:152:1): (code run outside of `test_that()`) ───────
  as.dichotomy(vec, use_na = FALSE, keep_unused = TRUE) not identical to structure(...).
  Component "v1": Mean absolute difference: 1
  Component "v2": Mean absolute difference: 1
  ── Failure (test_dichotomy.R:162:1): (code run outside of `test_that()`) ───────
  as.dichotomy(vec, use_na = TRUE, keep_unused = TRUE) not identical to structure(...).
  Component "v1": Mean absolute difference: 1
  Component "v2": Mean absolute difference: 1
  ── Failure (test_dichotomy.R:175:1): (code run outside of `test_that()`) ───────
  dummy(vec) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:179:1): (code run outside of `test_that()`) ───────
  dummy(vec, keep_unused = TRUE) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:188:1): (code run outside of `test_that()`) ───────
  dummy(vec) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:192:1): (code run outside of `test_that()`) ───────
  dummy(vec, keep_unused = TRUE) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:203:1): (code run outside of `test_that()`) ───────
  dummy(indep, keep_values = 1) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:206:1): (code run outside of `test_that()`) ───────
  dummy(indep, drop_values = 2:3) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:209:1): (code run outside of `test_that()`) ───────
  dummy(indep, keep_values = 2:3) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:213:1): (code run outside of `test_that()`) ───────
  dummy(indep, drop_values = 1) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:218:1): (code run outside of `test_that()`) ───────
  dummy(indep, keep_labels = c("c")) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:221:1): (code run outside of `test_that()`) ───────
  dummy(indep, drop_labels = c("a", "b")) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:224:1): (code run outside of `test_that()`) ───────
  dummy(indep, keep_labels = c("a", "c")) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_dichotomy.R:227:1): (code run outside of `test_that()`) ───────
  dummy(indep, drop_labels = c("b")) not identical to structure(...).
  Mean absolute difference: 1
  ── Failure (test_drop_unused_labels.R:19:1): (code run outside of `test_that()`) ──
  drop_unused_labels(a) not identical to `b`.
  Classes differ: 'numeric' is not 'labelled'/'numeric'
  ── Failure (test_drop_unused_labels.R:45:1): (code run outside of `test_that()`) ──
  drop_unused_labels(sheet(a, d)) not identical to sheet(a = b, d).
  Component "a": Attributes: < Length mismatch: comparison on first 2 components >
  Component "d": Attributes: < target is NULL, current is list >
  Component "d": target is numeric, current is labelled
  ── Failure (test_drop_unused_labels.R:46:1): (code run outside of `test_that()`) ──
  drop_unused_labels(list(a, d)) not identical to list(b, d).
  Component 1: Attributes: < Length mismatch: comparison on first 2 components >
  Component 2: Attributes: < target is NULL, current is list >
  Component 2: target is numeric, current is labelled
  ── Failure (test_methods.R:241:1): (code run outside of `test_that()`) ─────────
  with(mtcars, as.etable(table(am, vs, cyl, gear))) has changed from known value recorded in 'rds/as.etable4.rds'.
  Component "row_labels": 18 string mismatches
  Backtrace:
      ▆
   1. └─testthat::expect_equal_to_reference(...) at test_methods.R:241:0
   2.   └─testthat::expect_known_value(..., update = update)
  ── Failure (test_methods.R:276:1): (code run outside of `test_that()`) ─────────
  use_labels(mtcars, as.etable(table(am, vs, cyl, gear))) has changed from known value recorded in 'rds/as.etable8.rds'.
  Component "row_labels": 18 string mismatches
  Backtrace:
      ▆
   1. └─testthat::expect_equal_to_reference(...) at test_methods.R:276:0
   2.   └─testthat::expect_known_value(..., update = update)
  ── Failure (test_nest.R:56:1): (code run outside of `test_that()`) ─────────────
  unname(nest(5:7, m_choice)) not identical to list(...).
  Component 1: Attributes: < Component 3: Names: 1 string mismatch >
  Component 2: Attributes: < Component 3: Names: 1 string mismatch >
  Component 3: Attributes: < Component 3: Names: 1 string mismatch >
  Component 4: Attributes: < Component 3: Names: 1 string mismatch >
  Component 5: Attributes: < Component 3: Names: 1 string mismatch >
  Component 6: Attributes: < Component 3: Names: 1 string mismatch >
  ── Failure (test_nest.R:70:1): (code run outside of `test_that()`) ─────────────
  unname(nest(5:7, list(m_choice, 1:3))) not identical to list(...).
  Component 1: Attributes: < Component 3: Names: 1 string mismatch >
  Component 2: Attributes: < Component 3: Names: 1 string mismatch >
  Component 3: Attributes: < Component 3: Names: 3 string mismatches >
  Component 4: Attributes: < Component 3: Names: 1 string mismatch >
  Component 5: Attributes: < Component 3: Names: 1 string mismatch >
  Component 6: Attributes: < Component 3: Names: 3 string mismatches >
  Component 7: Attributes: < Component 3: Names: 1 string mismatch >
  Component 8: Attributes: < Component 3: Names: 1 string mismatch >
  Component 9: Attributes: < Component 3: Names: 3 string mismatches >
  ── Failure (test_nest.R:84:1): (code run outside of `test_that()`) ─────────────
  unname(nest(as.dichotomy(5:7), list(m_choice, 1:3))) not identical to list(...).
  Component 1: Attributes: < Component 3: Names: 1 string mismatch >
  Component 2: Attributes: < Component 3: Names: 1 string mismatch >
  Component 3: Attributes: < Component 3: Names: 3 string mismatches >
  Component 4: Attributes: < Component 3: Names: 1 string mismatch >
  Component 5: Attributes: < Component 3: Names: 1 string mismatch >
  Component 6: Attributes: < Component 3: Names: 3 string mismatches >
  Component 7: Attributes: < Component 3: Names: 1 string mismatch >
  Component 8: Attributes: < Component 3: Names: 1 string mismatch >
  Component 9: Attributes: < Component 3: Names: 3 string mismatches >
  ── Failure (test_nest.R:98:1): (code run outside of `test_that()`) ─────────────
  unname(nest(5:7, list(mrset(m_choice), 1:3))) not identical to list(...).
  Component 1: Component 1: Attributes: < Component 3: Names: 2 string mismatches >
  Component 1: Component 2: Attributes: < Component 3: Names: 2 string mismatches >
  Component 2: Attributes: < Component 3: Names: 3 string mismatches >
  Component 3: Attributes: < Component 3: Names: 2 string mismatches >
  Component 4: Attributes: < Component 3: Names: 3 string mismatches >
  Component 5: Attributes: < Component 3: Names: 2 string mismatches >
  Component 6: Attributes: < Component 3: Names: 3 string mismatches >
  ── Failure (test_nest.R:110:1): (code run outside of `test_that()`) ────────────
  unname(nest(5:7, list(dummy(m_choice), 1:3))) not identical to list(...).
  Component 1: Component 1: Attributes: < Component 3: Names: 2 string mismatches >
  Component 1: Component 2: Attributes: < Component 3: Names: 2 string mismatches >
  Component 2: Attributes: < Component 3: Names: 3 string mismatches >
  Component 3: Attributes: < Component 3: Names: 2 string mismatches >
  Component 4: Attributes: < Component 3: Names: 3 string mismatches >
  Component 5: Attributes: < Component 3: Names: 2 string mismatches >
  Component 6: Attributes: < Component 3: Names: 3 string mismatches >
  ── Failure (test_nest.R:122:1): (code run outside of `test_that()`) ────────────
  unname(nest(factor(5:7), list(m_choice, 1:3))) not identical to list(...).
  Component 1: Attributes: < Component 3: Names: 1 string mismatch >
  Component 1: 'is.NA' value mismatch: 2 in current 3 in target
  Component 2: Attributes: < Component 3: Names: 1 string mismatch >
  Component 2: 'is.NA' value mismatch: 2 in current 3 in target
  Component 3: Attributes: < Component 3: Names: 3 string mismatches >
  Component 3: 'is.NA' value mismatch: 2 in current 3 in target
  Component 4: Attributes: < Component 3: Names: 1 string mismatch >
  Component 5: Attributes: < Component 3: Names: 1 string mismatch >
  Component 5: 'is.NA' value mismatch: 2 in current 3 in target
  ...
  ── Failure (test_nest.R:136:1): (code run outside of `test_that()`) ────────────
  unname(nest(factor(5:7), list(mrset(m_choice), 1:3))) not identical to list(...).
  Component 1: Modes: numeric, list
  Component 1: Lengths: 3, 2
  Component 1: names for current but not for target
  Component 1: Attributes: < Names: 1 string mismatch >
  Component 1: Attributes: < Length mismatch: comparison on first 2 components >
  Component 1: Attributes: < Component 1: 2 string mismatches >
  Component 1: Attributes: < Component 2: Modes: character, numeric >
  Component 1: Attributes: < Component 2: Lengths: 1, 3 >
  Component 1: Attributes: < Component 2: target is character, current is numeric >
  ...
  ── Failure (test_nest.R:148:1): (code run outside of `test_that()`) ────────────
  unname(nest(factor(5:7), list(as.dichotomy(m_choice), 1:3))) not identical to list(...).
  Component 1: Modes: numeric, list
  Component 1: Lengths: 3, 2
  Component 1: names for current but not for target
  Component 1: Attributes: < Names: 1 string mismatch >
  Component 1: Attributes: < Length mismatch: comparison on first 2 components >
  Component 1: Attributes: < Component 1: 2 string mismatches >
  Component 1: Attributes: < Component 2: Modes: character, numeric >
  Component 1: Attributes: < Component 2: Lengths: 1, 3 >
  Component 1: Attributes: < Component 2: target is character, current is numeric >
  ...
  ── Failure (test_nest.R:162:1): (code run outside of `test_that()`) ────────────
  nest(factor(5:7), posix_ct) not identical to structure(...).
  Attributes: < Component "labels": Names: 9 string mismatches >
  ── Failure (test_nest.R:171:1): (code run outside of `test_that()`) ────────────
  unname(nest(factor(5:7), list(m_choice, posix_ct))) not identical to list(...).
  Component 1: Attributes: < Component 3: Names: 1 string mismatch >
  Component 1: 'is.NA' value mismatch: 2 in current 3 in target
  Component 2: Attributes: < Component 3: Names: 1 string mismatch >
  Component 2: 'is.NA' value mismatch: 2 in current 3 in target
  Component 3: Attributes: < Component 3: Names: 3 string mismatches >
  Component 3: 'is.NA' value mismatch: 2 in current 3 in target
  Component 4: Attributes: < Component 3: Names: 1 string mismatch >
  Component 5: Attributes: < Component 3: Names: 1 string mismatch >
  Component 5: 'is.NA' value mismatch: 2 in current 3 in target
  ...
  ── Failure (test_nest.R:185:1): (code run outside of `test_that()`) ────────────
  unname(nest(factor(5:7), list(mrset(m_choice), posix_ct))) not identical to list(...).
  Component 1: Modes: numeric, list
  Component 1: Lengths: 3, 2
  Component 1: names for current but not for target
  Component 1: Attributes: < Names: 1 string mismatch >
  Component 1: Attributes: < Length mismatch: comparison on first 2 components >
  Component 1: Attributes: < Component 1: 2 string mismatches >
  Component 1: Attributes: < Component 2: Modes: character, numeric >
  Component 1: Attributes: < Component 2: Lengths: 1, 3 >
  Component 1: Attributes: < Component 2: target is character, current is numeric >
  ...
  ── Failure (test_nest.R:196:1): (code run outside of `test_that()`) ────────────
  nest(posix_ct, 1:3) not identical to structure(...).
  Attributes: < Component "labels": Names: 9 string mismatches >
  ── Failure (test_nest.R:217:1): (code run outside of `test_that()`) ────────────
  nest(a, b) not identical to set_val_lab(nest(1:3, 5:7), setNames(1:9, aabb)).
  Attributes: < Component "labels": Names: 8 string mismatches >
  ── Failure (test_nest.R:229:1): (code run outside of `test_that()`) ────────────
  nest(1, b) not identical to set_val_lab(nest(1, 5:7), setNames(1:3, paste0(1, "|", bb))).
  Attributes: < Component "labels": Names: 2 string mismatches >
  ── Failure (test_nest.R:233:1): (code run outside of `test_that()`) ────────────
  nest(b, 1) not identical to set_val_lab(nest(5:7, 1), setNames(1:3, paste0(bb, "|", 1))).
  Attributes: < Component "labels": Names: 2 string mismatches >
  ── Failure (test_nest.R:246:1): (code run outside of `test_that()`) ────────────
  nest(a, b) not identical to structure(...).
  Attributes: < Component "labels": Names: 4 string mismatches >
  ── Failure (test_nest.R:303:1): (code run outside of `test_that()`) ────────────
  nest(single, my_scales) not identical to `res`.
  Component "v5.a": Attributes: < Component "labels": Names: 4 string mismatches >
  Component "v5.a": 'is.NA' value mismatch: 2 in current 3 in target
  Component "v5.b": Attributes: < Component "labels": Names: 4 string mismatches >
  Component "v5.b": 'is.NA' value mismatch: 2 in current 3 in target
  Component "v6.a": Attributes: < Component "labels": Names: 4 string mismatches >
  Component "v6.a": 'is.NA' value mismatch: 2 in current 3 in target
  Component "v6.b": Attributes: < Component "labels": Names: 4 string mismatches >
  Component "v6.b": 'is.NA' value mismatch: 2 in current 3 in target
  Component "v7.a": Attributes: < Component "labels": Names: 4 string mismatches >
  ...
  ── Failure (test_recode_with_labels.R:111:1): (code run outside of `test_that()`) ──
  `res` not identical to structure(...).
  6/8 mismatches (average diff: NaN)
  [1] NA - 1 == NA
  [2] NA - 1 == NA
  [3] NA - 1 == NA
  [5] NA - 7 == NA
  [6] NA - 7 == NA
  [7] NA - 7 == NA
  ── Failure (test_recode_with_labels.R:118:1): (code run outside of `test_that()`) ──
  `res` not identical to structure(...).
  6/8 mismatches (average diff: NaN)
  [1] NA - 1 == NA
  [2] NA - 1 == NA
  [3] NA - 1 == NA
  [5] NA - 7 == NA
  [6] NA - 7 == NA
  [7] NA - 7 == NA
  ── Failure (test_recode_with_labels.R:125:1): (code run outside of `test_that()`) ──
  `res` not identical to structure(...).
  6/8 mismatches (average diff: NaN)
  [1] NA - 1 == NA
  [2] NA - 1 == NA
  [3] NA - 1 == NA
  [5] NA - 7 == NA
  [6] NA - 7 == NA
  [7] NA - 7 == NA
  ── Failure (test_recode_with_labels.R:133:1): (code run outside of `test_that()`) ──
  `res` not identical to structure(...).
  6/8 mismatches (average diff: NaN)
  [1] NA - 1 == NA
  [2] NA - 1 == NA
  [3] NA - 1 == NA
  [5] NA - 7 == NA
  [6] NA - 7 == NA
  [7] NA - 7 == NA
  ── Failure (test_recode_with_labels.R:138:1): (code run outside of `test_that()`) ──
  `res` not identical to structure(...).
  6/8 mismatches (average diff: NaN)
  [1] NA - 1 == NA
  [2] NA - 1 == NA
  [3] NA - 1 == NA
  [5] NA - 7 == NA
  [6] NA - 7 == NA
  [7] NA - 7 == NA
  ── Failure (test_recode_with_labels.R:144:1): (code run outside of `test_that()`) ──
  `res` not identical to structure(...).
  6/8 mismatches (average diff: NaN)
  [1] NA - 1 == NA
  [2] NA - 1 == NA
  [3] NA - 1 == NA
  [5] NA - 7 == NA
  [6] NA - 7 == NA
  [7] NA - 7 == NA
  ── Failure (test_recode_with_labels.R:150:1): (code run outside of `test_that()`) ──
  `res` not identical to structure(...).
  6/8 mismatches (average diff: NaN)
  [1] NA - 1 == NA
  [2] NA - 1 == NA
  [3] NA - 1 == NA
  [5] NA - 7 == NA
  [6] NA - 7 == NA
  [7] NA - 7 == NA
  ── Failure (test_recode_with_labels.R:156:1): (code run outside of `test_that()`) ──
  `res` not identical to structure(...).
  6/8 mismatches (average diff: NaN)
  [1] NA - 1 == NA
  [2] NA - 1 == NA
  [3] NA - 1 == NA
  [5] NA - 7 == NA
  [6] NA - 7 == NA
  [7] NA - 7 == NA
  ── Failure (test_recode_with_labels.R:163:1): (code run outside of `test_that()`) ──
  `b` not identical to structure(...).
  4/8 mismatches (average diff: 1.5)
  [2] 2 - 1 ==  1
  [3] 3 - 1 ==  2
  [5] 5 - 7 == -2
  [6] 6 - 7 == -1
  ── Failure (test_recode_with_labels.R:171:1): (code run outside of `test_that()`) ──
  `b` not identical to structure(...).
  4/8 mismatches (average diff: 1.5)
  [2] 2 - 1 ==  1
  [3] 3 - 1 ==  2
  [5] 5 - 7 == -2
  [6] 6 - 7 == -1
  ── Failure (test_split_by.R:30:1): (code run outside of `test_that()`) ─────────
  `mtcars_list` has changed from known value recorded in 'rds/split_by4.rds'.
  Names: 6 string mismatches
  Backtrace:
      ▆
   1. └─testthat::expect_equal_to_reference(...) at test_split_by.R:30:0
   2.   └─testthat::expect_known_value(..., update = update)
  ── Failure (test_split_by.R:33:1): (code run outside of `test_that()`) ─────────
  `mtcars_list` has changed from known value recorded in 'rds/split_by3.rds'.
  Names: 4 string mismatches
  Backtrace:
      ▆
   1. └─testthat::expect_equal_to_reference(...) at test_split_by.R:33:0
   2.   └─testthat::expect_known_value(..., update = update)
  ── Failure (test_split_by.R:40:1): (code run outside of `test_that()`) ─────────
  `dt_list` has changed from known value recorded in 'rds/split_by10.rds'.
  Names: 4 string mismatches
  Backtrace:
      ▆
   1. └─testthat::expect_equal_to_reference(...) at test_split_by.R:40:0
   2.   └─testthat::expect_known_value(..., update = update)
  ── Failure (test_split_by.R:46:1): (code run outside of `test_that()`) ─────────
  `dt_unsplit` has changed from known value recorded in 'rds/split_by12.rds'.
  Column 'my_groups': 32 string mismatches
  Backtrace:
      ▆
   1. └─testthat::expect_equal_to_reference(...) at test_split_by.R:46:0
   2.   └─testthat::expect_known_value(..., update = update)
  ── Failure (test_split_by.R:52:1): (code run outside of `test_that()`) ─────────
  `tbl_list` has changed from known value recorded in 'rds/split_by13.rds'.
  Names: 4 string mismatches
  Backtrace:
      ▆
   1. └─testthat::expect_equal_to_reference(...) at test_split_by.R:52:0
   2.   └─testthat::expect_known_value(..., update = update)
  ── Failure (test_split_by.R:67:1): (code run outside of `test_that()`) ─────────
  `tbls` has changed from known value recorded in 'rds/split_by15.rds'.
  Component "row_labels": 11 string mismatches
  Backtrace:
      ▆
   1. └─testthat::expect_equal_to_reference(...) at test_split_by.R:67:0
   2.   └─testthat::expect_known_value(..., update = update)
  ── Failure (test_split_by.R:75:1): (code run outside of `test_that()`) ─────────
  `tbls` has changed from known value recorded in 'rds/split_by16.rds'.
  Component "row_labels": 11 string mismatches
  Backtrace:
      ▆
   1. └─testthat::expect_equal_to_reference(...) at test_split_by.R:75:0
   2.   └─testthat::expect_known_value(..., update = update)
  ── Failure (test_split_by.R:90:1): (code run outside of `test_that()`) ─────────
  `tbls` has changed from known value recorded in 'rds/split_by18.rds'.
  Component "row_labels": 15 string mismatches
  Backtrace:
      ▆
   1. └─testthat::expect_equal_to_reference(...) at test_split_by.R:90:0
   2.   └─testthat::expect_known_value(..., update = update)
  ── Failure (test_split_by.R:93:1): (code run outside of `test_that()`) ─────────
  `tbls_list` has changed from known value recorded in 'rds/split_by19.rds'.
  Names: 15 string mismatches
  Component 1: Component "row_labels": 1 string mismatch
  Component 2: Component "row_labels": 1 string mismatch
  Component 2: Component "gear|3": Mean relative difference: 0.75
  Component 2: Component "gear|4": 'is.NA' value mismatch: 0 in current 1 in target
  Component 3: Component "row_labels": 1 string mismatch
  Component 3: Component "gear|3": Mean relative difference: 0.9166667
  Component 3: Component "gear|4": 'is.NA' value mismatch: 0 in current 1 in target
  Component 4: Component "row_labels": 1 string mismatch
  ...
  Backtrace:
      ▆
   1. └─testthat::expect_equal_to_reference(...) at test_split_by.R:93:0
   2.   └─testthat::expect_known_value(..., update = update)
  ── Error (test_subtotal.R:33:1): (code run outside of `test_that()`) ───────────
  Error in `set_val_lab.default(x, value, add = FALSE)`: 'set_val_lab' - duplicated values in labels: 3 3
  Backtrace:
       ▆
    1. ├─testthat::expect_known_value(...) at test_subtotal.R:33:0
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─expss::cro(net(a, 2:3, position = "below"))
    5. │ └─expss:::test_for_null_and_make_list(cell_vars, str_cell_vars)
    6. │   └─expss:::stopif(...)
    7. ├─expss::net(a, 2:3, position = "below")
    8. └─expss:::net.default(a, 2:3, position = "below")
    9.   └─expss::`val_lab<-`(...)
   10.     ├─expss::set_val_lab(x, value, add = FALSE)
   11.     └─expss:::set_val_lab.default(x, value, add = FALSE)
  ── Failure (test_values2labels.R:44:1): (code run outside of `test_that()`) ────
  values2labels(df) not identical to `out_df`.
  Component "a": 2 string mismatches
  Component "d": 2 string mismatches
  
  [ FAIL 64 | WARN 0 | SKIP 0 | PASS 1464 ]
  Error: Test failures
  Execution halted