Running 'testthat.R' [154s/171s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This is necessary because some tests fail otherwise; see https://github.com/hadley/testthat/issues/144
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(tidybayes)
  > 
  > test_check("tidybayes")
  -- 1. Failure: binning works on symmetric distributions (@test.binning_methods.R
  automatic_bin(c(1, 2, 3), width = 1) not equal to list(bins = c(1, 2, 3), bin_midpoints = c(1, 2, 3)).
  Component "bin_midpoints": Modes: list, numeric
  
  -- 2. Failure: binning works on symmetric distributions (@test.binning_methods.R
  automatic_bin(qnorm(ppoints(20, a = 1/2)), width = 0.5) not equal to list(...).
  Component "bin_midpoints": Modes: list, numeric
  
  -- 3. Failure: binning works on symmetric distributions (@test.binning_methods.R
  automatic_bin(ppoints(12, a = 1/2), width = 0.25) not equal to list(...).
  Component "bin_midpoints": Modes: list, numeric
  
  -- 4. Failure: binning works on symmetric distributions (@test.binning_methods.R
  automatic_bin(ppoints(9, a = 1/2), width = 0.25) not equal to list(...).
  Component "bin_midpoints": Modes: list, numeric
  
  -- 5. Failure: binning works on symmetric distributions (@test.binning_methods.R
  automatic_bin(c(1, 2, 2, 3, 3), width = 1) not equal to list(bins = c(1L, 2L, 2L, 3L, 3L), bin_midpoints = c(1, 2, 3)).
  Component "bin_midpoints": Modes: list, numeric
  
  -- 6. Failure: binning works on symmetric distributions (@test.binning_methods.R
  automatic_bin(c(1, 2, 3), width = 1) not equal to list(bins = c(1, 2, 3), bin_midpoints = c(1, 2, 3)).
  Component "bin_midpoints": Modes: list, numeric
  
  -- 7. Failure: binning works on symmetric distributions (@test.binning_methods.R
  automatic_bin(c(1, 2, 2, 3), width = 1) not equal to list(bins = c(1, 2, 2, 3), bin_midpoints = c(1, 2, 3)).
  Component "bin_midpoints": Modes: list, numeric
  
  -- 8. Failure: binning works on symmetric distributions (@test.binning_methods.R
  automatic_bin(c(1, 2), width = 1) not equal to list(bins = c(1, 2), bin_midpoints = c(1, 2)).
  Component "bin_midpoints": Modes: list, numeric
  
  -- 9. Error: pairwise level comparison works  ----------------------------------
  n < m
  Backtrace:
   1. plyr::ldply(...)
   2. utils::combn(levels(draws$ff), 2, simplify = FALSE)
  
  -- 10. Failure: ordered level comparison works (@test.compare_levels.R#59)  ----
  compare_levels(draws, tau, by = ff, comparison = ordered) not equal to `ref`.
  Incompatible type for column `ff`: x character, y factor
  
  -- 11. Failure: ordered level comparison works (@test.compare_levels.R#60)  ----
  compare_levels(draws, tau, by = ff, comparison = "ordered") not equal to `ref`.
  Incompatible type for column `ff`: x character, y factor
  
  -- 12. Failure: control level comparison works (@test.compare_levels.R#75)  ----
  compare_levels(draws, tau, by = ff, comparison = control) not equal to `ref`.
  Incompatible type for column `ff`: x character, y factor
  
  -- 13. Failure: named functions are supported and named with their own name (@te
  compare_levels(draws, tau, by = ff, fun = `+`, comparison = control) not equal to `ref`.
  Incompatible type for column `ff`: x character, y factor
  
  -- 14. Failure: anonymous functions are supported and named with `:` (@test.comp
  compare_levels(...) not equal to `ref`.
  Incompatible type for column `ff`: x character, y factor
  
  -- 15. Failure: custom comparisons of lists of character vectors are supported (
  compare_levels(...) not equal to `ref`.
  Incompatible type for column `ff`: x character, y factor
  
  -- 16. Failure: custom comparisons of lists of unevaluated expressions are suppo
  compare_levels(...) not equal to `ref`.
  Incompatible type for column `ff`: x character, y factor
  
  -- 17. Failure: custom comparisons of lists of unevaluated expressions are suppo
  compare_levels(...) not equal to `ref`.
  Incompatible type for column `ff`: x character, y factor
  
  -- 18. Failure: comparisons of subsets of levels of factors are supported (@test
  compare_levels(draws, tau, by = ff, comparison = pairwise) not equal to `ref`.
  Incompatible type for column `ff`: x character, y factor
  
  -- 19. Failure: compare_levels respects groups of input data frame (@test.compar
  `result` not equal to `ref`.
  Incompatible type for column `j`: x character, y factor
  
  -- 20. Failure: spread_draws works on a variable with one named index (@test.spr
  spread_draws(RankCorr_i, tau[i]) %>% arrange(i) not equal to `ref`.
  Incompatible type for column `i`: x factor, y character
  
  -- 21. Failure: spread_draws works on a variable with two named dimensions (@tes
  spread_draws(RankCorr_ij, b[i, j]) %>% arrange(j, i) not equal to `ref`.
  Incompatible type for column `i`: x factor, y character
  Incompatible type for column `j`: x factor, y character
  
  -- 22. Failure: spread_draws works on a variable with two named dimensions, one 
  spread_draws(RankCorr_ij, b[i, j] | j) %>% arrange(.iteration) not equal to `ref`.
  Incompatible type for column `i`: x factor, y character
  
  -- 23. Failure: spread_draws works on a variable with one named index and one wi
  spread_draws(RankCorr_i, b[i, ..]) %>% arrange(.iteration) not equal to `ref`.
  Incompatible type for column `i`: x factor, y character
  
  == testthat results  ===========================================================
  [ OK: 306 | SKIPPED: 125 | WARNINGS: 0 | FAILED: 23 ]
  1. Failure: binning works on symmetric distributions (@test.binning_methods.R#16) 
  2. Failure: binning works on symmetric distributions (@test.binning_methods.R#22) 
  3. Failure: binning works on symmetric distributions (@test.binning_methods.R#31) 
  4. Failure: binning works on symmetric distributions (@test.binning_methods.R#36) 
  5. Failure: binning works on symmetric distributions (@test.binning_methods.R#41) 
  6. Failure: binning works on symmetric distributions (@test.binning_methods.R#45) 
  7. Failure: binning works on symmetric distributions (@test.binning_methods.R#49) 
  8. Failure: binning works on symmetric distributions (@test.binning_methods.R#57) 
  9. Error: pairwise level comparison works 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted