Tests and Coverage

23 August, 2019 09:40:34

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 15.53 0 0 0 0
test-expr_anova_bayes.R 3 2.20 0 0 0 0
test-expr_anova_nonparametric.R 4 1.11 0 0 0 0
test-expr_anova_parametric.R 11 1.91 0 0 0 0
test-expr_anova_robust.R 4 2.67 0 0 0 0
test-expr_contingency_tab.R 13 0.83 0 0 0 0
test-expr_corr_test.R 4 0.24 0 0 0 0
test-expr_t_bayes.R 4 0.17 0 0 0 0
test-expr_t_nonparametric.R 3 1.35 0 0 0 0
test-expr_t_onesample.R 7 1.19 0 0 0 0
test-expr_t_parametric.R 4 0.09 0 0 0 0
test-expr_t_robust.R 4 2.73 0 0 0 0
test-expr_templates.R 5 0.00 0 0 0 0
test-helpers_bf_tests.R 62 4.18 0 0 0 0
test-subtitle_misc_helpers.R 4 0.05 0 0 0 0
test-switch_statements.R 21 0.02 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.19
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.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 13.50
test-effsize_helpers.R test_yuend_ci Yuen’s test on trimmed means for dependent samples works PASS 18 1.43
test-effsize_helpers.R robcor_ci robcor_ci works PASS 23 0.30
test-expr_anova_bayes.R expr_anova_bayes expr_anova_bayes works (between-subjects) PASS 1 0.11
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 1.80
test-expr_anova_nonparametric.R expr_anova_nonparametric between-subjects - data with and without NAs PASS 2 0.50
test-expr_anova_nonparametric.R expr_anova_nonparametric within-subjects - data with and without NAs PASS 2 0.61
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles work (without NAs) PASS 1 0.04
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles work (with NAs) PASS 1 0.53
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles with partial omega-squared PASS 1 0.06
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.09
test-expr_anova_parametric.R expr_anova_parametric - within-subjects parametric anova subtitles work (without NAs) PASS 1 0.42
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.42
test-expr_anova_parametric.R expr_anova_parametric - within-subjects checking warning message when too few obs PASS 1 0.10
test-expr_anova_robust.R expr_anova_robust expr_anova_robust works - between-subjects PASS 2 2.61
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.38
test-expr_contingency_tab.R expr_contingency_tab expr_contingency_tab works - data with NAs PASS 1 0.03
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.08
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.10
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.03
test-expr_corr_test.R expr_corr_test expr_corr_test works - nonparametric PASS 1 0.11
test-expr_corr_test.R expr_corr_test expr_corr_test works - parametric PASS 1 0.05
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.05
test-expr_t_bayes.R expr_t_bayes expr_t_bayes works - between-subjects design PASS 1 0.03
test-expr_t_bayes.R expr_t_bayes expr_t_bayes works - between-subjects design - with NA PASS 1 0.08
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 1.10
test-expr_t_nonparametric.R expr_t_nonparametric expr_t_nonparametric works - within-subjects design PASS 2 0.25
test-expr_t_onesample.R expr_t_onesample expr_t_onesample parametric works PASS 4 0.07
test-expr_t_onesample.R expr_t_onesample expr_t_onesample non-parametric works PASS 1 1.06
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.03
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.03
test-expr_t_parametric.R expr_t_parametric parametric t-test works (within-subjects without NAs) PASS 1 0.03
test-expr_t_parametric.R expr_t_parametric parametric t-test works (within-subjects with NAs) PASS 1 0.01
test-expr_t_robust.R expr_t_robust expr_t_robust - within-subjects - without NAs PASS 2 1.66
test-expr_t_robust.R expr_t_robust expr_t_robust - within-subjects - with NAs PASS 1 0.68
test-expr_t_robust.R expr_t_robust expr_t_robust - between-subjects - without NAs PASS 1 0.39
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.00
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.00
test-helpers_bf_tests.R helpers_bf_tests bayes factor (independent samples t-test) PASS 6 0.03
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.02
test-helpers_bf_tests.R helpers_bf_tests bayes factor (between-subjects - anova) PASS 9 0.09
test-helpers_bf_tests.R helpers_bf_tests bayes factor (within-subjects - anova) PASS 9 0.63
test-helpers_bf_tests.R helpers_bf_tests bayes factor (proportion test) PASS 6 3.28
test-helpers_bf_tests.R helpers_bf_tests bayes factor (contingency tab) PASS 10 0.08
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.05
test-switch_statements.R switch statements switch for effct size type works PASS 13 0.02
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.0
covrpage 0.0.70