Running ‘testthat.R’ [19s/27s]
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")
  Reading layer `nc' from data source 
    `/data/gannet/ripley/R/test-clang/sf/shape/nc.shp' using driver `ESRI Shapefile'
  Simple feature collection with 100 features and 14 fields
  Geometry type: MULTIPOLYGON
  Dimension:     XY
  Bounding box:  xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
  Geodetic CRS:  NAD27
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-adorn-pct-formatting.R:58:3): works with one-way tabyl ────────
  mtcars %>% tabyl(carb) %>% adorn_pct_formatting(digits = 0) %>% 
      untabyl() not equal to data.frame(...).
  Names: 1 string mismatch
  ── Failure (test-tabyl.R:49:3): show_NA = FALSE parameter works, incl. with piped input ──
  `resss` not equal to test_df_na %>% tabyl(grp, show_na = FALSE).
  Names: 1 string mismatch
  Attributes: < Component "core": Names: 1 string mismatch >
  ── Failure (test-tabyl.R:83:3): piping in a data.frame works ───────────────────
  `x` not equal to mtcars %>% tabyl(cyl).
  Names: 1 string mismatch
  Attributes: < Component "core": Names: 1 string mismatch >
  ── Failure (test-tabyl.R:126:3): bad input variable name is preserved ──────────
  ... %>% .[[1]] not equal to "bad name".
  1/1 mismatches
  x[1]: "structure(list(\"bad name\" = c(6, 6, 4, 6, 8, 6, 8, 4, 4, 6, 6, 8, 8, 8,
  x[1]:  8, 8, 8, 4, 4, 4, 4, 8, 8, 8, 8, 4, 4, 4, 8, 6, 8, 4)), row.names = c(\"M
  x[1]: azda RX4\", \"Mazda RX4 Wag\", \"Datsun 710\", \"Hornet 4 Drive\", \"Horne
  x[1]: t Sportabout\", \"Valiant\", \"Duster 360\", \"Merc 240D\", \"Merc 230\", 
  x[1]: \"Merc 280\", \"Merc 280C\", \"Merc 450SE\", \"Merc 450SL\", \"Merc 450...
  y[1]: "bad name"
  ── Failure (test-tabyl.R:140:3): input variable names 'percent' and 'n' are handled ──
  a %>% tabyl(percent) not equal to as_tabyl(...).
  Names: 2 string mismatches
  Attributes: < Component "core": Names: 2 string mismatches >
  ── Failure (test-tabyl.R:151:3): input variable names 'percent' and 'n' are handled ──
  a %>% tabyl(n) not equal to as_tabyl(...).
  Names: 2 string mismatches
  Attributes: < Component "core": Names: 2 string mismatches >
  
  [ FAIL 6 | WARN 0 | SKIP 1 | PASS 643 ]
  Error: Test failures
  Execution halted