Tests and Coverage

14 February, 2020 10:56:27

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

Object Coverage (%)
statsExpressions 99.55
R/helpers_anova_expressions.R 97.17
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_meta_analysis_expressions.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-corr_objects.R 14 0.06 0 0 0 0
test-effsize_helpers.R 147 3.54 0 0 0 0
test-expr_anova_bayes.R 3 2.45 0 0 0 0
test-expr_anova_nonparametric.R 4 0.90 0 0 0 0
test-expr_anova_parametric.R 11 2.55 0 0 1 0 +
test-expr_anova_robust.R 4 2.22 0 0 0 0
test-expr_contingency_tab.R 14 1.37 0 0 0 0
test-expr_corr_test.R 4 0.13 0 0 0 0
test-expr_meta_bayes.R 2 3.95 0 0 0 0
test-expr_meta_parametric.R 14 0.16 0 0 0 0
test-expr_meta_robust.R 1 0.22 0 0 0 0
test-expr_t_bayes.R 4 0.15 0 0 0 0
test-expr_t_nonparametric.R 3 0.18 0 0 0 0
test-expr_t_onesample.R 7 0.18 0 0 0 0
test-expr_t_parametric.R 4 0.09 0 0 0 0
test-expr_t_robust.R 5 3.67 0 0 0 0
test-expr_templates.R 3 0.00 0 0 0 0
test-helpers_bf_tests.R 63 19.51 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-corr_objects.R corr_objects corr_objects works - pearson PASS 8 0.03
test-corr_objects.R corr_objects corr_objects works - robust PASS 6 0.03
test-effsize_helpers.R effsize_t_parametric effsize works for Cohen’s d and Hedge’s g (between - without NA) PASS 29 0.06
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.03
test-effsize_helpers.R t1way_ci t1way_ci works PASS 10 2.61
test-effsize_helpers.R test_yuend_ci Yuen’s test on trimmed means for dependent samples works PASS 12 0.50
test-effsize_helpers.R robcor_ci robcor_ci works PASS 9 0.23
test-expr_anova_bayes.R expr_anova_bayes expr_anova_bayes works (between-subjects) PASS 1 0.06
test-expr_anova_bayes.R expr_anova_bayes expr_anova_bayes works (within-subjects) PASS 1 0.28
test-expr_anova_bayes.R expr_anova_bayes expr_anova_bayes works (within-subjects) - with NA PASS 1 2.11
test-expr_anova_nonparametric.R expr_anova_nonparametric between-subjects - data with and without NAs PASS 2 0.29
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.06
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.13
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles with partial eta-squared and data with NAs 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 2 0.17
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles work (without NAs) PASS 1 0.50
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles work (with NAs) PASS 2 0.30
test-expr_anova_parametric.R expr_anova_parametric - between-subjects parametric anova subtitles work (catch bad data) PASS 1 0.80
test-expr_anova_parametric.R expr_anova_parametric - between-subjects checking warning message when too few obs SKIPPED 1 0.00 +
test-expr_anova_robust.R expr_anova_robust expr_anova_robust works - between-subjects PASS 2 2.11
test-expr_anova_robust.R expr_anova_robust expr_anova_robust works - within-subjects PASS 2 0.11
test-expr_contingency_tab.R expr_contingency_tab expr_contingency_tab works - data without NAs PASS 2 0.45
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.15
test-expr_contingency_tab.R expr_contingency_tab paired expr_contingency_tab works - with NAs PASS 1 0.14
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.13
test-expr_contingency_tab.R expr_contingency_tab Goodness of Fit expr_contingency_tab works with counts PASS 1 0.09
test-expr_contingency_tab.R expr_contingency_tab works with dataframes with NAs and with ratio PASS 1 0.03
test-expr_contingency_tab.R expr_contingency_tab works even in edge cases PASS 3 0.16
test-expr_corr_test.R expr_corr_test expr_corr_test works - nonparametric PASS 1 0.03
test-expr_corr_test.R expr_corr_test expr_corr_test works - parametric PASS 1 0.02
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.04
test-expr_meta_bayes.R expr_meta_bayes expr_meta_bayes works PASS 2 3.95
test-expr_meta_parametric.R expr_meta_parametric expr_meta_parametric works PASS 13 0.11
test-expr_meta_parametric.R expr_meta_parametric checking meta-analysis results object PASS 1 0.05
test-expr_meta_robust.R expr_meta_robust expr_meta_robust works PASS 1 0.22
test-expr_t_bayes.R expr_t_bayes expr_t_bayes works - between-subjects design PASS 1 0.05
test-expr_t_bayes.R expr_t_bayes expr_t_bayes works - between-subjects design - with NA PASS 1 0.03
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.04
test-expr_t_nonparametric.R expr_t_nonparametric expr_t_nonparametric works - between-subjects design PASS 1 0.11
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.05
test-expr_t_onesample.R expr_t_onesample expr_t_onesample non-parametric works PASS 1 0.05
test-expr_t_onesample.R expr_t_onesample expr_t_onesample robust works PASS 1 0.06
test-expr_t_onesample.R expr_t_onesample expr_t_onesample bayes factor works PASS 1 0.02
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.00
test-expr_t_parametric.R expr_t_parametric parametric t-test works (within-subjects without NAs) PASS 1 0.04
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.67
test-expr_t_robust.R expr_t_robust expr_t_robust - within-subjects - with NAs PASS 1 1.06
test-expr_t_robust.R expr_t_robust expr_t_robust - between-subjects - without NAs PASS 1 0.46
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.00
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.03
test-helpers_bf_tests.R helpers_bf_tests bayes factor (paired t-test) PASS 7 0.06
test-helpers_bf_tests.R helpers_bf_tests bayes factor (one sample t-test) PASS 7 0.05
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 0.80
test-helpers_bf_tests.R helpers_bf_tests bayes factor (proportion test) PASS 6 3.75
test-helpers_bf_tests.R helpers_bf_tests bayes factor (contingency tab) PASS 10 0.13
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.00
test-helpers_bf_tests.R bf_meta bf_meta works PASS 1 14.55
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