Running examples in ‘statsExpressions-Ex.R’ failed
The error most likely occurred in:

> ### Name: corr_test
> ### Title: Correlation analyses
> ### Aliases: corr_test
> 
> ### ** Examples
> 
> # for reproducibility
> set.seed(123)
> 
> # ----------------------- parametric -----------------------
> 
> corr_test(mtcars, wt, mpg, type = "parametric")
# A tibble: 1 × 14
  parameter1 parameter2 effectsize          estimate conf.level conf.low
  <chr>      <chr>      <chr>                  <dbl>      <dbl>    <dbl>
1 wt         mpg        Pearson correlation   -0.868       0.95   -0.934
  conf.high statistic df.error  p.value method              n.obs conf.method
      <dbl>     <dbl>    <int>    <dbl> <chr>               <int> <chr>      
1    -0.744     -9.56       30 1.29e-10 Pearson correlation    32 normal     
  expression
  <list>    
1 <language>
> 
> # ----------------------- non-parametric -------------------
> 
> corr_test(mtcars, wt, mpg, type = "nonparametric")
# A tibble: 1 × 13
  parameter1 parameter2 effectsize           estimate conf.level conf.low
  <chr>      <chr>      <chr>                   <dbl>      <dbl>    <dbl>
1 wt         mpg        Spearman correlation   -0.886       0.95   -0.945
  conf.high statistic  p.value method               n.obs conf.method expression
      <dbl>     <dbl>    <dbl> <chr>                <int> <chr>       <list>    
1    -0.774    10292. 1.49e-11 Spearman correlation    32 normal      <language>
> 
> # ----------------------- robust ---------------------------
> 
> corr_test(mtcars, wt, mpg, type = "robust")
# A tibble: 1 × 14
  parameter1 parameter2 effectsize                     estimate conf.level
  <chr>      <chr>      <chr>                             <dbl>      <dbl>
1 wt         mpg        Winsorized Pearson correlation   -0.864       0.95
  conf.low conf.high statistic df.error  p.value method                        
     <dbl>     <dbl>     <dbl>    <int>    <dbl> <chr>                         
1   -0.932    -0.738     -9.41       30 1.84e-10 Winsorized Pearson correlation
  n.obs conf.method expression
  <int> <chr>       <list>    
1    32 normal      <language>
> 
> # ----------------------- Bayesian -------------------------
> 
> corr_test(mtcars, wt, mpg, type = "bayes")
Error: Package `BayesFactor` required for this function to work.
  Please install it by running `install.packages("BayesFactor")`.
Execution halted