Tests and Coverage

28 August, 2019 02:40:31

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

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


Unit Tests

Unit Test summary is created using the testthat package.

file n time error failed skipped warning
test-effsize_helpers.R 170 16.77 0 0 0 0
test-expr_anova_bayes.R 3 2.15 0 0 0 0
test-expr_anova_nonparametric.R 4 0.83 0 0 0 0
test-expr_anova_parametric.R 11 1.98 0 0 0 0
test-expr_anova_robust.R 4 3.05 0 0 0 0
test-expr_contingency_tab.R 13 0.75 0 0 0 0
test-expr_corr_test.R 4 0.14 0 0 0 0
test-expr_t_bayes.R 4 0.11 0 0 0 0
test-expr_t_nonparametric.R 3 3.66 0 0 0 0
test-expr_t_onesample.R 7 4.95 0 0 0 0
test-expr_t_parametric.R 4 0.30 0 0 0 0
test-expr_t_robust.R 4 8.31 0 0 0 0
test-expr_templates.R 5 0.02 0 0 0 0
test-helpers_bf_tests.R 62 8.93 0 0 0 0
test-subtitle_misc_helpers.R 4 0.08 0 0 0 0
test-switch_statements.R 21 0.00 0 0 0 0

Show Detailed Test Results

file context test status n time
test-effsize_helpers.R effsize_t_parametric effsize works for Cohen’s d and Hedge’s g (between - without NA) PASS 29 0.04
test-effsize_helpers.R effsize_t_parametric effsize works for Cohen’s d and Hedge’s g (between - with NA) PASS 24 0.02
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.03
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 13 15.14
test-effsize_helpers.R test_yuend_ci Yuen’s test on trimmed means for dependent samples works PASS 18 1.15
test-effsize_helpers.R robcor_ci robcor_ci works PASS 23 0.34
test-expr_anova_bayes.R expr_anova_bayes expr_anova_bayes works (between-subjects) PASS 1 0.03
test-expr_anova_bayes.R expr_anova_bayes expr_anova_bayes works (within-subjects) PASS 1 0.20
test-expr_anova_bayes.R expr_anova_bayes expr_anova_bayes works (within-subjects) - with NA PASS 1 1.92
test-expr_anova_nonparametric.R expr_anova_nonparametric between-subjects - data with and without NAs PASS 2 0.34
test-expr_anova_nonparametric.R expr_anova_nonparametric within-subjects - data with and without NAs PASS 2 0.49
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles work (without NAs) PASS 1 0.03
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles work (with NAs) PASS 1 0.52
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles with partial omega-squared PASS 1 0.07
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.11
test-expr_anova_parametric.R expr_anova_parametric - within-subjects parametric anova subtitles work (without NAs) PASS 1 0.46
test-expr_anova_parametric.R expr_anova_parametric - within-subjects parametric anova subtitles work (with NAs) PASS 2 0.22
test-expr_anova_parametric.R expr_anova_parametric - within-subjects parametric anova subtitles work (catch bad data) PASS 1 0.43
test-expr_anova_parametric.R expr_anova_parametric - within-subjects checking warning message when too few obs PASS 1 0.11
test-expr_anova_robust.R expr_anova_robust expr_anova_robust works - between-subjects PASS 2 3.00
test-expr_anova_robust.R expr_anova_robust expr_anova_robust works - within-subjects PASS 2 0.05
test-expr_contingency_tab.R expr_contingency_tab expr_contingency_tab works - data without NAs PASS 2 0.32
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 paired expr_contingency_tab works - counts data without NAs PASS 1 0.06
test-expr_contingency_tab.R expr_contingency_tab_paired paired expr_contingency_tab works - with NAs PASS 1 0.05
test-expr_contingency_tab.R expr_contingency_tab_paired paired data 4-by-4 PASS 1 0.06
test-expr_contingency_tab.R expr_contingency_tab_gof Goodness of Fit expr_contingency_tab works without counts PASS 2 0.08
test-expr_contingency_tab.R expr_contingency_tab_gof Goodness of Fit expr_contingency_tab works with counts PASS 1 0.06
test-expr_contingency_tab.R expr_contingency_tab_gof works with dataframes with NAs and with ratio PASS 1 0.03
test-expr_contingency_tab.R expr_contingency_tab_gof works even in edge cases PASS 3 0.04
test-expr_corr_test.R expr_corr_test expr_corr_test works - nonparametric PASS 1 0.09
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.04
test-expr_corr_test.R expr_corr_test expr_corr_test works - bayes PASS 1 0.01
test-expr_t_bayes.R expr_t_bayes expr_t_bayes works - between-subjects design PASS 1 0.02
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.04
test-expr_t_bayes.R expr_t_bayes expr_t_bayes_paired works - within-subjects design - with NA PASS 1 0.04
test-expr_t_nonparametric.R expr_t_nonparametric expr_t_nonparametric works - between-subjects design PASS 1 1.67
test-expr_t_nonparametric.R expr_t_nonparametric expr_t_nonparametric works - within-subjects design PASS 2 1.99
test-expr_t_onesample.R expr_t_onesample expr_t_onesample parametric works PASS 4 0.17
test-expr_t_onesample.R expr_t_onesample expr_t_onesample non-parametric works PASS 1 4.45
test-expr_t_onesample.R expr_t_onesample expr_t_onesample robust works PASS 1 0.22
test-expr_t_onesample.R expr_t_onesample expr_t_onesample bayes factor works PASS 1 0.11
test-expr_t_parametric.R expr_t_parametric parametric t-test works (between-subjects without NAs) PASS 1 0.07
test-expr_t_parametric.R expr_t_parametric parametric t-test works (between-subjects with NAs) PASS 1 0.04
test-expr_t_parametric.R expr_t_parametric parametric t-test works (within-subjects without NAs) PASS 1 0.11
test-expr_t_parametric.R expr_t_parametric parametric t-test works (within-subjects with NAs) PASS 1 0.08
test-expr_t_robust.R expr_t_robust expr_t_robust - within-subjects - without NAs PASS 2 4.97
test-expr_t_robust.R expr_t_robust expr_t_robust - within-subjects - with NAs PASS 1 2.20
test-expr_t_robust.R expr_t_robust expr_t_robust - between-subjects - without NAs PASS 1 1.14
test-expr_templates.R expr_templates checking if subtitle template works without any parameter PASS 1 0.00
test-expr_templates.R expr_templates checking if subtitle template works with a single parameter PASS 2 0.02
test-expr_templates.R expr_templates checking if subtitle template works with two parameters PASS 2 0.00
test-helpers_bf_tests.R helpers_bf_tests bayes factor (correlation) PASS 5 0.03
test-helpers_bf_tests.R helpers_bf_tests bayes factor (independent samples t-test) PASS 6 0.08
test-helpers_bf_tests.R helpers_bf_tests bayes factor (paired t-test) PASS 7 0.09
test-helpers_bf_tests.R helpers_bf_tests bayes factor (one sample t-test) PASS 7 0.08
test-helpers_bf_tests.R helpers_bf_tests bayes factor (between-subjects - anova) PASS 9 0.20
test-helpers_bf_tests.R helpers_bf_tests bayes factor (within-subjects - anova) PASS 9 1.94
test-helpers_bf_tests.R helpers_bf_tests bayes factor (proportion test) PASS 6 6.36
test-helpers_bf_tests.R helpers_bf_tests bayes factor (contingency tab) PASS 10 0.14
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.01
test-subtitle_misc_helpers.R long_to_wide_converter long_to_wide_converter works PASS 4 0.08
test-switch_statements.R switch statements switch for effct size type works PASS 13 0.00
test-switch_statements.R switch statements switch for stats type works PASS 8 0.00

Session Info

Field Value
Version R version 3.6.1 (2019-07-05)
Platform x86_64-w64-mingw32/x64 (64-bit)
Running Windows 10 x64 (build 16299)
Language English_United States
Timezone America/New_York
Package Version
testthat 2.2.1
covr 3.3.1
covrpage 0.0.70