Running 'spelling.R'
  Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(statsExpressions)
  > 
  > test_check("statsExpressions")
  Starting 2 test processes
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (38)
  • empty test (1)
  • metaBMA cannot be loaded (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-loop_execution_bayes.R:86:5): expr_anova works in loop ──────────
  Error: Package 'rstantools' is required for this function to work.
    Please install it by running install.packages('rstantools').
  Backtrace:
       █
    1. ├─utils::capture.output(...)
    2. │ └─base::withVisible(...elt(i))
    3. ├─base::print(...)
    4. ├─statsExpressions::oneway_anova(...)
    5. │ └─statsExpressions::bf_extractor(...)
    6. │   ├─`%>%`(...)
    7. │   └─performance::r2_bayes(bf.object, average = TRUE, ci = conf.level)
    8. │     ├─performance::r2_posterior(model, verbose = verbose, ...)
    9. │     └─performance:::r2_posterior.BFBayesFactor(...)
   10. │       └─performance:::.r2_posterior_model_average(...)
   11. │         ├─base::suppressMessages(r2_posterior(model[m - 1]))
   12. │         │ └─base::withCallingHandlers(...)
   13. │         ├─performance::r2_posterior(model[m - 1])
   14. │         └─performance:::r2_posterior.BFBayesFactor(model[m - 1])
   15. │           └─insight::check_if_installed("rstantools")
   16. ├─dplyr::rename_with(., .fn = ~paste0("r2.", .x), .cols = dplyr::matches("^conf|^comp"))
   17. ├─parameters::standardize_names(., style = "broom")
   18. └─tibble::as_tibble(.)
  ── Error (test-oneway_anova_bayes.R:10:5): bayes factor (between-subjects - anova) ──
  Error: Package 'rstantools' is required for this function to work.
    Please install it by running install.packages('rstantools').
  Backtrace:
       █
    1. ├─statsExpressions::oneway_anova(...)
    2. │ └─statsExpressions::bf_extractor(...)
    3. │   ├─`%>%`(...)
    4. │   └─performance::r2_bayes(bf.object, average = TRUE, ci = conf.level)
    5. │     ├─performance::r2_posterior(model, verbose = verbose, ...)
    6. │     └─performance:::r2_posterior.BFBayesFactor(...)
    7. │       └─performance:::.r2_posterior_model_average(...)
    8. │         ├─base::suppressMessages(r2_posterior(model[m - 1]))
    9. │         │ └─base::withCallingHandlers(...)
   10. │         ├─performance::r2_posterior(model[m - 1])
   11. │         └─performance:::r2_posterior.BFBayesFactor(model[m - 1])
   12. │           └─insight::check_if_installed("rstantools")
   13. ├─dplyr::rename_with(., .fn = ~paste0("r2.", .x), .cols = dplyr::matches("^conf|^comp"))
   14. ├─parameters::standardize_names(., style = "broom")
   15. └─tibble::as_tibble(.)
  
  [ FAIL 2 | WARN 1 | SKIP 40 | PASS 31 ]
  Error: Test failures
  Execution halted