Running 'spelling.R' [1s]
  Running 'testthat.R' [8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(r2dii.match)
  > 
  > test_check("r2dii.match")
  -- 1. Error: $borderline is of type logical (@test-add_sector_and_borderline.R#4
  object 'tibble_restore_impl' not found
  Backtrace:
    1. testthat::expect_is(...)
    4. r2dii.match:::add_sector_and_borderline(loanbook_demo)
    3. r2dii.match:::check_crucial_names(., crucial)
   10. purrr::modify_at(., crucial, as.character)
   15. purrr:::modify_if.default(.x, sel, .f, ...)
   17. tibble:::`[[<-.tbl_df`(...)
   18. tibble:::tbl_subassign(...)
   19. tibble:::vectbl_restore(xo, x)
  
  -- 2. Error: outputs known output (@test-add_sector_and_borderline.R#11)  ------
  object 'tibble_restore_impl' not found
  Backtrace:
    1. testthat::expect_known_output(...)
    7. r2dii.match:::add_sector_and_borderline(loanbook_demo)
    3. r2dii.match:::check_crucial_names(., crucial)
   10. purrr::modify_at(., crucial, as.character)
   18. purrr:::modify_if.default(.x, sel, .f, ...)
   20. tibble:::`[[<-.tbl_df`(...)
   21. tibble:::tbl_subassign(...)
   22. tibble:::vectbl_restore(xo, x)
  
  -- 3. Error: returns a tibble dataframe (@test-add_sector_and_borderline.R#19)  
  object 'tibble_restore_impl' not found
  Backtrace:
    1. testthat::expect_is(...)
    4. r2dii.match:::add_sector_and_borderline(loanbook_demo)
    3. r2dii.match:::check_crucial_names(., crucial)
   10. purrr::modify_at(., crucial, as.character)
   15. purrr:::modify_if.default(.x, sel, .f, ...)
   17. tibble:::`[[<-.tbl_df`(...)
   18. tibble:::tbl_subassign(...)
   19. tibble:::vectbl_restore(xo, x)
  
  -- 4. Error: adds two columns: `sector` and `borderline` (@test-add_sector_and_b
  object 'tibble_restore_impl' not found
  Backtrace:
    1. r2dii.match:::add_sector_and_borderline(loanbook_demo)
    2. r2dii.match:::check_crucial_names(., crucial)
    9. purrr::modify_at(., crucial, as.character)
   12. purrr:::modify_if.default(.x, sel, .f, ...)
   14. tibble:::`[[<-.tbl_df`(...)
   15. tibble:::tbl_subassign(...)
   16. tibble:::vectbl_restore(xo, x)
  
  -- 5. Error: added columns return acceptable values (@test-add_sector_and_border
  object 'tibble_restore_impl' not found
  Backtrace:
    1. testthat::expect_true(...)
    5. r2dii.match:::add_sector_and_borderline(loanbook_demo)
    3. r2dii.match:::check_crucial_names(., crucial)
   10. purrr::modify_at(., crucial, as.character)
   16. purrr:::modify_if.default(.x, sel, .f, ...)
   18. tibble:::`[[<-.tbl_df`(...)
   19. tibble:::tbl_subassign(...)
   20. tibble:::vectbl_restore(xo, x)
  
  -- 6. Error: preserves typeof() input columns (@test-add_sector_and_borderline.R
  object 'tibble_restore_impl' not found
  Backtrace:
    1. r2dii.match:::add_sector_and_borderline(loanbook_demo)
    2. r2dii.match:::check_crucial_names(., crucial)
    9. purrr::modify_at(., crucial, as.character)
   12. purrr:::modify_if.default(.x, sel, .f, ...)
   14. tibble:::`[[<-.tbl_df`(...)
   15. tibble:::tbl_subassign(...)
   16. tibble:::vectbl_restore(xo, x)
  
  -- 7. Error: outputs no missing value of `sector` (@test-add_sector_and_borderli
  object 'tibble_restore_impl' not found
  Backtrace:
    1. r2dii.match:::add_sector_and_borderline(loanbook_demo)
    2. r2dii.match:::check_crucial_names(., crucial)
    9. purrr::modify_at(., crucial, as.character)
   12. purrr:::modify_if.default(.x, sel, .f, ...)
   14. tibble:::`[[<-.tbl_df`(...)
   15. tibble:::tbl_subassign(...)
   16. tibble:::vectbl_restore(xo, x)
  
  -- 8. Error: outputs no missing value of `borderline` (@test-add_sector_and_bord
  object 'tibble_restore_impl' not found
  Backtrace:
    1. r2dii.match:::add_sector_and_borderline(loanbook_demo)
    2. r2dii.match:::check_crucial_names(., crucial)
    9. purrr::modify_at(., crucial, as.character)
   12. purrr:::modify_if.default(.x, sel, .f, ...)
   14. tibble:::`[[<-.tbl_df`(...)
   15. tibble:::tbl_subassign(...)
   16. tibble:::vectbl_restore(xo, x)
  
  -- 9. Error: fake_lbk w/ lenght-2 input outpus 2 rows (@test-helper-fake_lbk.R#2
  object 'tibble_update_attrs' not found
  Backtrace:
   1. testthat::expect_equal(nrow(fake_lbk(c("a", "a"))), 2L)
   5. r2dii.match:::fake_lbk(c("a", "a"))
   6. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   7. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   8. tibble::new_tibble(output, nrow = first_size %||% 0L)
   9. tibble:::update_tibble_attrs(x, ...)
  
  -- 10. Error: fake_ald w/ lenght-2 input outpus 2 rows (@test-helper-fake_lbk.R#
  object 'tibble_update_attrs' not found
  Backtrace:
   1. testthat::expect_equal(nrow(fake_ald(c("a", "a"))), 2L)
   5. r2dii.match:::fake_ald(c("a", "a"))
   6. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:80:2
   7. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   8. tibble::new_tibble(output, nrow = first_size %||% 0L)
   9. tibble:::update_tibble_attrs(x, ...)
  
  -- 11. Error: fake_matched w/ lenght-2 input outpus 2 rows (@test-helper-fake_lb
  object 'tibble_update_attrs' not found
  Backtrace:
   1. testthat::expect_equal(nrow(fake_matched(c("a", "a"))), 2L)
   5. r2dii.match:::fake_matched(c("a", "a"))
   6. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   7. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   8. tibble::new_tibble(output, nrow = first_size %||% 0L)
   9. tibble:::update_tibble_attrs(x, ...)
  
  -- 12. Error: fake_lbk creates new columns (@test-helper-fake_lbk.R#14)  -------
  object 'tibble_update_attrs' not found
  Backtrace:
   1. testthat::expect_named(...)
   4. r2dii.match:::fake_lbk(new1 = 1, new2 = 1)
   5. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   6. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   7. tibble::new_tibble(output, nrow = first_size %||% 0L)
   8. tibble:::update_tibble_attrs(x, ...)
  
  -- 13. Error: fake_lbk outputs known value (@test-helper-fake_lbk.R#21)  -------
  object 'tibble_update_attrs' not found
  Backtrace:
   1. testthat::expect_known_value(...)
   4. r2dii.match:::fake_lbk()
   5. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   6. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   7. tibble::new_tibble(output, nrow = first_size %||% 0L)
   8. tibble:::update_tibble_attrs(x, ...)
  
  -- 14. Error: w/ non-NA only at intermediate level yields matches at intermediat
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(...)
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 15. Error: w/ missing values at all levels outputs 0-row (@test-match_name.R#
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(...)
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 16. Error: w/ 1 lbk row matching 1 ald company in 2 sectors outputs 2 rows (@
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(...)
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 17. Error: `by_sector = TRUE` yields only matching sectors (@helper-fake_lbk.
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match::match_name(fake_lbk(), fake_ald(), by_sector = TRUE)
   3. r2dii.match:::fake_lbk()
   4. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   5. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   6. tibble::new_tibble(output, nrow = first_size %||% 0L)
   7. tibble:::update_tibble_attrs(x, ...)
  
  -- 18. Error: w/ mismatching sector_classification and `by_sector = TRUE` yields
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_warning(...)
    8. r2dii.match:::fake_lbk(sector_classification_direct_loantaker = code_for_sector_power)
    9. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   10. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   11. tibble::new_tibble(output, nrow = first_size %||% 0L)
   12. tibble:::update_tibble_attrs(x, ...)
  
  -- 19. Error: w/ mismatching sector_classification and `by_sector = FALSE` yield
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match::match_name(...)
   3. r2dii.match:::fake_lbk(sector_classification_direct_loantaker = code_for_sector_power)
   4. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   5. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   6. tibble::new_tibble(output, nrow = first_size %||% 0L)
   7. tibble:::update_tibble_attrs(x, ...)
  
  -- 20. Error: w/ row 1 of loanbook and crucial cols yields expected (@test-match
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(...)
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 21. Error: w/ 1 row of full loanbook_demo yields expected names (@test-match_
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match::match_name(slice(loanbook_demo, 1L), fake_ald())
   2. tibble::rowid_to_column(loanbook)
   3. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   4. tibble::tibble(..., .name_repair = .name_repair)
   5. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   6. tibble::new_tibble(output, nrow = first_size %||% 0L)
   7. tibble:::update_tibble_attrs(x, ...)
  
  -- 22. Failure: takes unprepared loanbook and ald datasets (@test-match_name.R#1
  `match_name(slice(loanbook_demo, 1), ald_demo)` threw an error.
  Message: object 'tibble_update_attrs' not found
  Class:   simpleError/error/condition
  Backtrace:
    1. r2dii.match:::expect_no_error(...)
    7. r2dii.match::match_name(slice(loanbook_demo, 1), ald_demo)
    8. tibble::rowid_to_column(loanbook)
    9. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   10. tibble::tibble(..., .name_repair = .name_repair)
   11. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   12. tibble::new_tibble(output, nrow = first_size %||% 0L)
   13. tibble:::update_tibble_attrs(x, ...)
  
  -- 23. Error: w/ loanbook that matches nothing, yields expected (@test-match_nam
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_warning(out <- match_name(lbk2, ald_demo), "no match")
    6. r2dii.match::match_name(lbk2, ald_demo)
    7. tibble::rowid_to_column(loanbook)
    8. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
    9. tibble::tibble(..., .name_repair = .name_repair)
   10. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   11. tibble::new_tibble(output, nrow = first_size %||% 0L)
   12. tibble:::update_tibble_attrs(x, ...)
  
  -- 24. Error: w/ 2 lbk rows matching 2 ald rows, yields expected names (@test-ma
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_named(match_name(lbk45, ald_demo), expected_names_of_match_name_with_loanbook_demo)
    4. r2dii.match::match_name(lbk45, ald_demo)
    5. tibble::rowid_to_column(loanbook)
    6. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
    7. tibble::tibble(..., .name_repair = .name_repair)
    8. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
    9. tibble::new_tibble(output, nrow = first_size %||% 0L)
   10. tibble:::update_tibble_attrs(x, ...)
  
  -- 25. Error: w/ 1 lbk row matching ultimate, yields expected names (@test-match
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_named(match_name(lbk1, ald_demo), expected_names_of_match_name_with_loanbook_demo)
    4. r2dii.match::match_name(lbk1, ald_demo)
    5. tibble::rowid_to_column(loanbook)
    6. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
    7. tibble::tibble(..., .name_repair = .name_repair)
    8. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
    9. tibble::new_tibble(output, nrow = first_size %||% 0L)
   10. tibble:::update_tibble_attrs(x, ...)
  
  -- 26. Failure: takes `min_score` (@test-match_name.R#223)  --------------------
  `match_name(slice(loanbook_demo, 1), ald_demo, min_score = 0.5)` threw an error.
  Message: object 'tibble_update_attrs' not found
  Class:   simpleError/error/condition
  Backtrace:
    1. r2dii.match:::expect_no_error(...)
    7. r2dii.match::match_name(slice(loanbook_demo, 1), ald_demo, min_score = 0.5)
    8. tibble::rowid_to_column(loanbook)
    9. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   10. tibble::tibble(..., .name_repair = .name_repair)
   11. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   12. tibble::new_tibble(output, nrow = first_size %||% 0L)
   13. tibble:::update_tibble_attrs(x, ...)
  
  -- 27. Error: takes `by_sector` (@test-match_name.R#229)  ----------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_false(...)
    5. r2dii.match::match_name(...)
    6. tibble::rowid_to_column(loanbook)
    7. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
    8. tibble::tibble(..., .name_repair = .name_repair)
    9. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   10. tibble::new_tibble(output, nrow = first_size %||% 0L)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 28. Error: takes `method` (@test-match_name.R#238)  -------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_false(...)
    5. r2dii.match::match_name(...)
    6. tibble::rowid_to_column(loanbook)
    7. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
    8. tibble::tibble(..., .name_repair = .name_repair)
    9. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   10. tibble::new_tibble(output, nrow = first_size %||% 0L)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 29. Error: takes `p` (@test-match_name.R#249)  ------------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_false(...)
    5. r2dii.match::match_name(lbk45, ald_demo, p = 0.1)
    6. tibble::rowid_to_column(loanbook)
    7. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
    8. tibble::tibble(..., .name_repair = .name_repair)
    9. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   10. tibble::new_tibble(output, nrow = first_size %||% 0L)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 30. Error: takes `overwrite` (@test-match_name.R#260)  ----------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_false(...)
    5. r2dii.match::match_name(lbk, ald_demo, overwrite = NULL)
    6. tibble::rowid_to_column(loanbook)
    7. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
    8. tibble::tibble(..., .name_repair = .name_repair)
    9. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   10. tibble::new_tibble(output, nrow = first_size %||% 0L)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 31. Error: warns overwrite (@test-match_name.R#269)  ------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_warning(match_name(fake_lbk(), fake_ald(), overwrite = overwrite_demo))
    8. r2dii.match:::fake_lbk()
    9. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   10. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   11. tibble::new_tibble(output, nrow = first_size %||% 0L)
   12. tibble:::update_tibble_attrs(x, ...)
  
  -- 32. Error: recovers `sector_lbk` (@test-match_name.R#280)  ------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_true(...)
    7. r2dii.match::match_name(slice(loanbook_demo, 1), ald_demo)
    8. tibble::rowid_to_column(loanbook)
    9. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   10. tibble::tibble(..., .name_repair = .name_repair)
   11. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   12. tibble::new_tibble(output, nrow = first_size %||% 0L)
   13. tibble:::update_tibble_attrs(x, ...)
  
  -- 33. Error: recovers `sector_ald` (@test-match_name.R#289)  ------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_true(...)
    7. r2dii.match::match_name(loanbook_demo, ald_demo)
    8. tibble::rowid_to_column(loanbook)
    9. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   10. tibble::tibble(..., .name_repair = .name_repair)
   11. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   12. tibble::new_tibble(output, nrow = first_size %||% 0L)
   13. tibble:::update_tibble_attrs(x, ...)
  
  -- 34. Error: outputs name from loanbook, not name.y (bug fix) (@test-match_name
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match::match_name(slice(loanbook_demo, 1), ald_demo)
   2. tibble::rowid_to_column(loanbook)
   3. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   4. tibble::tibble(..., .name_repair = .name_repair)
   5. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   6. tibble::new_tibble(output, nrow = first_size %||% 0L)
   7. tibble:::update_tibble_attrs(x, ...)
  
  -- 35. Failure: works with `min_score = 0` (bug fix) (@test-match_name.R#300)  -
  `match_name(slice(loanbook_demo, 1), ald_demo, min_score = 0)` threw an error.
  Message: object 'tibble_update_attrs' not found
  Class:   simpleError/error/condition
  Backtrace:
    1. r2dii.match:::expect_no_error(...)
    7. r2dii.match::match_name(slice(loanbook_demo, 1), ald_demo, min_score = 0)
    8. tibble::rowid_to_column(loanbook)
    9. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   10. tibble::tibble(..., .name_repair = .name_repair)
   11. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   12. tibble::new_tibble(output, nrow = first_size %||% 0L)
   13. tibble:::update_tibble_attrs(x, ...)
  
  -- 36. Error: outputs only perfect matches if any (#40 @2diiKlaus) (@test-match_
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match:::to_alias(this_name)
   2. r2dii.match:::replace_with_abbreviation(from_to, .init = out)
   4. r2dii.match:::from_name_to_alias()
   5. tibble::tribble(...)
   6. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   7. tibble::new_tibble(frame_col, nrow = nrow)
   8. tibble:::update_tibble_attrs(x, ...)
  
  -- 37. Error: prefer_perfect_match_by prefers score == 1 if `var` group has any 
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tribble(~var, ~score, 1, 1, 2, 1, 2, 0.99, 3, 0.99, )
   2. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   3. tibble::new_tibble(frame_col, nrow = nrow)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 38. Error: match_name()$level lacks prefix 'name_' suffix '_lbk' (@test-match
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match::match_name(slice(loanbook_demo, 1), ald_demo)
   2. tibble::rowid_to_column(loanbook)
   3. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   4. tibble::tibble(..., .name_repair = .name_repair)
   5. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   6. tibble::new_tibble(output, nrow = first_size %||% 0L)
   7. tibble:::update_tibble_attrs(x, ...)
  
  -- 39. Error: preserves groups (@test-match_name.R#354)  -----------------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_true(...)
    5. r2dii.match::match_name(grouped_loanbook, ald_demo)
    6. tibble::rowid_to_column(loanbook)
    7. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
    8. tibble::tibble(..., .name_repair = .name_repair)
    9. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   10. tibble::new_tibble(output, nrow = first_size %||% 0L)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 40. Error: outputs id consistent with level (@test-match_name.R#358)  -------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. dplyr::slice(loanbook_demo, 5)
    9. r2dii.match::match_name(., ald_demo)
   10. tibble::rowid_to_column(loanbook)
   11. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   12. tibble::tibble(..., .name_repair = .name_repair)
   13. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   14. tibble::new_tibble(output, nrow = first_size %||% 0L)
   15. tibble:::update_tibble_attrs(x, ...)
  
  -- 41. Error: no longer yiels all NAs in lbk columns (#85 @jdhoffa) (@test-match
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match::match_name(loanbook_demo, ald_demo)
   2. tibble::rowid_to_column(loanbook)
   3. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   4. tibble::tibble(..., .name_repair = .name_repair)
   5. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   6. tibble::new_tibble(output, nrow = first_size %||% 0L)
   7. tibble:::update_tibble_attrs(x, ...)
  
  -- 42. Error: handles any number of intermediate_parent columns (#84) (@test-mat
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(...)
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 43. Error: warns/errors if some/all system classification is unknown (@test-m
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match:::fake_lbk(...)
   2. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   3. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   4. tibble::new_tibble(output, nrow = first_size %||% 0L)
   5. tibble:::update_tibble_attrs(x, ...)
  
  -- 44. Failure: w/ loanbook or ald with missing names errors gracefully (@test-m
  `match_name(lbk %||% fake_lbk(), ald %||% fake_ald())` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. r2dii.match:::expect_error_class_missing_names(...)
   12. r2dii.match:::fake_ald()
   13. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:80:2
   14. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   15. tibble::new_tibble(output, nrow = first_size %||% 0L)
   16. tibble:::update_tibble_attrs(x, ...)
  
  -- 45. Failure: w/ loanbook or ald with missing names errors gracefully (@test-m
  `match_name(lbk %||% fake_lbk(), ald %||% fake_ald())` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. r2dii.match:::expect_error_class_missing_names(...)
   12. r2dii.match:::fake_lbk()
   13. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   14. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   15. tibble::new_tibble(output, nrow = first_size %||% 0L)
   16. tibble:::update_tibble_attrs(x, ...)
  
  -- 46. Failure: w/ loanbook or ald with missing names errors gracefully (@test-m
  `match_name(lbk %||% fake_lbk(), ald %||% fake_ald())` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. r2dii.match:::expect_error_class_missing_names(...)
   12. r2dii.match:::fake_lbk()
   13. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   14. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   15. tibble::new_tibble(output, nrow = first_size %||% 0L)
   16. tibble:::update_tibble_attrs(x, ...)
  
  -- 47. Failure: w/ loanbook or ald with missing names errors gracefully (@test-m
  `match_name(lbk %||% fake_lbk(), ald %||% fake_ald())` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. r2dii.match:::expect_error_class_missing_names(...)
   12. r2dii.match:::fake_lbk()
   13. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   14. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   15. tibble::new_tibble(output, nrow = first_size %||% 0L)
   16. tibble:::update_tibble_attrs(x, ...)
  
  -- 48. Failure: w/ loanbook or ald with missing names errors gracefully (@test-m
  `match_name(lbk %||% fake_lbk(), ald %||% fake_ald())` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. r2dii.match:::expect_error_class_missing_names(...)
   12. r2dii.match:::fake_lbk()
   13. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   14. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   15. tibble::new_tibble(output, nrow = first_size %||% 0L)
   16. tibble:::update_tibble_attrs(x, ...)
  
  -- 49. Failure: w/ loanbook or ald with missing names errors gracefully (@test-m
  `match_name(lbk %||% fake_lbk(), ald %||% fake_ald())` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. r2dii.match:::expect_error_class_missing_names(...)
   12. r2dii.match:::fake_lbk()
   13. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   14. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   15. tibble::new_tibble(output, nrow = first_size %||% 0L)
   16. tibble:::update_tibble_attrs(x, ...)
  
  -- 50. Failure: w/ loanbook or ald with missing names errors gracefully (@test-m
  `match_name(lbk %||% fake_lbk(), ald %||% fake_ald())` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. r2dii.match:::expect_error_class_missing_names(...)
   12. r2dii.match:::fake_lbk()
   13. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   14. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   15. tibble::new_tibble(output, nrow = first_size %||% 0L)
   16. tibble:::update_tibble_attrs(x, ...)
  
  -- 51. Failure: w/ loanbook or ald with missing names errors gracefully (@test-m
  `match_name(lbk %||% fake_lbk(), ald %||% fake_ald())` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. r2dii.match:::expect_error_class_missing_names(...)
   12. r2dii.match:::fake_lbk(id_intermediate_parent = id_direct_loantaker)
   13. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   14. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   15. tibble::new_tibble(output, nrow = first_size %||% 0L)
   16. tibble:::update_tibble_attrs(x, ...)
  
  -- 52. Failure: w/ overwrite with missing names errors gracefully (@test-match_n
  `match_name(fake_lbk(), overwrite = tibble(bad = 1), fake_ald())` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_error(...)
    8. r2dii.match:::fake_lbk()
    9. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   10. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   11. tibble::new_tibble(output, nrow = first_size %||% 0L)
   12. tibble:::update_tibble_attrs(x, ...)
  
  -- 53. Failure: with bad input errors gracefully (@test-match_name.R#516)  -----
  `match_name(bad_loanbook, ald_demo)` threw an error.
  Message: object 'tibble_update_attrs' not found
  Class:   simpleError/error/condition
  Backtrace:
    1. r2dii.match:::expect_no_error(match_name(bad_loanbook, ald_demo))
    7. r2dii.match::match_name(bad_loanbook, ald_demo)
    8. tibble::rowid_to_column(loanbook)
    9. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   10. tibble::tibble(..., .name_repair = .name_repair)
   11. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   12. tibble::new_tibble(output, nrow = first_size %||% 0L)
   13. tibble:::update_tibble_attrs(x, ...)
  
  -- 54. Failure: with name_intermediate but not id_intermediate throws an error (
  `match_name(fake_lbk(name_intermediate_parent = "a"), fake_ald())` threw an error with unexpected class.
  Expected class: has_name_but_not_id
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_error(...)
    8. r2dii.match:::fake_lbk(name_intermediate_parent = "a")
    9. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   10. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   11. tibble::new_tibble(output, nrow = first_size %||% 0L)
   12. tibble:::update_tibble_attrs(x, ...)
  
  -- 55. Failure: w/ full demo datasets throws no error (@test-prioritize.R#5)  --
  `loanbook_demo %>% slice(4:5) %>% match_name(ald_demo) %>% prioritize(priority = "ultimate_parent")` threw an error.
  Message: object 'tibble_update_attrs' not found
  Class:   simpleError/error/condition
  Backtrace:
    1. r2dii.match:::expect_no_error(...)
    2. dplyr::slice(., 4:5)
    9. r2dii.match::match_name(., ald_demo)
   15. tibble::rowid_to_column(loanbook)
   16. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   17. tibble::tibble(..., .name_repair = .name_repair)
   18. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   19. tibble::new_tibble(output, nrow = first_size %||% 0L)
   20. tibble:::update_tibble_attrs(x, ...)
  
  -- 56. Failure: errors gracefully if data lacks crucial columns (@test-prioritiz
  `prioritize(fake_matched())` threw an error.
  Message: object 'tibble_update_attrs' not found
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(prioritize(fake_matched()), NA)
   10. r2dii.match:::fake_matched()
   11. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   12. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   13. tibble::new_tibble(output, nrow = first_size %||% 0L)
   14. tibble:::update_tibble_attrs(x, ...)
  
  -- 57. Failure: errors gracefully if data lacks crucial columns (@test-prioritiz
  `prioritize(select(fake_matched(), -id_loan))` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_error(...)
   11. r2dii.match:::fake_matched()
   12. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   13. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   14. tibble::new_tibble(output, nrow = first_size %||% 0L)
   15. tibble:::update_tibble_attrs(x, ...)
  
  -- 58. Failure: errors gracefully if data lacks crucial columns (@test-prioritiz
  `prioritize(select(fake_matched(), -level))` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_error(...)
   11. r2dii.match:::fake_matched()
   12. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   13. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   14. tibble::new_tibble(output, nrow = first_size %||% 0L)
   15. tibble:::update_tibble_attrs(x, ...)
  
  -- 59. Failure: errors gracefully if data lacks crucial columns (@test-prioritiz
  `prioritize(select(fake_matched(), -score))` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_error(...)
   11. r2dii.match:::fake_matched()
   12. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   13. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   14. tibble::new_tibble(output, nrow = first_size %||% 0L)
   15. tibble:::update_tibble_attrs(x, ...)
  
  -- 60. Failure: errors gracefully if data lacks crucial columns (@test-prioritiz
  `prioritize(select(fake_matched(), -sector_ald))` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_error(...)
   11. r2dii.match:::fake_matched()
   12. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   13. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   14. tibble::new_tibble(output, nrow = first_size %||% 0L)
   15. tibble:::update_tibble_attrs(x, ...)
  
  -- 61. Failure: errors gracefully if data lacks crucial columns (@test-prioritiz
  `prioritize(select(fake_matched(), -sector))` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_error(...)
   11. r2dii.match:::fake_matched()
   12. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   13. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   14. tibble::new_tibble(output, nrow = first_size %||% 0L)
   15. tibble:::update_tibble_attrs(x, ...)
  
  -- 62. Error: errors gracefully with bad `priority` (@test-prioritize.R#39)  ---
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_warning(...)
   10. r2dii.match:::fake_matched()
   11. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   12. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   13. tibble::new_tibble(output, nrow = first_size %||% 0L)
   14. tibble:::update_tibble_attrs(x, ...)
  
  -- 63. Error: picks score equal to 1 (@test-prioritize.R#46)  ------------------
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match:::fake_matched(score = c(1, 0.9))
   2. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   3. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   4. tibble::new_tibble(output, nrow = first_size %||% 0L)
   5. tibble:::update_tibble_attrs(x, ...)
  
  -- 64. Error: picks the highest level per id_loan (@test-prioritize.R#52)  -----
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tribble(...)
   2. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   3. tibble::new_tibble(frame_col, nrow = nrow)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 65. Error: takes a `priority` function or lambda (@test-prioritize.R#69)  ---
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match:::fake_matched(level = c("direct_loantaker", "ultimate_parent"))
   2. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   3. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   4. tibble::new_tibble(output, nrow = first_size %||% 0L)
   5. tibble:::update_tibble_attrs(x, ...)
  
  -- 66. Error: is sensitive to `priority` (@test-prioritize.R#83)  --------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(...)
    8. r2dii.match:::fake_matched(level = c("z", "a"))
    9. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   10. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   11. tibble::new_tibble(output, nrow = first_size %||% 0L)
   12. tibble:::update_tibble_attrs(x, ...)
  
  -- 67. Error: ignores existing groups  -----------------------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tribble(...)
   2. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   3. tibble::new_tibble(frame_col, nrow = nrow)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 68. Error: previous preserves groups (@helper-fake_lbk.R#97)  ---------------
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match:::fake_matched(other_id = 1:4)
   2. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   3. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   4. tibble::new_tibble(output, nrow = first_size %||% 0L)
   5. tibble:::update_tibble_attrs(x, ...)
  
  -- 69. Error: prioritize_level otputs expected vector (@test-prioritize.R#120)  
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(...)
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 70. Error: prioritize_at with ungrouped data picks the highest priority row  
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(x = c("a", "z"))
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 71. Error: prioritize_at with grouped data picks one row per group  ---------
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(x = c(1, 2, 2), y = c("a", "a", "z"))
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 72. Error: does not warn if a group has not all priority items (@helper-fake_
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match:::fake_matched(level = c("a", "z"), new = level)
   2. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   3. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   4. tibble::new_tibble(output, nrow = first_size %||% 0L)
   5. tibble:::update_tibble_attrs(x, ...)
  
  -- 73. Error: w/ id_loan at level direct* & ultimate* picks only direct* (#106) 
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match:::fake_matched(level = c("ultimate_parent", "direct_loantaker"))
   2. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   3. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   4. tibble::new_tibble(output, nrow = first_size %||% 0L)
   5. tibble:::update_tibble_attrs(x, ...)
  
  -- 74. Error: output is independent from the row-order of the input (#113) (@tes
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tribble(...)
   2. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   3. tibble::new_tibble(frame_col, nrow = nrow)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 75. Error: error if score=1 & values by id_loan+level are duplicated (#114) (
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match:::fake_matched(score = 0:1)
   2. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   3. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   4. tibble::new_tibble(output, nrow = first_size %||% 0L)
   5. tibble:::update_tibble_attrs(x, ...)
  
  -- 76. Error: passes if score=1 & values by id_loan are duplicated for distinct
  
  object 'tibble_update_attrs' not found
  Backtrace:
   1. r2dii.match:::fake_matched(...)
   2. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:97:2
   3. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   4. tibble::new_tibble(output, nrow = first_size %||% 0L)
   5. tibble:::update_tibble_attrs(x, ...)
  
  -- 77. Error: (unknown) (@test-restructure_loanbook_for_matching.R#3)  ---------
  object 'tibble_update_attrs' not found
  Backtrace:
    9. tibble::rowid_to_column(.)
   10. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   11. tibble::tibble(..., .name_repair = .name_repair)
   12. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   13. tibble::new_tibble(output, nrow = first_size %||% 0L)
   14. tibble:::update_tibble_attrs(x, ...)
  
  -- 78. Error: score_alias_similarity outputs a tibble (@test-score_alias_similar
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(sector = "A", alias = "a")
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 79. Error: score_alias_similarity has the expected names (@test-score_alias_s
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(sector = "A", alias = "a")
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 80. Error: score_alias_similarity is sensitive to by_sector (@test-score_alia
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(sector = c("A", "B"), alias = c("a", "ab"))
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 81. Error: score_alias_similarity scores extreme cases correctly (@test-score
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(sector = c("A", "B"), alias = c("a", "ab"))
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 82. Error: score_alias_similarity combines all alias of x and y (@test-score_
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(sector = c("A", "A"), alias = c("a", "b"))
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 83. Error: score_alias_similarity with `by_sector = FALSE` outputs
    all comb
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(...)
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 84. Error: score_alias_similarity w/by_sector errors w/out `sector` (@test-sc
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(alias = "a")
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 85. Error: score_alias_similarity handles NA (@test-score_alias_similarity.R#
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(sector = "A", alias = NA)
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 86. Error: match_all_agains_all passes arguments to score_string_similarity (
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(sector = "A", alias = "a")
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 87. Error: score_alias_similarity w/ same `alias` in 2 sectors and
            
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(sector = c("A", "B"), alias = "a")
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 88. Error: score_alias_similarity outputs unique rows (@test-score_alias_simi
  object 'tibble_update_attrs' not found
  Backtrace:
    8. tibble::rowid_to_column(.)
    9. tibble::add_column(df, `:=`(!!var, seq_len(nrow(df))), .before = 1)
   10. tibble::tibble(..., .name_repair = .name_repair)
   11. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   12. tibble::new_tibble(output, nrow = first_size %||% 0L)
   13. tibble:::update_tibble_attrs(x, ...)
  
  -- 89. Error: select_chr works a single match per pattern (@test-select_chr.R#3)
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(...)
    4. r2dii.match:::select_chr(x, starts_with("b"), starts_with("a"))
    6. tibble:::as_tibble.list(purrr::set_names(as.list(unique(x))))
    7. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    8. tibble:::recycle_columns(x, .rows, lengths)
    9. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   10. tibble:::update_tibble_attrs(x, ...)
  
  -- 90. Error: select_chr works with a multiple matches of one pattern (@test-sel
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(select_chr(x, starts_with("a")), x)
    4. r2dii.match:::select_chr(x, starts_with("a"))
    6. tibble:::as_tibble.list(purrr::set_names(as.list(unique(x))))
    7. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    8. tibble:::recycle_columns(x, .rows, lengths)
    9. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   10. tibble:::update_tibble_attrs(x, ...)
  
  -- 91. Error: select_chr works with less matching items than data items (@test-s
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(select_chr(x, starts_with("b")), "bx")
    4. r2dii.match:::select_chr(x, starts_with("b"))
    6. tibble:::as_tibble.list(purrr::set_names(as.list(unique(x))))
    7. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    8. tibble:::recycle_columns(x, .rows, lengths)
    9. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   10. tibble:::update_tibble_attrs(x, ...)
  
  -- 92. Error: select_chr works with ambiguous matches (@test-select_chr.R#21)  -
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(select_chr(x, matches("x")), x)
    4. r2dii.match:::select_chr(x, matches("x"))
    6. tibble:::as_tibble.list(purrr::set_names(as.list(unique(x))))
    7. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    8. tibble:::recycle_columns(x, .rows, lengths)
    9. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   10. tibble:::update_tibble_attrs(x, ...)
  
  -- 93. Error: select_chr works with a vector containing duplicated items (@test-
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(select_chr(x, "a"), "a")
    4. r2dii.match:::select_chr(x, "a")
    6. tibble:::as_tibble.list(purrr::set_names(as.list(unique(x))))
    7. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    8. tibble:::recycle_columns(x, .rows, lengths)
    9. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   10. tibble:::update_tibble_attrs(x, ...)
  
  -- 94. Error: to_alias with `NA` returns `NA_character` (@test-to_alias.R#5)  --
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(to_alias(NA), NA_character_)
    4. r2dii.match:::to_alias(NA)
    5. r2dii.match:::replace_with_abbreviation(from_to, .init = out)
    7. r2dii.match:::from_name_to_alias()
    8. tibble::tribble(...)
    9. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   10. tibble::new_tibble(frame_col, nrow = nrow)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 95. Error: to_alias with '' returns '' (@test-to_alias.R#9)  ----------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(to_alias(""), "")
    4. r2dii.match:::to_alias("")
    5. r2dii.match:::replace_with_abbreviation(from_to, .init = out)
    7. r2dii.match:::from_name_to_alias()
    8. tibble::tribble(...)
    9. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   10. tibble::new_tibble(frame_col, nrow = nrow)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 96. Error: to_alias lowercases a letter (@test-to_alias.R#13)  --------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(to_alias("A"), "a")
    4. r2dii.match:::to_alias("A")
    5. r2dii.match:::replace_with_abbreviation(from_to, .init = out)
    7. r2dii.match:::from_name_to_alias()
    8. tibble::tribble(...)
    9. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   10. tibble::new_tibble(frame_col, nrow = nrow)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 97. Error: to_alias with 'public limited company' returns 'plc' (@test-to_ali
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(to_alias("public limited company"), "plc")
    4. r2dii.match:::to_alias("public limited company")
    5. r2dii.match:::replace_with_abbreviation(from_to, .init = out)
    7. r2dii.match:::from_name_to_alias()
    8. tibble::tribble(...)
    9. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   10. tibble::new_tibble(frame_col, nrow = nrow)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 98. Error: simplify works with a vector of length > 1 (@test-to_alias.R#21)  
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(to_alias(c("A", "B")), c("a", "b"))
    4. r2dii.match:::to_alias(c("A", "B"))
    5. r2dii.match:::replace_with_abbreviation(from_to, .init = out)
    7. r2dii.match:::from_name_to_alias()
    8. tibble::tribble(...)
    9. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   10. tibble::new_tibble(frame_col, nrow = nrow)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 99. Error: to_alias removes: and och en und & (@test-to_alias.R#25)  --------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(...)
    4. r2dii.match:::to_alias(c(" and ", " och ", " en ", " und ", " & "))
    5. r2dii.match:::replace_with_abbreviation(from_to, .init = out)
    7. r2dii.match:::from_name_to_alias()
    8. tibble::tribble(...)
    9. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   10. tibble::new_tibble(frame_col, nrow = nrow)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 100. Error: to_alias removes: . , - / $ (@test-to_alias.R#32)  --------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(...)
    4. r2dii.match:::to_alias(c(" . ", " , ", " - ", " / ", " $ "))
    5. r2dii.match:::replace_with_abbreviation(from_to, .init = out)
    7. r2dii.match:::from_name_to_alias()
    8. tibble::tribble(...)
    9. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   10. tibble::new_tibble(frame_col, nrow = nrow)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 101. Error: to_alias is sensitive to `remove_ownership` (@test-to_alias.R#39)
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_equal(to_alias("One-Two-Three plc"), "onetwothree plc")
    4. r2dii.match:::to_alias("One-Two-Three plc")
    5. r2dii.match:::replace_with_abbreviation(from_to, .init = out)
    7. r2dii.match:::from_name_to_alias()
    8. tibble::tribble(...)
    9. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   10. tibble::new_tibble(frame_col, nrow = nrow)
   11. tibble:::update_tibble_attrs(x, ...)
  
  -- 102. Error: to_alias takes lookup columns in upper/lower case (@test-to_alias
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(From = "AAAA", To = "BBB")
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 103. Error: to_alias with custom replacement rules works ok (@test-to_alias.R
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(from = "AAAA", to = "BBB")
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 104. Error: to_alias with custom ownership types works ok (@test-to_alias.R#8
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tibble(from = character(0), to = character(0))
   2. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   3. tibble::new_tibble(output, nrow = first_size %||% 0L)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 105. Failure: to_alias errors with malformed `from_to` (@test-to_alias.R#108)
  `to_alias("a", from_to = tibble(bad = "a", to = "b"))` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_error(...)
    9. tibble::tibble(bad = "a", to = "b")
   10. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   11. tibble::new_tibble(output, nrow = first_size %||% 0L)
   12. tibble:::update_tibble_attrs(x, ...)
  
  -- 106. Failure: to_alias errors with malformed `from_to` (@test-to_alias.R#113)
  `to_alias("a", from_to = tibble(from = "a", bad = "b"))` threw an error with unexpected class.
  Expected class: missing_names
  Actual class:   simpleError/error/condition
  Message:        object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_error(...)
    9. tibble::tibble(from = "a", bad = "b")
   10. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   11. tibble::new_tibble(output, nrow = first_size %||% 0L)
   12. tibble:::update_tibble_attrs(x, ...)
  
  -- 107. Error: from_name_to_alias outputs the expectes tibble (@test-to_alias.R#
  object 'tibble_update_attrs' not found
  Backtrace:
   1. testthat::expect_is(from_name_to_alias(), "tbl_df")
   4. r2dii.match:::from_name_to_alias()
   5. tibble::tribble(...)
   6. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   7. tibble::new_tibble(frame_col, nrow = nrow)
   8. tibble:::update_tibble_attrs(x, ...)
  
  -- 108. Error: (unknown) (@test-to_alias.R#135)  -------------------------------
  object 'tibble_update_attrs' not found
  Backtrace:
   1. tibble::tribble(...)
   2. tibble:::turn_frame_data_into_tibble(data$frame_names, data$frame_rest)
   3. tibble::new_tibble(frame_col, nrow = nrow)
   4. tibble:::update_tibble_attrs(x, ...)
  
  -- 109. Error: uniquify_id_column overwrites id_ultimate_parent (@test-uniquify_
  object 'tibble_restore_impl' not found
  Backtrace:
   1. base::`$<-`(`*tmp*`, id_ultimate_parent, value = "bla")
   2. tibble:::`$<-.tbl_df`(`*tmp*`, id_ultimate_parent, value = "bla")
   3. tibble:::tbl_subassign(...)
   4. tibble:::vectbl_restore(xo, x)
  
  -- 110. Error: uniquify_id_column overwrites id_direct_loantaker (@test-uniquify
  object 'tibble_restore_impl' not found
  Backtrace:
   1. base::`$<-`(`*tmp*`, id_direct_loantaker, value = "bla")
   2. tibble:::`$<-.tbl_df`(`*tmp*`, id_direct_loantaker, value = "bla")
   3. tibble:::tbl_subassign(...)
   4. tibble:::vectbl_restore(xo, x)
  
  -- 111. Error: uniquify_id_column prints its output (fix not returned result)  -
  object 'tibble_restore_impl' not found
  Backtrace:
   1. r2dii.match:::uniquify_id_column(loanbook_demo, id_column = "id_ultimate_parent")
   3. tibble:::`[<-.tbl_df`(...)
   4. tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   5. tibble:::vectbl_restore(xo, x)
  
  -- 112. Error: warns unknown intermediate column (@test-uniquify_id_column.R#44)
  object 'tibble_update_attrs' not found
  Backtrace:
    1. testthat::expect_warning(...)
   10. r2dii.match:::fake_lbk()
   11. tibble::tibble(...) d:\RCompile\CRANpkg\local\3.5\r2dii.match.Rcheck\tests\testthat\helper-fake_lbk.R:60:2
   12. tibble:::tibble_quos(xs[!is_null], .rows, .name_repair)
   13. tibble::new_tibble(output, nrow = first_size %||% 0L)
   14. tibble:::update_tibble_attrs(x, ...)
  
  == testthat results  ===========================================================
  [ OK: 19 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 112 ]
  1. Error: $borderline is of type logical (@test-add_sector_and_borderline.R#4) 
  2. Error: outputs known output (@test-add_sector_and_borderline.R#11) 
  3. Error: returns a tibble dataframe (@test-add_sector_and_borderline.R#19) 
  4. Error: adds two columns: `sector` and `borderline` (@test-add_sector_and_borderline.R#29) 
  5. Error: added columns return acceptable values (@test-add_sector_and_borderline.R#50) 
  6. Error: preserves typeof() input columns (@test-add_sector_and_borderline.R#58) 
  7. Error: outputs no missing value of `sector` (@test-add_sector_and_borderline.R#67) 
  8. Error: outputs no missing value of `borderline` (@test-add_sector_and_borderline.R#72) 
  9. Error: fake_lbk w/ lenght-2 input outpus 2 rows (@test-helper-fake_lbk.R#2) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted