Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [249s/307s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(statsExpressions)
  > 
  > ## pretty tibble printing
  > options(
  +   tibble.width = Inf,
  +   pillar.bold = TRUE,
  +   pillar.neg = TRUE,
  +   pillar.subtle_num = TRUE,
  +   pillar.min_chars = Inf
  + )
  > 
  > test_check("statsExpressions")
  t is large; approximation invoked.
  Multiple `BFBayesFactor` models detected - posteriors are extracted from the first numerator model.
  See help("get_parameters", package = "insight").
  [ FAIL 3 | WARN 0 | SKIP 51 | PASS 32 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (50)
  • metaBMA cannot be loaded (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-loop_execution_bayes.R:81:5): expr_anova works in loop ──────────
  Error: Package 'rstantools' required for this function to work.
    Please install it by running install.packages("rstantools").
  Backtrace:
       ▆
    1. ├─utils::capture.output(...) at test-loop_execution_bayes.R:81:4
    2. │ └─base::withVisible(...elt(i))
    3. ├─base::print(...) at test-loop_execution_bayes.R:82:6
    4. ├─statsExpressions::oneway_anova(...)
    5. │ └─... %>% tidy_model_parameters(ci = conf.level)
    6. ├─statsExpressions::tidy_model_parameters(., ci = conf.level)
    7. │ ├─... %>% mutate(effectsize = "Bayesian R-squared")
    8. │ └─performance::r2_bayes(...)
    9. │   ├─performance::r2_posterior(model, verbose = verbose, ...)
   10. │   └─performance:::r2_posterior.BFBayesFactor(...)
   11. │     └─performance:::.r2_posterior_model_average(...)
   12. │       ├─base::suppressMessages(r2_posterior(model[m - 1]))
   13. │       │ └─base::withCallingHandlers(...)
   14. │       ├─performance::r2_posterior(model[m - 1])
   15. │       └─performance:::r2_posterior.BFBayesFactor(model[m - 1])
   16. │         └─insight::check_if_installed("rstantools")
   17. ├─dplyr::mutate(., effectsize = "Bayesian R-squared")
   18. ├─dplyr::filter(., if_any(matches("component"), ~(.x == "conditional")))
   19. ├─dplyr::rename(., estimate = "r.squared")
   20. ├─insight::standardize_names(., style = "broom")
   21. └─tibble::as_tibble(.)
  ── Error (test-oneway_anova_bayes.R:18:5): bayesian (between-subjects - anova) ──
  Error: Package 'rstantools' required for this function to work.
    Please install it by running install.packages("rstantools").
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-oneway_anova_bayes.R:18:4
    2. │ └─base::withCallingHandlers(...)
    3. ├─statsExpressions::oneway_anova(...)
    4. │ └─... %>% tidy_model_parameters(ci = conf.level)
    5. ├─statsExpressions::tidy_model_parameters(., ci = conf.level)
    6. │ ├─... %>% mutate(effectsize = "Bayesian R-squared")
    7. │ └─performance::r2_bayes(...)
    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::mutate(., effectsize = "Bayesian R-squared")
   17. ├─dplyr::filter(., if_any(matches("component"), ~(.x == "conditional")))
   18. ├─dplyr::rename(., estimate = "r.squared")
   19. ├─insight::standardize_names(., style = "broom")
   20. └─tibble::as_tibble(.)
  ── Error (test-oneway_anova_bayes.R:48:5): bayesian (within-subjects - anova) ──
  Error: Package 'rstantools' required for this function to work.
    Please install it by running install.packages("rstantools").
  Backtrace:
       ▆
    1. ├─statsExpressions::oneway_anova(...) at test-oneway_anova_bayes.R:48:4
    2. │ └─... %>% tidy_model_parameters(ci = conf.level)
    3. ├─statsExpressions::tidy_model_parameters(., ci = conf.level)
    4. │ ├─... %>% mutate(effectsize = "Bayesian R-squared")
    5. │ └─performance::r2_bayes(...)
    6. │   ├─performance::r2_posterior(model, verbose = verbose, ...)
    7. │   └─performance:::r2_posterior.BFBayesFactor(...)
    8. │     └─performance:::.r2_posterior_model_average(...)
    9. │       ├─base::suppressMessages(r2_posterior(1/model[1]))
   10. │       │ └─base::withCallingHandlers(...)
   11. │       ├─performance::r2_posterior(1/model[1])
   12. │       └─performance:::r2_posterior.BFBayesFactor(1/model[1])
   13. │         └─insight::check_if_installed("rstantools")
   14. ├─dplyr::mutate(., effectsize = "Bayesian R-squared")
   15. ├─dplyr::filter(., if_any(matches("component"), ~(.x == "conditional")))
   16. ├─dplyr::rename(., estimate = "r.squared")
   17. ├─insight::standardize_names(., style = "broom")
   18. └─tibble::as_tibble(.)
  
  [ FAIL 3 | WARN 0 | SKIP 51 | PASS 32 ]
  Error: Test failures
  Execution halted