Running 'testthat.R' [8s/10s]
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. Failure: Names are cleaned appropriately (@test-clean-names.R#29)  -------
  names(clean)[13] not equal to "acao".
  1/1 mismatches
  x[1]: "a<U+FFFD><U+FFFD>o"
  y[1]: "acao"
  
  -- 2. Failure: Names are cleaned appropriately (@test-clean-names.R#30)  -------
  names(clean)[14] not equal to "faroe".
  1/1 mismatches
  x[1]: "far<U+FFFD>"
  y[1]: "faroe"
  
  -- 3. Failure: Tests for cases beyond default snake (@test-clean-names.R#45)  --
  names(clean_names(test_df, "small_camel")) not equal to c(...).
  2/20 mismatches
  x[13]: "a<U+FFFD><U+FFFD>O"
  y[13]: "acao"
  
  x[14]: "far<U+FFFD>"
  y[14]: "faroe"
  
  -- 4. Failure: Tests for cases beyond default snake (@test-clean-names.R#52)  --
  names(clean_names(test_df, "big_camel")) not equal to c(...).
  2/20 mismatches
  x[13]: "A<U+FFFD><U+FFFD>O"
  y[13]: "Acao"
  
  x[14]: "Far<U+FFFD>"
  y[14]: "Faroe"
  
  -- 5. Failure: Tests for cases beyond default snake (@test-clean-names.R#59)  --
  names(clean_names(test_df, "all_caps")) not equal to c(...).
  2/20 mismatches
  x[13]: "A<U+FFFD><U+FFFD>O"
  y[13]: "ACAO"
  
  x[14]: "FAR<U+FFFD>"
  y[14]: "FAROE"
  
  -- 6. Failure: Tests for cases beyond default snake (@test-clean-names.R#66)  --
  names(clean_names(test_df, "lower_upper")) not equal to c(...).
  2/20 mismatches
  x[13]: "a<U+FFFD><U+FFFD>O"
  y[13]: "acao"
  
  x[14]: "far<U+FFFD>"
  y[14]: "faroe"
  
  -- 7. Failure: Tests for cases beyond default snake (@test-clean-names.R#73)  --
  names(clean_names(test_df, "upper_lower")) not equal to c(...).
  2/20 mismatches
  x[13]: "A<U+FFFD><U+FFFD>o"
  y[13]: "ACAO"
  
  x[14]: "FAR<U+FFFD>"
  y[14]: "FAROE"
  
  -- 8. Failure: Tests for cases beyond default snake (@test-clean-names.R#80)  --
  names(clean_names(test_df, "none")) not equal to c(...).
  2/20 mismatches
  x[13]: "a<U+FFFD><U+FFFD>o"
  y[13]: "acao"
  
  x[14]: "Far<U+FFFD>"
  y[14]: "Faroe"
  
  Reading layer `nc' from data source `/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/sf/shape/nc.shp' using driver `ESRI Shapefile'
  Simple feature collection with 100 features and 14 fields
  geometry type:  MULTIPOLYGON
  dimension:      XY
  bbox:           xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
  epsg (SRID):    4267
  proj4string:    +proj=longlat +datum=NAD27 +no_defs
  -- 9. Failure: Names are cleaned appropriately (@test-clean-names.R#153)  ------
  names(clean)[13] not equal to "acao".
  1/1 mismatches
  x[1]: "a<U+FFFD><U+FFFD>o"
  y[1]: "acao"
  
  -- 10. Failure: Names are cleaned appropriately (@test-clean-names.R#154)  -----
  names(clean)[14] not equal to "faroe".
  1/1 mismatches
  x[1]: "far<U+FFFD>"
  y[1]: "faroe"
  
  == testthat results  ===========================================================
  OK: 550 SKIPPED: 0 WARNINGS: 28 FAILED: 10
  1.  Failure: Names are cleaned appropriately (@test-clean-names.R#29) 
  2.  Failure: Names are cleaned appropriately (@test-clean-names.R#30) 
  3.  Failure: Tests for cases beyond default snake (@test-clean-names.R#45) 
  4.  Failure: Tests for cases beyond default snake (@test-clean-names.R#52) 
  5.  Failure: Tests for cases beyond default snake (@test-clean-names.R#59) 
  6.  Failure: Tests for cases beyond default snake (@test-clean-names.R#66) 
  7.  Failure: Tests for cases beyond default snake (@test-clean-names.R#73) 
  8.  Failure: Tests for cases beyond default snake (@test-clean-names.R#80) 
  9.  Failure: Names are cleaned appropriately (@test-clean-names.R#153) 
  10. Failure: Names are cleaned appropriately (@test-clean-names.R#154) 
  
  Error: testthat unit tests failed
  Execution halted