Running ‘testthat.R’ [17s/26s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(janitor)
  
  Attaching package: 'janitor'
  
  The following objects are masked from 'package:stats':
  
      chisq.test, fisher.test
  
  > 
  > test_check("janitor")
  ── 1. Error: totals col is correct (@test-add-totals.R#41)  ────────────────────
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
    1. testthat::expect_equal(...)
    5. janitor::adorn_totals(ct, "col")
    7. janitor:::clean_names.data.frame(dat)
    9. janitor::make_clean_names(names(dat), ...)
   10. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 2. Error: totals row and col produce correct results when called together (@t
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
    1. testthat::expect_equal(...)
    9. janitor::adorn_totals(., c("row", "col"))
   13. janitor:::clean_names.data.frame(dat)
   15. janitor::make_clean_names(names(dat), ...)
   16. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 3. Error: order doesn't matter when row and col are called together (@test-ad
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
    1. testthat::expect_equal(...)
    9. janitor::adorn_totals(., c("row", "col"))
   13. janitor:::clean_names.data.frame(dat)
   15. janitor::make_clean_names(names(dat), ...)
   16. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 4. Failure: both functions work with a single column (@test-add-totals.R#90) 
  `single_col %>% adorn_totals("col")` threw an error.
  Message: A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(single_col %>% adorn_totals("col"), NA)
   10. janitor::adorn_totals(., "col")
   16. janitor:::clean_names.data.frame(dat)
   18. janitor::make_clean_names(names(dat), ...)
   19. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 5. Failure: both functions work with a single column (@test-add-totals.R#91) 
  `single_col %>% adorn_totals(c("col", "row"))` threw an error.
  Message: A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
   10. janitor::adorn_totals(., c("col", "row"))
   16. janitor:::clean_names.data.frame(dat)
   18. janitor::make_clean_names(names(dat), ...)
   19. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 6. Error: numeric first column is ignored (@test-add-totals.R#107)  ─────────
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
    1. testthat::expect_equal(...)
    2. janitor::tabyl(., cyl, gear)
    9. janitor::adorn_totals(., "col")
   13. janitor:::clean_names.data.frame(dat)
   15. janitor::make_clean_names(names(dat), ...)
   16. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 7. Error: na.rm value works correctly (@test-add-totals.R#137)  ─────────────
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
    1. testthat::expect_equal(...)
    9. janitor::adorn_totals(., c("row", "col"), na.rm = FALSE)
   13. janitor:::clean_names.data.frame(dat)
   15. janitor::make_clean_names(names(dat), ...)
   16. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 8. Error: works with non-numeric columns mixed in; fill character specificati
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
    1. testthat::expect_equal(...)
    9. janitor::adorn_totals(., where = c("row", "col"), fill = "*")
   13. janitor:::clean_names.data.frame(dat)
   15. janitor::make_clean_names(names(dat), ...)
   16. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 9. Error: totals attributes are assigned correctly (@test-add-totals.R#229)  
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
   1. janitor::adorn_totals(ct, c("row", "col"))
   3. janitor:::clean_names.data.frame(dat)
   5. janitor::make_clean_names(names(dat), ...)
   6. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 10. Failure: trying to re-adorn a dimension fails (@test-add-totals.R#252)  ─
  `ct %>% adorn_totals("col") %>% adorn_totals("col")` threw an error with unexpected message.
  Expected match: "trying to re-add a totals dimension that is already been added"
  Actual message: "A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)"
  Backtrace:
    1. testthat::expect_error(...)
    9. janitor::adorn_totals(., "col")
   15. janitor:::clean_names.data.frame(dat)
   17. janitor::make_clean_names(names(dat), ...)
   18. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 11. Error: automatically invokes purrr::map when called on a 3-way tabyl (@te
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
    1. testthat::expect_equal(...)
    4. janitor::adorn_totals(...)
    5. purrr::map(dat, adorn_totals, where, fill, na.rm, name)
    6. janitor:::.f(.x[[i]], ...)
    8. janitor:::clean_names.data.frame(dat)
   10. janitor::make_clean_names(names(dat), ...)
   11. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 12. Error: column total name is changed (@test-add-totals.R#289)  ───────────
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
    1. testthat::expect_equal(...)
    6. janitor::adorn_totals(ct, where = "col", name = "NewTitle")
    8. janitor:::clean_names.data.frame(dat)
   10. janitor::make_clean_names(names(dat), ...)
   11. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 13. Error: tidyselecting works (@test-add-totals.R#296)  ────────────────────
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
    9. janitor::adorn_totals(...)
   11. janitor:::clean_names.data.frame(dat)
   13. janitor::make_clean_names(names(dat), ...)
   14. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 14. Error: (unknown) (@test-adorn-percentages.R#52)  ────────────────────────
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
    9. janitor::adorn_totals(., c("row", "col"))
   11. janitor:::clean_names.data.frame(dat)
   13. janitor::make_clean_names(names(dat), ...)
   14. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  ── 15. Error: All scenarios for make_clean_names (@test-clean-names.R#6)  ──────
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
   1. testthat::expect_equal(make_clean_names("sp ace"), "sp_ace")
   4. janitor::make_clean_names("sp ace")
   5. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  -- 16. Error: locale-specific make_clean_names tests (@test-clean-names.R#118)  
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
   1. testthat::expect_equal(...)
   4. janitor::make_clean_names("<U+4ECB><U+8B77>_<U+770B><U+8B77>_<U+5973>")
   5. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  -- 17. Error: do not create duplicates (fix #251) (@test-clean-names.R#142)  ---
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
   1. testthat::expect_equal(...)
   4. janitor::make_clean_names(c("a", "a", "a_2"))
   5. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  -- 18. Error: (unknown) (@test-clean-names.R#177)  -----------------------------
  A '::id' rule specifies an unknown transliterator. (U_INVALID_ID)
  Backtrace:
   1. janitor::clean_names(test_df, "snake", ascii = TRUE)
   2. janitor:::clean_names.data.frame(test_df, "snake", ascii = TRUE)
   4. janitor::make_clean_names(names(dat), ...)
   5. stringi::stri_trans_general(replaced_names, id = "Greek-Latin;Latin-ASCII;Accents-Any;Any-ASCII")
  
  == testthat results  ===========================================================
  [ OK: 455 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 18 ]
  1. Error: totals col is correct (@test-add-totals.R#41) 
  2. Error: totals row and col produce correct results when called together (@test-add-totals.R#57) 
  3. Error: order doesn't matter when row and col are called together (@test-add-totals.R#74) 
  4. Failure: both functions work with a single column (@test-add-totals.R#90) 
  5. Failure: both functions work with a single column (@test-add-totals.R#91) 
  6. Error: numeric first column is ignored (@test-add-totals.R#107) 
  7. Error: na.rm value works correctly (@test-add-totals.R#137) 
  8. Error: works with non-numeric columns mixed in; fill character specification (@test-add-totals.R#198) 
  9. Error: totals attributes are assigned correctly (@test-add-totals.R#229) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted