Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [23s/40s]
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.     ├─base::withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
    4.     └─base::eval(quote(`_fseq`(`_lhs`)), env, env)
    5.       └─base::eval(quote(`_fseq`(`_lhs`)), env, env)
    6.         └─rstanemax:::`_fseq`(`_lhs`)
    7.           └─magrittr::freduce(value, `_function_list`)
    8.             └─function_list[[i]](value)
    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)
  
  ── 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.       ├─base::withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
    6.       └─base::eval(quote(`_fseq`(`_lhs`)), env, env)
    7.         └─base::eval(quote(`_fseq`(`_lhs`)), env, env)
    8.           └─rstanemax:::`_fseq`(`_lhs`)
    9.             └─magrittr::freduce(value, `_function_list`)
   10.               └─function_list[[i]](value)
   11.                 ├─dplyr::group_by(...)
   12.                 └─dplyr:::group_by.data.frame(...)
   13.                   └─dplyr::grouped_df(groups$data, groups$group_names, .drop)
   14.                     └─dplyr:::compute_groups(data, vars, drop = drop)
   15.                       └─dplyr:::vec_split_id_order(group_vars)
   16.                         ├─vctrs::vec_slice(split_id, vec_order(split_id$key))
   17.                         └─vctrs::vec_order(split_id$key)
   18.                           └─vctrs:::order_proxy(...)
   19.                             ├─vctrs:::map(...)
   20.                             │ └─base::lapply(.x, .f, ...)
   21.                             └─base::unname(proxy)
   22.                               ├─base::`names<-`(`*tmp*`, value = NULL)
   23.                               └─tibble:::`names<-.tbl_df`(`*tmp*`, value = NULL)
   24.                                 └─lifecycle::deprecate_soft(...)
   25.                                   └─lifecycle::deprecate_warn(...)
   26.                                     └─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