'LazyData' is specified without a 'data' directory
Running examples in ‘apa-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: cohens_d
> ### Title: Cohen's d
> ### Aliases: cohens_d cohens_d.default cohens_d.data.frame cohens_d.formula
> ###   cohens_d.htest
> 
> ### ** Examples
> 
> # Calculate from raw data
> cohens_d(c(10, 15, 11, 14, 17), c(22, 18, 23, 25, 20))
[1] -2.936071
> 
> # Methods when working with data frames
> cohens_d(sleep, dv = extra, iv = group, paired = TRUE)
[1] -1.284558
> # or
> cohens_d(sleep, dv = "extra", iv = "group", paired = TRUE)
[1] -1.284558
> # formula interface
> cohens_d(extra ~ group, sleep, paired = TRUE)
[1] -1.284558
> 
> # Or pass a call to t_test or t.test
> cohens_d(t_test(extra ~ group, sleep, paired = TRUE))
Error in t.test.formula(formula = formula, data = data, ...) : 
  cannot use 'paired' in formula method
Calls: cohens_d ... t_test -> t_test.formula -> t.test -> t.test.formula
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘apa-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: cohens_d
> ### Title: Cohen's d
> ### Aliases: cohens_d cohens_d.default cohens_d.data.frame cohens_d.formula
> ###   cohens_d.htest
> 
> ### ** Examples
> 
> # Calculate from raw data
> cohens_d(c(10, 15, 11, 14, 17), c(22, 18, 23, 25, 20))
[1] -2.936071
> 
> # Methods when working with data frames
> cohens_d(sleep, dv = extra, iv = group, paired = TRUE)
[1] -1.284558
> # or
> cohens_d(sleep, dv = "extra", iv = "group", paired = TRUE)
[1] -1.284558
> # formula interface
> cohens_d(extra ~ group, sleep, paired = TRUE)
[1] -1.284558
> 
> # Or pass a call to t_test or t.test
> cohens_d(t_test(extra ~ group, sleep, paired = TRUE))
Error in t.test.formula(formula = formula, data = data, ...) : 
  cannot use 'paired' in formula method
Calls: cohens_d ... t_test -> t_test.formula -> t.test -> t.test.formula
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘apa-Ex.R’ failed
The error most likely occurred in:

> ### Name: cohens_d
> ### Title: Cohen's d
> ### Aliases: cohens_d cohens_d.default cohens_d.data.frame cohens_d.formula
> ###   cohens_d.htest
> 
> ### ** Examples
> 
> # Calculate from raw data
> cohens_d(c(10, 15, 11, 14, 17), c(22, 18, 23, 25, 20))
[1] -2.936071
> 
> # Methods when working with data frames
> cohens_d(sleep, dv = extra, iv = group, paired = TRUE)
[1] -1.284558
> # or
> cohens_d(sleep, dv = "extra", iv = "group", paired = TRUE)
[1] -1.284558
> # formula interface
> cohens_d(extra ~ group, sleep, paired = TRUE)
[1] -1.284558
> 
> # Or pass a call to t_test or t.test
> cohens_d(t_test(extra ~ group, sleep, paired = TRUE))
Error in t.test.formula(formula = formula, data = data, ...) : 
  cannot use 'paired' in formula method
Calls: cohens_d ... t_test -> t_test.formula -> t.test -> t.test.formula
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘apa-Ex.R’ failed
The error most likely occurred in:

> ### Name: cohens_d
> ### Title: Cohen's d
> ### Aliases: cohens_d cohens_d.default cohens_d.data.frame cohens_d.formula
> ###   cohens_d.htest
> 
> ### ** Examples
> 
> # Calculate from raw data
> cohens_d(c(10, 15, 11, 14, 17), c(22, 18, 23, 25, 20))
[1] -2.936071
> 
> # Methods when working with data frames
> cohens_d(sleep, dv = extra, iv = group, paired = TRUE)
[1] -1.284558
> # or
> cohens_d(sleep, dv = "extra", iv = "group", paired = TRUE)
[1] -1.284558
> # formula interface
> cohens_d(extra ~ group, sleep, paired = TRUE)
[1] -1.284558
> 
> # Or pass a call to t_test or t.test
> cohens_d(t_test(extra ~ group, sleep, paired = TRUE))
Error in t.test.formula(formula = formula, data = data, ...) : 
  cannot use 'paired' in formula method
Calls: cohens_d ... t_test -> t_test.formula -> t.test -> t.test.formula
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in 'apa-Ex.R' failed
The error most likely occurred in:

> ### Name: cohens_d
> ### Title: Cohen's d
> ### Aliases: cohens_d cohens_d.default cohens_d.data.frame cohens_d.formula
> ###   cohens_d.htest
> 
> ### ** Examples
> 
> # Calculate from raw data
> cohens_d(c(10, 15, 11, 14, 17), c(22, 18, 23, 25, 20))
[1] -2.936071
> 
> # Methods when working with data frames
> cohens_d(sleep, dv = extra, iv = group, paired = TRUE)
[1] -1.284558
> # or
> cohens_d(sleep, dv = "extra", iv = "group", paired = TRUE)
[1] -1.284558
> # formula interface
> cohens_d(extra ~ group, sleep, paired = TRUE)
[1] -1.284558
> 
> # Or pass a call to t_test or t.test
> cohens_d(t_test(extra ~ group, sleep, paired = TRUE))
Error in t.test.formula(formula = formula, data = data, ...) : 
  cannot use 'paired' in formula method
Calls: cohens_d ... t_test -> t_test.formula -> t.test -> t.test.formula
Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory