Running ‘spelling.R’
  Running ‘testthat.R’ [36s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rstanemax)
  Loading required package: Rcpp
  > 
  > options(lifecycle_verbosity = "error")
  > test_check("rstanemax")
  ── ERROR (test-posterior_predict.R:79:3): posterior prediction of quantile ─────
  Error: The `value` argument of ``names<-`()` can't be NULL as of tibble 3.0.0.
  `names` must not be `NULL`.
  Backtrace:
       █
    1. ├─rstanemax::posterior_predict_quantile(test.fit.2cov) test-posterior_predict.R:79:2
    2. │ └─`%>%`(...)
    3. ├─dplyr::select(., -dataid)
    4. ├─dplyr::ungroup(.)
    5. ├─dplyr::arrange(., dataid)
    6. ├─dplyr::summarize(...)
    7. ├─dplyr::group_by(...)
    8. └─dplyr:::group_by.data.frame(...)
    9.   └─dplyr::grouped_df(groups$data, groups$group_names, .drop)
   10.     └─dplyr:::compute_groups(data, vars, drop = drop)
   11.       └─dplyr:::vec_split_id_order(group_vars)
   12.         ├─vctrs::vec_slice(split_id, vec_order(split_id$key))
   13.         └─vctrs::vec_order(split_id$key)
   14.           └─vctrs:::order_proxy(...)
   15.             ├─vctrs:::map(...)
   16.             │ └─base::lapply(.x, .f, ...)
   17.             └─base::unname(proxy)
   18.               ├─base::`names<-`(`*tmp*`, value = NULL)
   19.               └─tibble:::`names<-.tbl_df`(`*tmp*`, value = NULL)
   20.                 └─lifecycle::deprecate_soft(...)
   21.                   └─lifecycle::deprecate_warn(...)
   22.                     └─lifecycle::deprecate_stop(when, what, with = with, details = details)
  
  ── ERROR (test-posterior_predict.R:91:3): make sure at least plot() doesn't caus
  Error: The `value` argument of ``names<-`()` can't be NULL as of tibble 3.0.0.
  `names` must not be `NULL`.
  Backtrace:
       █
    1. ├─base::plot(test.fit) test-posterior_predict.R:91:2
    2. ├─rstanemax:::plot.stanemax(test.fit)
    3. │ └─rstanemax::posterior_predict_quantile(...)
    4. │   └─`%>%`(...)
    5. ├─dplyr::select(., -dataid)
    6. ├─dplyr::ungroup(.)
    7. ├─dplyr::arrange(., dataid)
    8. ├─dplyr::summarize(...)
    9. ├─dplyr::group_by(...)
   10. └─dplyr:::group_by.data.frame(...)
   11.   └─dplyr::grouped_df(groups$data, groups$group_names, .drop)
   12.     └─dplyr:::compute_groups(data, vars, drop = drop)
   13.       └─dplyr:::vec_split_id_order(group_vars)
   14.         ├─vctrs::vec_slice(split_id, vec_order(split_id$key))
   15.         └─vctrs::vec_order(split_id$key)
   16.           └─vctrs:::order_proxy(...)
   17.             ├─vctrs:::map(...)
   18.             │ └─base::lapply(.x, .f, ...)
   19.             └─base::unname(proxy)
   20.               ├─base::`names<-`(`*tmp*`, value = NULL)
   21.               └─tibble:::`names<-.tbl_df`(`*tmp*`, value = NULL)
   22.                 └─lifecycle::deprecate_soft(...)
   23.                   └─lifecycle::deprecate_warn(...)
   24.                     └─lifecycle::deprecate_stop(when, what, with = with, details = details)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test-posterior_predict.R:79:3): posterior prediction of quantile
  ERROR (test-posterior_predict.R:91:3): make sure at least plot() doesn't cause error
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 56 ]
  Error: Test failures
  Execution halted