Running ‘testthat.R’ [114s/157s]
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
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 324 | SKIPPED: 125 | WARNINGS: 0 | FAILED: 8 ]
  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) 
  
  Error: testthat unit tests failed
  Execution halted