Running 'testthat.R'
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")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • brms cannot be loaded (30)
  • rstan cannot be loaded (2)
  • rstanarm cannot be loaded (23)
  • vdiffr cannot be loaded (6)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test.epred_draws.R:29:3): [add_]epred_draws throws an error on unsupported models ──
  `epred_draws(RankCorr, data.frame())` threw an error with unexpected message.
  Expected match: "no applicable method"
  Actual message: "Using `\", .name, \"` requires the `rstantools` package to be installed."
  Backtrace:
      █
   1. ├─testthat::expect_error(epred_draws(RankCorr, data.frame()), "no applicable method") test.epred_draws.R:29:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. ├─tidybayes::epred_draws(RankCorr, data.frame())
   7. └─tidybayes:::epred_draws.default(RankCorr, data.frame())
   8.   └─tidybayes:::pred_draws_default_(...)
   9.     └─tidybayes:::stop0("Using `\", .name, \"` requires the `rstantools` package to be installed.")
  ── Failure (test.epred_draws.R:31:3): [add_]epred_draws throws an error on unsupported models ──
  `add_epred_draws(data.frame(), RankCorr)` threw an error with unexpected message.
  Expected match: "no applicable method"
  Actual message: "Using `\", .name, \"` requires the `rstantools` package to be installed."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test.epred_draws.R:31:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─tidybayes::add_epred_draws(data.frame(), RankCorr)
    7.   ├─tidybayes::epred_draws(...)
    8.   └─tidybayes:::epred_draws.default(...)
    9.     └─tidybayes:::pred_draws_default_(...)
   10.       └─tidybayes:::stop0("Using `\", .name, \"` requires the `rstantools` package to be installed.")
  ── Failure (test.linpred_draws.R:29:3): [add_]linpred_draws throws an error on unsupported models ──
  `linpred_draws(RankCorr, data.frame())` threw an error with unexpected message.
  Expected match: "no applicable method"
  Actual message: "Using `\", .name, \"` requires the `rstantools` package to be installed."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test.linpred_draws.R:29:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. ├─tidybayes::linpred_draws(RankCorr, data.frame())
   7. └─tidybayes:::linpred_draws.default(RankCorr, data.frame())
   8.   └─tidybayes:::pred_draws_default_(...)
   9.     └─tidybayes:::stop0("Using `\", .name, \"` requires the `rstantools` package to be installed.")
  ── Failure (test.linpred_draws.R:31:3): [add_]linpred_draws throws an error on unsupported models ──
  `add_linpred_draws(data.frame(), RankCorr)` threw an error with unexpected message.
  Expected match: "no applicable method"
  Actual message: "Using `\", .name, \"` requires the `rstantools` package to be installed."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test.linpred_draws.R:31:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─tidybayes::add_linpred_draws(data.frame(), RankCorr)
    7.   ├─tidybayes::linpred_draws(...)
    8.   └─tidybayes:::linpred_draws.default(...)
    9.     └─tidybayes:::pred_draws_default_(...)
   10.       └─tidybayes:::stop0("Using `\", .name, \"` requires the `rstantools` package to be installed.")
  ── Failure (test.predicted_draws.R:28:3): [add_]predicted_draws throws an error on unsupported models ──
  `predicted_draws(RankCorr, data.frame())` threw an error with unexpected message.
  Expected match: "no applicable method"
  Actual message: "Using `\", .name, \"` requires the `rstantools` package to be installed."
  Backtrace:
      █
   1. ├─testthat::expect_error(...) test.predicted_draws.R:28:2
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. ├─tidybayes::predicted_draws(RankCorr, data.frame())
   7. └─tidybayes:::predicted_draws.default(RankCorr, data.frame())
   8.   └─tidybayes:::pred_draws_default_(...)
   9.     └─tidybayes:::stop0("Using `\", .name, \"` requires the `rstantools` package to be installed.")
  ── Failure (test.predicted_draws.R:30:3): [add_]predicted_draws throws an error on unsupported models ──
  `add_predicted_draws(data.frame(), RankCorr)` threw an error with unexpected message.
  Expected match: "no applicable method"
  Actual message: "Using `\", .name, \"` requires the `rstantools` package to be installed."
  Backtrace:
       █
    1. ├─testthat::expect_error(...) test.predicted_draws.R:30:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─tidybayes::add_predicted_draws(data.frame(), RankCorr)
    7.   ├─tidybayes::predicted_draws(...)
    8.   └─tidybayes:::predicted_draws.default(...)
    9.     └─tidybayes:::pred_draws_default_(...)
   10.       └─tidybayes:::stop0("Using `\", .name, \"` requires the `rstantools` package to be installed.")
  
  [ FAIL 6 | WARN 0 | SKIP 61 | PASS 206 ]
  Deleting unused snapshots:
  * _snaps/test.geom_dotsinterval/stat-dotsh-with-a-group-with-1-dot.svg
  * _snaps/test.geom_dotsinterval/vanilla-geom-dotsh.svg
  * _snaps/test.geom_interval/grouped-intervals-h-stat.svg
  * _snaps/test.geom_interval/grouped-intervals-h.svg
  * _snaps/test.geom_pointinterval/grouped-pointintervals-h-stat.svg
  * _snaps/test.geom_pointinterval/grouped-pointintervals-h.svg
  * _snaps/test.stat_dist_slabinterval/ccdfintervalh-using-args.svg
  * _snaps/test.stat_dist_slabinterval/horizontal-half-eye-using-args.svg
  * _snaps/test.stat_eye/one-parameter-horizontal-eye-mode-hdi.svg
  * _snaps/test.stat_eye/one-parameter-horizontal-eye.svg
  * _snaps/test.stat_eye/one-parameter-horizontal-half-eye.svg
  * _snaps/test.stat_eye/one-parameter-vertical-eye.svg
  * _snaps/test.stat_eye/one-parameter-vertical-halfeye.svg
  * _snaps/test.stat_eye/two-parameter-factor-horizontal-eye-fill.svg
  * _snaps/test.stat_eye/two-parameter-factor-horizontal-half-eye.svg
  Error: Test failures
  Execution halted