Running 'testthat.R' [82s/89s]
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)
  NOTE: As of tidybayes version 1.0, several functions, arguments, and output column names
        have undergone significant name changes in order to adopt a unified naming scheme.
        See help('tidybayes-deprecated') for more information.
  
  > 
  > test_check("tidybayes")
  -- 1. Error: [add_]fitted_draws works on brms models with categorical outcomes (
  Levels must have as many elements as x has dimensions.
  1: fitted(m_cyl_mpg, mtcars_tbl, summary = FALSE, scale = "linear") %>% array2df(list(.draw = NA, 
         .row = NA, .category = TRUE), label.x = ".value") %>% mutate(.chain = NA_integer_, 
         .iteration = NA_integer_, .row = as.integer(.row), .draw = as.integer(.draw)) at testthat/test.fitted_draws.R:271
  2: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  3: eval(quote(`_fseq`(`_lhs`)), env, env)
  4: eval(quote(`_fseq`(`_lhs`)), env, env)
  5: `_fseq`(`_lhs`)
  6: freduce(value, `_function_list`)
  7: function_list[[i]](value)
  8: array2df(., list(.draw = NA, .row = NA, .category = TRUE), label.x = ".value")
  9: stop("Levels must have as many elements as x has dimensions.")
  
  -- 2. Error: [add_]fitted_draws allows extraction of dpar on brms models with ca
  Levels must have as many elements as x has dimensions.
  1: fitted(m_cyl_mpg, mtcars_tbl, summary = FALSE, scale = "linear") %>% array2df(list(.draw = NA, 
         .row = NA, .category = TRUE), label.x = ".value") at testthat/test.fitted_draws.R:291
  2: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  3: eval(quote(`_fseq`(`_lhs`)), env, env)
  4: eval(quote(`_fseq`(`_lhs`)), env, env)
  5: `_fseq`(`_lhs`)
  6: freduce(value, `_function_list`)
  7: withVisible(function_list[[k]](value))
  8: function_list[[k]](value)
  9: array2df(., list(.draw = NA, .row = NA, .category = TRUE), label.x = ".value")
  10: stop("Levels must have as many elements as x has dimensions.")
  
  == testthat results  ===========================================================
  OK: 222 SKIPPED: 41 WARNINGS: 0 FAILED: 2
  1. Error: [add_]fitted_draws works on brms models with categorical outcomes (linear scale) (@test.fitted_draws.R#271) 
  2. Error: [add_]fitted_draws allows extraction of dpar on brms models with categorical outcomes (linear scale) (@test.fitted_draws.R#291) 
  
  Error: testthat unit tests failed
  Execution halted