Running 'testthat.R' [151s]
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: geom aesthetic documention generator works (@test.geom.R#11)  ---
  as.data.frame(...) not equal to as.data.frame(...).
  Component ".dist": Modes: logical, character
  Component ".dist": target is logical, current is character
  Component ".args": Component 1: Modes: logical, list
  Component ".args": Component 1: Lengths: 1, 2
  Component ".args": Component 1: target is logical, current is list
  Component ".args": Component 2: Modes: logical, list
  Component ".args": Component 2: Lengths: 1, 2
  Component ".args": Component 2: target is logical, current is list
  Component ".args": Component 3: Modes: logical, list
  ...
  
  -- 2. Failure: parse_dist works on vectors (@test.parse_dist.R#13)  ------------
  as.data.frame(...) not equal to as.data.frame(...).
  Component ".dist": Modes: logical, character
  Component ".dist": target is logical, current is character
  Component ".args": Component 1: Modes: logical, list
  Component ".args": Component 1: Lengths: 1, 2
  Component ".args": Component 1: target is logical, current is list
  Component ".args": Component 2: Modes: logical, list
  Component ".args": Component 2: Lengths: 1, 2
  Component ".args": Component 2: target is logical, current is list
  Component ".args": Component 3: Modes: logical, list
  ...
  
  -- 3. Failure: parse_dist works on data frames (@test.parse_dist.R#23)  --------
  parse_dist(data.frame(p = dists), p) not equal to as.data.frame(...).
  Component ".dist": Modes: logical, character
  Component ".dist": target is logical, current is character
  Component ".args": Component 1: Modes: logical, list
  Component ".args": Component 1: Lengths: 1, 2
  Component ".args": Component 1: target is logical, current is list
  Component ".args": Component 2: Modes: logical, list
  Component ".args": Component 2: Lengths: 1, 2
  Component ".args": Component 2: target is logical, current is list
  Component ".args": Component 3: Modes: logical, list
  ...
  
  -- 4. Error: parse_dist + marginalize_lkjcorr produces correct results (@test.pa
  Discrete value supplied to continuous scale
  Backtrace:
    1. vdiffr::expect_doppelganger(...)
    2. vdiffr:::writer(fig, testcase, title)
    4. vdiffr:::print_plot.ggplot(plot, title)
    6. ggplot2:::print.ggplot(p)
    8. ggplot2:::ggplot_build.ggplot(x)
    9. layout$train_position(data, scale_x(), scale_y())
   10. ggplot2:::f(..., self = self)
   11. self$facet$train_scales(...)
   12. ggplot2:::f(...)
   13. ggplot2:::scale_apply(layer_data, x_vars, "train", SCALE_X, x_scales)
   14. base::lapply(...)
   15. ggplot2:::FUN(X[[i]], ...)
   16. base::lapply(...)
   17. ggplot2:::FUN(X[[i]], ...)
   18. scales[[i]][[method]](data[[var]][scale_index[[i]]])
   19. ggplot2:::f(..., self = self)
   20. self$range$train(x)
   21. ggplot2:::f(..., self = self)
   22. scales::train_continuous(x, self$range)
  
  == testthat results  ===========================================================
  [ OK: 329 | SKIPPED: 124 | WARNINGS: 0 | FAILED: 4 ]
  1. Failure: geom aesthetic documention generator works (@test.geom.R#11) 
  2. Failure: parse_dist works on vectors (@test.parse_dist.R#13) 
  3. Failure: parse_dist works on data frames (@test.parse_dist.R#23) 
  4. Error: parse_dist + marginalize_lkjcorr produces correct results (@test.parse_dist.R#33) 
  
  Error: testthat unit tests failed
  Execution halted