Tests and Coverage

30 August, 2019 16:16:19

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

Object Coverage (%)
ggstatsplot 89.54
R/grouped_ggbarstats.R 0.00
R/grouped_ggdotplotstats.R 0.00
R/grouped_gghistostats.R 0.00
R/grouped_ggscatterstats.R 0.00
R/grouped_ggwithinstats.R 0.00
R/grouped_ggbetweenstats.R 87.50
R/helpers_ggcoefstats_metaanalysis.R 88.68
R/grouped_ggpiestats.R 98.68
R/ggwithinstats.R 99.59
R/ggbetweenstats.R 99.63
R/combine_plots.R 100.00
R/ggbarstats.R 100.00
R/ggcoefstats.R 100.00
R/ggcorrmat.R 100.00
R/ggdotplotstats.R 100.00
R/gghistostats.R 100.00
R/ggpiestats.R 100.00
R/ggscatterstats.R 100.00
R/grouped_ggcorrmat.R 100.00
R/helpers_ggbetweenstats_graphics.R 100.00
R/helpers_ggcatstats_graphics.R 100.00
R/helpers_ggcoefstats_graphics.R 100.00
R/helpers_gghistostats_graphics.R 100.00
R/helpers_grouped_functions.R 100.00
R/helpers_messages.R 100.00
R/helpers_theme_ggstatsplot.R 100.00
R/switch_functions.R 100.00


Unit Tests

Unit Test summary is created using the testthat package.

file n time error failed skipped warning icon
test-argument_count.R 2 0.11 0 0 0 0
test-bf_meta_message.R 1 0.00 0 0 1 0 +
test-combine_plots.R 5 0.72 0 0 0 0
test-formals.R 1 0.03 0 0 0 0
test-ggbarstats.R 43 3.73 0 0 0 0
test-ggbetweenstats.R 75 19.06 0 0 0 13 -
test-ggcoefstats.R 171 32.64 0 0 0 0
test-ggcorrmat.R 100 0.55 0 0 0 0
test-ggdotplotstats.R 38 0.66 0 0 0 0
test-gghistostats.R 104 1.88 0 0 0 0
test-ggpiestats.R 90 10.81 0 0 0 0
test-ggplot_converter.R 2 0.31 0 0 0 0
test-ggscatterstats.R 83 4.38 0 0 0 0
test-ggwithinstats.R 63 16.44 0 0 0 11 -
test-grouped_ggbarstats.R 3 0.00 0 0 3 0 +
test-grouped_ggbetweenstats.R 24 7.07 0 0 0 13 -
test-grouped_ggcorrmat.R 25 1.50 0 0 0 0
test-grouped_ggdotplotstats.R 3 0.00 0 0 3 0 +
test-grouped_gghistostats.R 2 0.00 0 0 2 0 +
test-grouped_ggpiestats.R 8 10.28 0 0 2 0 +
test-grouped_ggscatterstats.R 2 0.00 0 0 2 0 +
test-grouped_ggwithinstats.R 4 0.00 0 0 4 0 +
test-grouped_list.R 7 0.01 0 0 0 0
test-helper_messages.R 18 0.05 0 0 0 0
test-helpers_ggbetweenstats.R 25 0.40 0 0 0 3 -
test-helpers_ggcatstats.R 18 0.05 0 0 0 0
test-pairwise_ggsignif.R 49 9.05 0 0 0 5 -
test-subtitle_meta_parametric.R 14 0.08 0 0 0 0
test-theme_ggstatsplot.R 9 0.03 0 0 0 0

Show Detailed Test Results

file context test status n time icon
test-argument_count.R argument_count argument_count is correct PASS 2 0.11
test-bf_meta_message.R bf_meta_message bf_meta_message works SKIPPED 1 0.00 +
test-combine_plots.R combine_plots checking if combining plots works PASS 5 0.72
test-formals.R formals checking if formal defaults are the same across primary and grouped PASS 1 0.03
test-ggbarstats.R ggbarstats checking labels with counts PASS 31 1.87
test-ggbarstats.R ggbarstats aesthetic modifications PASS 9 0.44
test-ggbarstats.R ggbarstats subtitle return PASS 2 1.14
test-ggbarstats.R ggbarstats checking if functions work without enough data PASS 1 0.28
test-ggbetweenstats.R ggbetweenstats error when x and outlier.label are same PASS 1 0.00
test-ggbetweenstats.R ggbetweenstats outlier.labeling works across vector types WARNING 6 14.19 -
test-ggbetweenstats.R ggbetweenstats checking sorting WARNING 5 0.69 -
test-ggbetweenstats.R ggbetweenstats checking labels and data from plot WARNING 20 1.71 -
test-ggbetweenstats.R ggbetweenstats checking mean labels are working WARNING 6 0.74 -
test-ggbetweenstats.R ggbetweenstats checking mean labels are working WARNING 2 0.59 -
test-ggbetweenstats.R ggbetweenstats checking if plot.type argument works WARNING 31 0.36 -
test-ggbetweenstats.R ggbetweenstats ggplot component addition works WARNING 2 0.22 -
test-ggbetweenstats.R ggbetweenstats subtitle return works WARNING 2 0.56 -
test-ggcoefstats.R ggcoefstats ggcoefstats with lm model PASS 17 0.09
test-ggcoefstats.R ggcoefstats ggcoefstats with glmer model PASS 8 0.63
test-ggcoefstats.R ggcoefstats ggcoefstats with partial variants of effect size for f-statistic PASS 40 2.47
test-ggcoefstats.R ggcoefstats ggcoefstats with non-partial variants of effect size for f-statistic PASS 2 2.32
test-ggcoefstats.R ggcoefstats check merMod output PASS 10 0.39
test-ggcoefstats.R ggcoefstats check glm output PASS 11 0.25
test-ggcoefstats.R ggcoefstats check mlm output PASS 2 0.04
test-ggcoefstats.R ggcoefstats check aareg output PASS 6 0.11
test-ggcoefstats.R ggcoefstats ggcoefstats works with glmmPQL object PASS 3 0.23
test-ggcoefstats.R ggcoefstats check clm models (minimal) PASS 4 6.17
test-ggcoefstats.R ggcoefstats ggcoefstats works with data frames PASS 9 0.64
test-ggcoefstats.R ggcoefstats ggcoefstats works with data frames PASS 26 18.25
test-ggcoefstats.R ggcoefstats ggcoefstats works with data frames (with NAs) PASS 3 0.10
test-ggcoefstats.R ggcoefstats check computing confidence intervals PASS 6 0.07
test-ggcoefstats.R ggcoefstats check if glance works PASS 5 0.19
test-ggcoefstats.R ggcoefstats check if augment works PASS 7 0.16
test-ggcoefstats.R ggcoefstats augment with lm works PASS 2 0.01
test-ggcoefstats.R ggcoefstats check if p-value adjustment works PASS 1 0.08
test-ggcoefstats.R ggcoefstats testing aesthetic modifications PASS 4 0.13
test-ggcoefstats.R ggcoefstats unsupported model objects PASS 3 0.20
test-ggcoefstats.R ggcoefstats_label_maker glm works PASS 1 0.02
test-ggcoefstats.R ggcoefstats_label_maker glmerMod works PASS 1 0.09
test-ggcorrmat.R ggcorrmat cor.vars works with different methods of inputs PASS 4 0.11
test-ggcorrmat.R ggcorrmat checking ggcorrmat - without NAs - pearson’s r PASS 30 0.11
test-ggcorrmat.R ggcorrmat checking ggcorrmat - with NAs - robust r PASS 17 0.10
test-ggcorrmat.R ggcorrmat checking ggcorrmat - with NAs - spearman’s rho PASS 13 0.08
test-ggcorrmat.R ggcorrmat checking ggcorrmat - with NAs - Kendall tau PASS 18 0.09
test-ggcorrmat.R ggcorrmat checking sample sizes PASS 6 0.01
test-ggcorrmat.R ggcorrmat checking p-values PASS 3 0.00
test-ggcorrmat.R ggcorrmat checking confidence intervals PASS 5 0.02
test-ggcorrmat.R ggcorrmat checking messages PASS 4 0.03
test-ggdotplotstats.R ggdotplotstats ggdotplotstats works as expected PASS 21 0.16
test-ggdotplotstats.R ggdotplotstats ggdotplotstats works with summarized data PASS 9 0.20
test-ggdotplotstats.R ggdotplotstats subtitle return PASS 6 0.16
test-ggdotplotstats.R ggdotplotstats subtitle return PASS 2 0.14
test-gghistostats.R gghistostats checking gghistostats plot and parametric stats - data with NAs PASS 24 0.24
test-gghistostats.R gghistostats checking gghistostats and non-parametric stats - data without NAs PASS 27 0.33
test-gghistostats.R gghistostats checking robust stats and proportions PASS 11 0.17
test-gghistostats.R gghistostats checking bayes stats and density PASS 12 0.14
test-gghistostats.R gghistostats checking with default binwidth PASS 22 0.81
test-gghistostats.R gghistostats checking with default binwidth PASS 7 0.09
test-gghistostats.R gghistostats subtitle return PASS 1 0.10
test-ggpiestats.R ggpiestats checking one sample proportion test PASS 17 1.76
test-ggpiestats.R ggpiestats checking labels with contingency tab PASS 45 0.52
test-ggpiestats.R ggpiestats checking labels with counts PASS 12 0.41
test-ggpiestats.R ggpiestats checking labels with contingency tab (paired) PASS 9 0.36
test-ggpiestats.R ggpiestats checking one sample prop test bf caption PASS 4 6.84
test-ggpiestats.R ggpiestats checking if functions work without enough data PASS 1 0.05
test-ggpiestats.R ggpiestats subtitle return PASS 2 0.87
test-ggplot_converter.R ggplot_converter ggplot_converter work PASS 2 0.31
test-ggscatterstats.R ggscatterstats checking ggscatterstats - without NAs - pearson’s r PASS 37 0.22
test-ggscatterstats.R ggscatterstats checking ggscatterstats - without NAs - spearman’s rho PASS 3 0.27
test-ggscatterstats.R ggscatterstats checking ggscatterstats - without NAs - percentage bend PASS 9 0.33
test-ggscatterstats.R ggscatterstats checking median display PASS 9 0.14
test-ggscatterstats.R ggscatterstats bayes factor plus class of object PASS 6 0.43
test-ggscatterstats.R ggscatterstats aesthetic modifications work PASS 2 0.18
test-ggscatterstats.R ggscatterstats checking ggscatterstats with different kinds of inputs to labeling PASS 5 0.37
test-ggscatterstats.R ggscatterstats with marginals PASS 3 1.02
test-ggscatterstats.R ggscatterstats checking formula specification PASS 7 0.39
test-ggscatterstats.R ggscatterstats subtitle return PASS 1 0.48
test-ggscatterstats.R ggscatterstats message checks PASS 1 0.55
test-ggwithinstats.R ggwithinstats error when x and outlier.label are same PASS 1 0.00
test-ggwithinstats.R ggwithinstats basic plotting works - two groups WARNING 18 0.71 -
test-ggwithinstats.R ggwithinstats basic plotting works - more than two groups WARNING 23 5.45 -
test-ggwithinstats.R ggwithinstats checking sorting WARNING 5 0.73 -
test-ggwithinstats.R ggwithinstats checking subtitle outputs - without NAs WARNING 13 8.60 -
test-ggwithinstats.R ggwithinstats ggplot component addition works WARNING 2 0.25 -
test-ggwithinstats.R ggwithinstats checking warning message when too few obs PASS 1 0.70
test-grouped_ggbarstats.R grouped_ggbarstats grouped_ggbarstats works SKIPPED 1 0.00 +
test-grouped_ggbarstats.R grouped_ggbarstats subtitle return SKIPPED 1 0.00 +
test-grouped_ggbarstats.R grouped_ggbarstats checking if results coincide with base version SKIPPED 1 0.00 +
test-grouped_ggbetweenstats.R grouped_ggbetweenstats grouping.var works across vector types WARNING 13 3.52 -
test-grouped_ggbetweenstats.R grouped_ggbetweenstats subtitle return WARNING 11 3.55 -
test-grouped_ggcorrmat.R grouped_ggcorrmat grouped_ggcorrmat plots work PASS 5 1.41
test-grouped_ggcorrmat.R grouped_ggcorrmat grouped_ggcorrmat stats work PASS 20 0.09
test-grouped_ggdotplotstats.R grouped_ggdotplotstats grouped_ggdotplotstats works SKIPPED 1 0.00 +
test-grouped_ggdotplotstats.R grouped_ggdotplotstats subtitle return SKIPPED 1 0.00 +
test-grouped_ggdotplotstats.R grouped_ggdotplotstats checking if results coincide with base version SKIPPED 1 0.00 +
test-grouped_gghistostats.R grouped_gghistostats grouped_gghistostats works SKIPPED 1 0.00 +
test-grouped_gghistostats.R grouped_gghistostats subtitle return SKIPPED 1 0.00 +
test-grouped_ggpiestats.R grouped_ggpiestats grouped_ggpiestats works PASS 6 10.28
test-grouped_ggpiestats.R grouped_ggpiestats subtitle return SKIPPED 1 0.00 +
test-grouped_ggpiestats.R grouped_ggpiestats checking if results coincide with base version SKIPPED 1 0.00 +
test-grouped_ggscatterstats.R grouped_ggscatterstats grouped_ggscatterstats works SKIPPED 1 0.00 +
test-grouped_ggscatterstats.R grouped_ggscatterstats subtitle return SKIPPED 1 0.00 +
test-grouped_ggwithinstats.R grouped_ggwithinstats grouping.var works across vector types SKIPPED 1 0.00 +
test-grouped_ggwithinstats.R grouped_ggwithinstats grouping.var works across vector types SKIPPED 1 0.00 +
test-grouped_ggwithinstats.R grouped_ggwithinstats subtitle return SKIPPED 1 0.00 +
test-grouped_ggwithinstats.R grouped_ggwithinstats subtitle return with NA SKIPPED 1 0.00 +
test-grouped_list.R grouped_list works grouped_list works PASS 7 0.01
test-helper_messages.R helper_messages grouped_message is working PASS 1 0.00
test-helper_messages.R helper_messages ggcorrmat_matrix_message is working PASS 1 0.00
test-helper_messages.R helper_messages palette_message is working PASS 1 0.00
test-helper_messages.R helper_messages normality_message is working PASS 3 0.02
test-helper_messages.R helper_messages bartlett_message is working PASS 12 0.03
test-helpers_ggbetweenstats.R mean_ggrepel mean_ggrepel works WARNING 7 0.17 -
test-helpers_ggbetweenstats.R mean_labeller mean_labeller works WARNING 6 0.22 -
test-helpers_ggbetweenstats.R outlier_df outlier_df works as expected PASS 4 0.01
test-helpers_ggbetweenstats.R sort_xy sort_xy works as expected PASS 8 0.00
test-helpers_ggcatstats.R cat_label_df cat_label_df works PASS 8 0.00
test-helpers_ggcatstats.R cat_label_df cat_couter works PASS 10 0.05
test-pairwise_ggsignif.R pairwise comparisons with ggsignif check comparison significant displays - adjusted WARNING 3 1.20 -
test-pairwise_ggsignif.R pairwise comparisons with ggsignif check non-significant comparison displays - no adjustment WARNING 13 1.00 -
test-pairwise_ggsignif.R pairwise comparisons with ggsignif check mixed comparison displays - adjusted WARNING 11 4.35 -
test-pairwise_ggsignif.R pairwise comparisons with ggsignif check robust test display - adjusted WARNING 10 1.95 -
test-pairwise_ggsignif.R pairwise comparisons with ggsignif check student’s t test display - adjusted WARNING 12 0.55 -
test-subtitle_meta_parametric.R subtitle_meta_ggcoefstats subtitle_meta_ggcoefstats works PASS 13 0.07
test-subtitle_meta_parametric.R subtitle_meta_ggcoefstats checking meta-analysis results object PASS 1 0.01
test-theme_ggstatsplot.R theme_ggstatsplot theme_ggstatsplot() works PASS 3 0.02
test-theme_ggstatsplot.R theme_ggstatsplot theme_pie() works PASS 6 0.01
Failed Warning Skipped
! - +

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