Skip to content

effectsize

Indices of Effect Size

v1.0.1 · May 27, 2025 · MIT + file LICENSE

Description

Provide utilities to work with indices of effect size for a wide variety of models and hypothesis tests (see list of supported models using the function 'insight::supported_models()'), allowing computation of and conversion between indices such as Cohen's d, r, odds, etc. References: Ben-Shachar et al. (2020) <doi:10.21105/joss.02815>.

Downloads

55.8K

Last 30 days

447th

55.8K

Last 90 days

55.8K

Last year

CRAN Check Status

3 ERROR
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc ERROR
r-devel-linux-x86_64-fedora-clang ERROR
r-devel-linux-x86_64-fedora-gcc ERROR
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
ERROR r-devel-linux-x86_64-debian-gcc

tests

  Running ‘testthat.R’ [52s/29s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(effectsize)
  > 
  > test_check("effectsize")
  Starting 2 test processes.
  Saving _problems/test-effectsize-317.R
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-print.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-print.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-utils_validate_input_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 841 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • On CRAN (12): 'test-convert_between.R:68:3', 'test-common_language.R:81:3',
    'test-effectsize.R:334:3', 'test-eta_squared_posterior.R:2:3',
    'test-interpret.R:139:3', 'test-interpret.R:233:3', 'test-print.R:110:3',
    'test-eta_squared.R:111:3', 'test-eta_squared.R:373:3',
    'test-eta_squared.R:668:3', 'test-eta_squared.R:686:3',
    'test-eta_squared.R:700:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-effectsize.R:307:3'): htest | Get args from htest ────────────
  Expected `rank_biserial(ww2)` to equal `rank_biserial(...)`.
  Differences:
  actual vs expected
                         CI
  - actual[1, ]   0.8101379
  + expected[1, ] 0.8000000
  
    `actual[[2]]`: 0.810
  `expected[[2]]`: 0.800
  
  
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 841 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-linux-x86_64-fedora-clang

tests

  Running ‘testthat.R’ [142s/111s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(effectsize)
  > 
  > test_check("effectsize")
  Starting 2 test processes.
  Saving _problems/test-effectsize-317.R
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-print.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-print.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-utils_validate_input_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 841 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • On CRAN (12): 'test-convert_between.R:68:3', 'test-common_language.R:81:3',
    'test-effectsize.R:334:3', 'test-eta_squared_posterior.R:2:3',
    'test-interpret.R:139:3', 'test-interpret.R:233:3', 'test-print.R:110:3',
    'test-eta_squared.R:111:3', 'test-eta_squared.R:373:3',
    'test-eta_squared.R:668:3', 'test-eta_squared.R:686:3',
    'test-eta_squared.R:700:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-effectsize.R:307:3'): htest | Get args from htest ────────────
  Expected `rank_biserial(ww2)` to equal `rank_biserial(...)`.
  Differences:
  actual vs expected
                         CI
  - actual[1, ]   0.8101379
  + expected[1, ] 0.8000000
  
    `actual[[2]]`: 0.810
  `expected[[2]]`: 0.800
  
  
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 841 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

tests

  Running ‘testthat.R’ [143s/184s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(effectsize)
  > 
  > test_check("effectsize")
  Starting 2 test processes.
  Saving _problems/test-effectsize-317.R
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-print.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-print.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-utils_validate_input_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 841 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • On CRAN (12): 'test-convert_between.R:68:3', 'test-common_language.R:81:3',
    'test-effectsize.R:334:3', 'test-eta_squared_posterior.R:2:3',
    'test-interpret.R:139:3', 'test-interpret.R:233:3', 'test-print.R:110:3',
    'test-eta_squared.R:111:3', 'test-eta_squared.R:373:3',
    'test-eta_squared.R:668:3', 'test-eta_squared.R:686:3',
    'test-eta_squared.R:700:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-effectsize.R:307:3'): htest | Get args from htest ────────────
  Expected `rank_biserial(ww2)` to equal `rank_biserial(...)`.
  Differences:
  actual vs expected
                         CI
  - actual[1, ]   0.8101379
  + expected[1, ] 0.8000000
  
    `actual[[2]]`: 0.810
  `expected[[2]]`: 0.800
  
  
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 841 ]
  Error:
  ! Test failures.
  Execution halted
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 11 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

  Running ‘testthat.R’ [52s/29s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(effectsize)
  > 
  > test_check("effectsize")
  Starting 2 test processes.
  Saving _problems/test-effectsize-317.R
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provi
ERROR r-devel-linux-x86_64-fedora-clang

tests

  Running ‘testthat.R’ [142s/111s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(effectsize)
  > 
  > test_check("effectsize")
  Starting 2 test processes.
  Saving _problems/test-effectsize-317.R
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' pro
ERROR r-devel-linux-x86_64-fedora-gcc

tests

  Running ‘testthat.R’ [143s/184s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(effectsize)
  > 
  > test_check("effectsize")
  Starting 2 test processes.
  Saving _problems/test-effectsize-317.R
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' provides more options.
  > test-htest_data.R: For paired samples, 'repeated_measures_d()' pro

Reverse Dependencies (35)

Dependency Network

Dependencies Reverse dependencies bayestestR insight parameters (>= 0.26.0) performance datawizard AssumpSure apa7 bruceR colleyRstats easystats multifear negligible psycho report see sjstats smsets statdecideR statsExpressions suRface.analytics +20 more reverse deps effectsize

Version History

new 1.0.1 Mar 9, 2026