Running ‘testthat.R’ [173s/108s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # graphics engine changed in this version, and so snapshots generated on
  > # previous R version won't work
  > if (getRversion() < "4.4.0") {
  +   library(testthat)
  +   suppressPackageStartupMessages(library(ggstatsplot))
  + 
  +   test_check("ggstatsplot")
  + }
  Starting 2 test processes
  [ FAIL 4 | WARN 34 | SKIP 43 | PASS 8 ]
  
  ══ Skipped tests (43) ══════════════════════════════════════════════════════════
  • On CRAN (43): 'test-combine-plots.R:19:5', 'test-extract-stats.R:9:5',
    'test-ggbetweenstats.R:11:5', 'test-ggbetweenstats.R:64:5',
    'test-ggbetweenstats.R:95:5', 'test-ggcoefstats.R:4:3',
    'test-ggcoefstats.R:13:3', 'test-ggcoefstats.R:63:3',
    'test-ggcoefstats.R:93:5', 'test-ggcoefstats.R:140:5',
    'test-ggcoefstats.R:159:5', 'test-ggcorrmat.R:5:5', 'test-ggcorrmat.R:24:5',
    'test-ggcorrmat.R:67:5', 'test-ggcorrmat.R:92:5',
    'test-ggdotplotstats.R:23:5', 'test-ggdotplotstats.R:43:5',
    'test-ggdotplotstats.R:103:5', 'test-gghistostats.R:7:5',
    'test-gghistostats.R:26:5', 'test-gghistostats.R:51:5',
    'test-gghistostats.R:106:5', 'test-ggbarstats.R:22:5',
    'test-ggbarstats.R:65:5', 'test-ggbarstats.R:166:5',
    'test-ggbarstats.R:208:5', 'test-ggbarstats.R:225:5',
    'test-ggbarstats.R:251:5', 'test-ggscatterstats.R:156:5',
    'test-ggwithinstats.R:12:5', 'test-ggwithinstats.R:50:5',
    'test-ggwithinstats.R:81:5', 'test-pairwise-ggsignif.R:9:5',
    'test-pairwise-ggsignif.R:164:5', 'test-pairwise-ggsignif.R:320:5',
    'test-utils.R:7:5', 'test-utils.R:22:5', 'test-ggpiestats.R:21:5',
    'test-ggpiestats.R:76:5', 'test-ggpiestats.R:152:5',
    'test-ggpiestats.R:196:5', 'test-ggpiestats.R:204:5',
    'test-ggpiestats.R:249:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-ggscatterstats.R:7:5'): checking ggscatterstats with entire dataset ──
  <notSubsettableError/error/condition>
  Error in `guide$position`: object of type 'closure' is not subsettable
  Backtrace:
       ▆
    1. └─vdiffr::expect_doppelganger(...) at test-ggscatterstats.R:7:5
    2.   └─vdiffr (local) writer(fig, testcase, title)
    3.     ├─vdiffr:::print_plot(plot, title)
    4.     └─vdiffr:::print_plot.ggplot(plot, title)
    5.       ├─base::print(p)
    6.       └─ggplot2:::print.ggplot(p)
    7.         ├─ggplot2::ggplot_gtable(data)
    8.         └─ggplot2:::ggplot_gtable.ggplot_built(data)
    9.           └─layout$render(geom_grobs, data, theme, plot$labels)
   10.             └─ggplot2 (local) render(..., self = self)
   11.               └─self$facet$draw_panels(...)
   12.                 └─ggside (local) draw_panels(...)
   13.                   └─ggplot2::render_axes(ranges, ranges, coord, theme, transpose = TRUE)
   14.                     └─base::lapply(x, coord$render_axis_h, theme)
   15.                       └─ggplot2 (local) FUN(X[[i]], ...)
   16.                         └─ggside (local) render_axis_h(...)
   17.                           └─ggside:::panel_guides_grob(...)
   18.                             ├─guide_for_position(guides, position) %||% guide_none()
   19.                             └─ggside:::guide_for_position(guides, position)
   20.                               └─base::vapply(...)
   21.                                 └─ggside (local) FUN(X[[i]], ...)
  ── Error ('test-ggscatterstats.R:26:5'): aesthetic modifications work ──────────
  <notSubsettableError/error/condition>
  Error in `guide$position`: object of type 'closure' is not subsettable
  Backtrace:
       ▆
    1. └─vdiffr::expect_doppelganger(...) at test-ggscatterstats.R:26:5
    2.   └─vdiffr (local) writer(fig, testcase, title)
    3.     ├─vdiffr:::print_plot(plot, title)
    4.     └─vdiffr:::print_plot.ggplot(plot, title)
    5.       ├─base::print(p)
    6.       └─ggplot2:::print.ggplot(p)
    7.         ├─ggplot2::ggplot_gtable(data)
    8.         └─ggplot2:::ggplot_gtable.ggplot_built(data)
    9.           └─layout$render(geom_grobs, data, theme, plot$labels)
   10.             └─ggplot2 (local) render(..., self = self)
   11.               └─self$facet$draw_panels(...)
   12.                 └─ggside (local) draw_panels(...)
   13.                   └─ggplot2::render_axes(ranges, ranges, coord, theme, transpose = TRUE)
   14.                     └─base::lapply(x, coord$render_axis_h, theme)
   15.                       └─ggplot2 (local) FUN(X[[i]], ...)
   16.                         └─ggside (local) render_axis_h(...)
   17.                           └─ggside:::panel_guides_grob(...)
   18.                             ├─guide_for_position(guides, position) %||% guide_none()
   19.                             └─ggside:::guide_for_position(guides, position)
   20.                               └─base::vapply(...)
   21.                                 └─ggside (local) FUN(X[[i]], ...)
  ── Error ('test-ggscatterstats.R:54:3'): labeling variables and expressions work as expected ──
  <notSubsettableError/error/condition>
  Error in `guide$position`: object of type 'closure' is not subsettable
  Backtrace:
       ▆
    1. └─vdiffr::expect_doppelganger(...) at test-ggscatterstats.R:54:3
    2.   └─vdiffr (local) writer(fig, testcase, title)
    3.     ├─vdiffr:::print_plot(plot, title)
    4.     └─vdiffr:::print_plot.ggplot(plot, title)
    5.       ├─base::print(p)
    6.       └─ggplot2:::print.ggplot(p)
    7.         ├─ggplot2::ggplot_gtable(data)
    8.         └─ggplot2:::ggplot_gtable.ggplot_built(data)
    9.           └─layout$render(geom_grobs, data, theme, plot$labels)
   10.             └─ggplot2 (local) render(..., self = self)
   11.               └─self$facet$draw_panels(...)
   12.                 └─ggside (local) draw_panels(...)
   13.                   └─ggplot2::render_axes(ranges, ranges, coord, theme, transpose = TRUE)
   14.                     └─base::lapply(x, coord$render_axis_h, theme)
   15.                       └─ggplot2 (local) FUN(X[[i]], ...)
   16.                         └─ggside (local) render_axis_h(...)
   17.                           └─ggside:::panel_guides_grob(...)
   18.                             ├─guide_for_position(guides, position) %||% guide_none()
   19.                             └─ggside:::guide_for_position(guides, position)
   20.                               └─base::vapply(...)
   21.                                 └─ggside (local) FUN(X[[i]], ...)
  ── Error ('test-ggscatterstats.R:126:5'): grouped_ggscatterstats plotting works as expected ──
  <notSubsettableError/error/condition>
  Error in `guide$position`: object of type 'closure' is not subsettable
  Backtrace:
       ▆
    1. └─vdiffr::expect_doppelganger(...) at test-ggscatterstats.R:126:5
    2.   └─vdiffr (local) writer(fig, testcase, title)
    3.     ├─vdiffr:::print_plot(plot, title)
    4.     └─patchwork:::print_plot.patchwork(plot, title)
    5.       ├─base::print(p)
    6.       └─patchwork:::print.patchwork(p)
    7.         └─patchwork:::build_patchwork(plot, plot$layout$guides %||% "auto")
    8.           └─base::lapply(x$plots, plot_table, guides = guides)
    9.             ├─patchwork (local) FUN(X[[i]], ...)
   10.             └─patchwork:::plot_table.ggplot(X[[i]], ...)
   11.               └─ggplot2::ggplotGrob(x)
   12.                 ├─ggplot2::ggplot_gtable(ggplot_build(x))
   13.                 └─ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x))
   14.                   └─layout$render(geom_grobs, data, theme, plot$labels)
   15.                     └─ggplot2 (local) render(..., self = self)
   16.                       └─self$facet$draw_panels(...)
   17.                         └─ggside (local) draw_panels(...)
   18.                           └─ggplot2::render_axes(ranges, ranges, coord, theme, transpose = TRUE)
   19.                             └─base::lapply(x, coord$render_axis_h, theme)
   20.                               └─ggplot2 (local) FUN(X[[i]], ...)
   21.                                 └─ggside (local) render_axis_h(...)
   22.                                   └─ggside:::panel_guides_grob(...)
   23.                                     ├─guide_for_position(guides, position) %||% guide_none()
   24.                                     └─ggside:::guide_for_position(guides, position)
   25.                                       └─base::vapply(...)
   26.                                         └─ggside (local) FUN(X[[i]], ...)
  
  [ FAIL 4 | WARN 34 | SKIP 43 | PASS 8 ]
  Deleting unused snapshots:
  • ggbarstats/changing-aesthetics-works.svg
  • ggbarstats/checking-count-labels.svg
  • ggbarstats/checking-paired-two-way-table-with-na.svg
  • ggbarstats/checking-paired-two-way-table-without-na.svg
  • ggbarstats/checking-percentage-and-count-labels.svg
  • ggbarstats/checking-unpaired-two-way-table-with-na.svg
  • ggbarstats/label-repelling-works.svg
  • ggbarstats/prop-test-fails-with-dropped-levels.svg
  • ggbetweenstats/default-plot-as-expected.svg
  • ggbetweenstats/mean-shown-with-scarce-data.svg
  • ggbetweenstats/plot-with-outliers-as-expected.svg
  • ggbetweenstats/specific-geoms-removed.svg
  • ggcoefstats/chi2-statistic.svg
  • ggcoefstats/f-statistic-with-omega.svg
  • ggcoefstats/f-statistic.svg
  • ggcoefstats/meta-analysis-works.svg
  • ggcoefstats/sorting-works.svg
  • ggcoefstats/z-statistic.svg
  • ggcorrmat/applying-ggplot2-function-works.svg
  • ggcorrmat/non-parametric-correlation-with-nas.svg
  • ggcorrmat/with-nas.svg
  • ggdotplotstats/further-modification-with-ggplot-works.svg
  • ggdotplotstats/robust-with-na.svg
  • gghistostats/modification-with-ggplot2-works.svg
  • gghistostats/robust-with-na.svg
  • ggpiestats/changing-aesthetics-works.svg
  • ggpiestats/checking-count-labels.svg
  • ggpiestats/checking-one-way-table-with-na.svg
  • ggpiestats/checking-paired-two-way-table-with-na.svg
  • ggpiestats/checking-paired-two-way-table-without-na.svg
  • ggpiestats/checking-percentage-and-count-labels.svg
  • ggpiestats/checking-unpaired-two-way-table-with-na.svg
  • ggpiestats/checking-unpaired-two-way-table-without-na.svg
  • ggpiestats/grouped-ggpiestats-with-two-way-table.svg
  • ggpiestats/label-repelling-works.svg
  • ggpiestats/prop-test-fails-with-dropped-levels.svg
  • ggscatterstats/aesthetic-modifications-work.svg
  • ggscatterstats/no-label-variable-but-expression.svg
  • ggscatterstats/robust-correlation-with-nas.svg
  • ggwithinstats/centrality-path-can-be-turned-off.svg
  • ggwithinstats/defaults-plots-more-than-two-groups.svg
  • ggwithinstats/defaults-plots-two-groups.svg
  • ggwithinstats/grouped-plots-default.svg
  • pairwise-ggsignif/between-bayes.svg
  • pairwise-ggsignif/between-non-parametric-all.svg
  • pairwise-ggsignif/between-non-parametric-only-non-significant.svg
  • pairwise-ggsignif/between-non-parametric-only-significant.svg
  • pairwise-ggsignif/between-parametric-all.svg
  • pairwise-ggsignif/between-parametric-only-significant.svg
  • pairwise-ggsignif/between-robust-all.svg
  • pairwise-ggsignif/between-robust-only-non-significant.svg
  • pairwise-ggsignif/between-robust-only-significant.svg
  • pairwise-ggsignif/within-bayes.svg
  • pairwise-ggsignif/within-non-parametric-all.svg
  • pairwise-ggsignif/within-non-parametric-only-non-significant.svg
  • pairwise-ggsignif/within-non-parametric-only-significant.svg
  • pairwise-ggsignif/within-parametric-all.svg
  • pairwise-ggsignif/within-parametric-only-significant.svg
  • pairwise-ggsignif/within-robust-all.svg
  • pairwise-ggsignif/within-robust-only-non-significant.svg
  • pairwise-ggsignif/within-robust-only-significant.svg
  Error: Test failures
  Execution halted