Tests and Coverage

10 January, 2020 00:10:16

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

Object Coverage (%)
statsExpressions 99.36
R/helpers_anova_expressions.R 96.56
R/helpers_bf_tests.R 100.00
R/helpers_contingency_tabs_expressions.R 100.00
R/helpers_corr_test_expressions.R 100.00
R/helpers_effsize_ci.R 100.00
R/helpers_messages.R 100.00
R/helpers_miscellaneous.R 100.00
R/helpers_t_onesample_expressions.R 100.00
R/helpers_t_test_expressions.R 100.00


Unit Tests

Unit Test summary is created using the testthat package.

file n time error failed skipped warning icon
test-effsize_helpers.R 147 4.05 0 0 0 0
test-expr_anova_bayes.R 3 2.44 0 0 0 0
test-expr_anova_nonparametric.R 4 1.13 0 0 0 0
test-expr_anova_parametric.R 11 2.64 0 0 1 0 +
test-expr_anova_robust.R 4 2.25 0 0 0 0
test-expr_contingency_tab.R 14 1.54 0 0 0 0
test-expr_corr_test.R 4 0.10 0 0 0 0
test-expr_t_bayes.R 4 0.11 0 0 0 0
test-expr_t_nonparametric.R 3 0.16 0 0 0 0
test-expr_t_onesample.R 7 0.14 0 0 0 0
test-expr_t_parametric.R 4 0.08 0 0 0 0
test-expr_t_robust.R 5 3.59 0 0 0 0
test-expr_templates.R 3 0.02 0 0 0 0
test-helpers_bf_tests.R 62 5.00 0 0 0 0
test-subtitle_misc_helpers.R 4 0.05 0 0 0 0
test-switch_statements.R 21 0.03 0 0 0 0

Show Detailed Test Results

file context test status n time icon
test-effsize_helpers.R effsize_t_parametric effsize works for Cohen’s d and Hedge’s g (between - without NA) PASS 29 0.11
test-effsize_helpers.R effsize_t_parametric effsize works for Cohen’s d and Hedge’s g (between - with NA) PASS 24 0.03
test-effsize_helpers.R effsize_t_parametric effsize works for Cohen’s d and Hedge’s g (within - without NA) PASS 26 0.03
test-effsize_helpers.R effsize_t_parametric effsize works for Cohen’s d and Hedge’s g (within - with NA) PASS 23 0.05
test-effsize_helpers.R effsize_t_parametric effsize works for one sample test PASS 14 0.02
test-effsize_helpers.R t1way_ci t1way_ci works PASS 10 2.90
test-effsize_helpers.R test_yuend_ci Yuen’s test on trimmed means for dependent samples works PASS 12 0.47
test-effsize_helpers.R robcor_ci robcor_ci works PASS 9 0.44
test-expr_anova_bayes.R expr_anova_bayes expr_anova_bayes works (between-subjects) PASS 1 0.08
test-expr_anova_bayes.R expr_anova_bayes expr_anova_bayes works (within-subjects) PASS 1 0.29
test-expr_anova_bayes.R expr_anova_bayes expr_anova_bayes works (within-subjects) - with NA PASS 1 2.07
test-expr_anova_nonparametric.R expr_anova_nonparametric between-subjects - data with and without NAs PASS 2 0.30
test-expr_anova_nonparametric.R expr_anova_nonparametric within-subjects - data with and without NAs PASS 2 0.83
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles work (without NAs) PASS 1 0.08
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles work (with NAs) PASS 1 0.84
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles with partial omega-squared PASS 1 0.09
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles with partial eta-squared and data with NAs PASS 1 0.03
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles with partial eta-squared and data with NAs PASS 2 0.18
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles work (without NAs) PASS 1 0.54
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles work (with NAs) PASS 2 0.28
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles work (catch bad data) PASS 1 0.58
test-expr_anova_parametric.R expr_anova_parametric - between-subjects checking warning message when too few obs SKIPPED 1 0.02 +
test-expr_anova_robust.R expr_anova_robust expr_anova_robust works - between-subjects PASS 2 2.19
test-expr_anova_robust.R expr_anova_robust expr_anova_robust works - within-subjects PASS 2 0.06
test-expr_contingency_tab.R expr_contingency_tab expr_contingency_tab works - data without NAs PASS 2 0.44
test-expr_contingency_tab.R expr_contingency_tab expr_contingency_tab works - data with NAs PASS 1 0.05
test-expr_contingency_tab.R expr_contingency_tab paired expr_contingency_tab works - counts data without NAs PASS 1 0.17
test-expr_contingency_tab.R expr_contingency_tab paired expr_contingency_tab works - with NAs PASS 1 0.16
test-expr_contingency_tab.R expr_contingency_tab paired data 4-by-4 PASS 2 0.17
test-expr_contingency_tab.R expr_contingency_tab Goodness of Fit expr_contingency_tab works without counts PASS 2 0.17
test-expr_contingency_tab.R expr_contingency_tab Goodness of Fit expr_contingency_tab works with counts PASS 1 0.11
test-expr_contingency_tab.R expr_contingency_tab works with dataframes with NAs and with ratio PASS 1 0.06
test-expr_contingency_tab.R expr_contingency_tab works even in edge cases PASS 3 0.21
test-expr_corr_test.R expr_corr_test expr_corr_test works - nonparametric PASS 1 0.04
test-expr_corr_test.R expr_corr_test expr_corr_test works - parametric PASS 1 0.00
test-expr_corr_test.R expr_corr_test expr_corr_test works - robust PASS 1 0.03
test-expr_corr_test.R expr_corr_test expr_corr_test works - bayes PASS 1 0.03
test-expr_t_bayes.R expr_t_bayes expr_t_bayes works - between-subjects design PASS 1 0.04
test-expr_t_bayes.R expr_t_bayes expr_t_bayes works - between-subjects design - with NA PASS 1 0.01
test-expr_t_bayes.R expr_t_bayes expr_t_bayes_paired works - within-subjects design PASS 1 0.03
test-expr_t_bayes.R expr_t_bayes expr_t_bayes_paired works - within-subjects design - with NA PASS 1 0.03
test-expr_t_nonparametric.R expr_t_nonparametric expr_t_nonparametric works - between-subjects design PASS 1 0.09
test-expr_t_nonparametric.R expr_t_nonparametric expr_t_nonparametric works - within-subjects design PASS 2 0.07
test-expr_t_onesample.R expr_t_onesample expr_t_onesample parametric works PASS 4 0.03
test-expr_t_onesample.R expr_t_onesample expr_t_onesample non-parametric works PASS 1 0.07
test-expr_t_onesample.R expr_t_onesample expr_t_onesample robust works PASS 1 0.03
test-expr_t_onesample.R expr_t_onesample expr_t_onesample bayes factor works PASS 1 0.01
test-expr_t_parametric.R expr_t_parametric parametric t-test works (between-subjects without NAs) PASS 1 0.02
test-expr_t_parametric.R expr_t_parametric parametric t-test works (between-subjects with NAs) PASS 1 0.01
test-expr_t_parametric.R expr_t_parametric parametric t-test works (within-subjects without NAs) PASS 1 0.02
test-expr_t_parametric.R expr_t_parametric parametric t-test works (within-subjects with NAs) PASS 1 0.03
test-expr_t_robust.R expr_t_robust expr_t_robust - within-subjects - without NAs PASS 2 1.73
test-expr_t_robust.R expr_t_robust expr_t_robust - within-subjects - with NAs PASS 1 0.90
test-expr_t_robust.R expr_t_robust expr_t_robust - between-subjects - without NAs PASS 1 0.48
test-expr_t_robust.R expr_t_robust expr_t_robust - between-subjects - with NAs PASS 1 0.48
test-expr_templates.R expr_templates checking if subtitle template works without any parameter PASS 1 0.02
test-expr_templates.R expr_templates checking if subtitle template works with a single parameter PASS 1 0.00
test-expr_templates.R expr_templates checking if subtitle template works with two parameters PASS 1 0.00
test-helpers_bf_tests.R helpers_bf_tests bayes factor (correlation) PASS 5 0.02
test-helpers_bf_tests.R helpers_bf_tests bayes factor (independent samples t-test) PASS 6 0.06
test-helpers_bf_tests.R helpers_bf_tests bayes factor (paired t-test) PASS 7 0.04
test-helpers_bf_tests.R helpers_bf_tests bayes factor (one sample t-test) PASS 7 0.04
test-helpers_bf_tests.R helpers_bf_tests bayes factor (between-subjects - anova) PASS 9 0.12
test-helpers_bf_tests.R helpers_bf_tests bayes factor (within-subjects - anova) PASS 9 1.09
test-helpers_bf_tests.R helpers_bf_tests bayes factor (proportion test) PASS 6 3.54
test-helpers_bf_tests.R helpers_bf_tests bayes factor (contingency tab) PASS 10 0.07
test-helpers_bf_tests.R helpers_bf_tests bayes factor caption maker check PASS 1 0.00
test-helpers_bf_tests.R helpers_bf_tests bayes factor caption maker check PASS 2 0.02
test-subtitle_misc_helpers.R long_to_wide_converter long_to_wide_converter works PASS 4 0.05
test-switch_statements.R switch statements switch for effct size type works PASS 14 0.01
test-switch_statements.R switch statements switch for stats type works PASS 7 0.02
Failed Warning Skipped
! - +

Session Info

Field Value
Version R version 3.6.2 (2019-12-12)
Platform x86_64-w64-mingw32/x64 (64-bit)
Running Windows 10 x64 (build 16299)
Language English_United States
Timezone Europe/Berlin
Package Version
testthat 2.3.1
covr 3.4.0
covrpage 0.0.70