Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This is necessary because some tests fail otherwise; see https://github.com/hadley/testthat/issues/144
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(ggdist)
  > 
  > test_check("ggdist")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Installed distributional is version 0.2.2; but 0.2.3 is required (1)
  • vdiffr cannot be loaded (66)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test.stat_dist_slabinterval.R:342:3): stat_dist_ detects discrete distributions ──
  Error: there is no package called 'vdiffr'
  Backtrace:
      █
   1. └─base::loadNamespace(x) test.stat_dist_slabinterval.R:342:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base:::withOneRestart(expr, restarts[[1L]])
   4.       └─base:::doWithOneRestart(return(expr), restart)
  ── Error (test.stat_dist_slabinterval.R:373:3): stat_dist_ preserves existing grouping order ──
  Error: there is no package called 'vdiffr'
  Backtrace:
      █
   1. └─base::loadNamespace(x) test.stat_dist_slabinterval.R:373:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base:::withOneRestart(expr, restarts[[1L]])
   4.       └─base:::doWithOneRestart(return(expr), restart)
  
  [ FAIL 2 | WARN 0 | SKIP 67 | PASS 120 ]
  Deleting unused snapshots:
  * _snaps/test.curve_interval/curve-interval-with-bd-mbd.svg
  * _snaps/test.curve_interval/curve-interval-with-mhd.svg
  * _snaps/test.geom_dotsinterval/coord-flip-with-dotsinterval.svg
  * _snaps/test.geom_dotsinterval/geom-dots-with-unit-binwidth.svg
  * _snaps/test.geom_dotsinterval/max-binwidth.svg
  * _snaps/test.geom_dotsinterval/min-binwidth.svg
  * _snaps/test.geom_dotsinterval/na-on-y-axis.svg
  * _snaps/test.geom_dotsinterval/na-rm-with-quantile-arg.svg
  * _snaps/test.geom_dotsinterval/one-character-bin.svg
  * _snaps/test.geom_dotsinterval/one-integer-bin.svg
  * _snaps/test.geom_dotsinterval/removed-na-on-y-axis.svg
  * _snaps/test.geom_dotsinterval/size-1-and-3.svg
  * _snaps/test.geom_dotsinterval/stat-dist-dots-with-dist-normal.svg
  * _snaps/test.geom_dotsinterval/stat-dist-dots-with-na-rm-false.svg
  * _snaps/test.geom_dotsinterval/stat-dist-dots-with-na-rm-true.svg
  * _snaps/test.geom_dotsinterval/stat-dotsh-with-a-group-with-1-dot.svg
  * _snaps/test.geom_dotsinterval/stat-dotsh-with-a-group-with-2-dots.svg
  * _snaps/test.geom_dotsinterval/swarm-both.svg
  * _snaps/test.geom_dotsinterval/swarm-bottom.svg
  * _snaps/test.geom_dotsinterval/swarm-top.svg
  * _snaps/test.geom_dotsinterval/swarm-vertical.svg
  * _snaps/test.geom_dotsinterval/three-character-bins.svg
  * _snaps/test.geom_dotsinterval/three-integer-bins.svg
  * _snaps/test.geom_dotsinterval/vanilla-geom-dots.svg
  * _snaps/test.geom_dotsinterval/vanilla-geom-dotsh.svg
  * _snaps/test.geom_dotsinterval/vanilla-geom-dotsinterval.svg
  * _snaps/test.geom_dotsinterval/vanilla-stat-dist-dots.svg
  * _snaps/test.geom_dotsinterval/vanilla-stat-dist-dotsinterval.svg
  * _snaps/test.geom_dotsinterval/vanilla-stat-dist-dotsintervalh.svg
  * _snaps/test.geom_dotsinterval/vanilla-stat-dotsinterval.svg
  * _snaps/test.geom_dotsinterval/vanilla-stat-dotsintervalh.svg
  * _snaps/test.geom_dotsinterval/varying-scale-side-just.svg
  * _snaps/test.geom_dotsinterval/varying-side-and-just.svg
  * _snaps/test.geom_dotsinterval/varying-side.svg
  * _snaps/test.geom_dotsinterval/weave-both.svg
  * _snaps/test.geom_dotsinterval/weave-bottom.svg
  * _snaps/test.geom_dotsinterval/weave-top.svg
  * _snaps/test.geom_interval/grouped-intervals-h-reverse-order.svg
  * _snaps/test.geom_interval/grouped-intervals-h-stat-mode-hdi.svg
  * _snaps/test.geom_interval/grouped-intervals-h-stat-reverse-order.svg
  * _snaps/test.geom_interval/grouped-intervals-h-stat.svg
  * _snaps/test.geom_interval/grouped-intervals-h.svg
  * _snaps/test.geom_interval/grouped-intervals-stat.svg
  * _snaps/test.geom_interval/grouped-intervals.svg
  * _snaps/test.geom_interval/multimodal-intervals-h-stat-dodged.svg
  * _snaps/test.geom_interval/multimodal-intervals-stat-dodged.svg
  * _snaps/test.geom_lineribbon/basic-stat-dist-lineribbon.svg
  * _snaps/test.geom_lineribbon/lineribbon-color-na.svg
  * _snaps/test.geom_lineribbon/lineribbon-fill-na.svg
  * _snaps/test.geom_lineribbon/lineribbon-with-step-hv-works.svg
  * _snaps/test.geom_lineribbon/lineribbon-with-step-mid-works.svg
  * _snaps/test.geom_lineribbon/lineribbon-with-step-true-works.svg
  * _snaps/test.geom_lineribbon/lineribbon-with-step-vh-works.svg
  * _snaps/test.geom_lineribbon/lineribbon-without-width.svg
  * _snaps/test.geom_lineribbon/one-group-geom-lineribbon-horizontal.svg
  * _snaps/test.geom_lineribbon/one-group-geom-lineribbon-manual-aes.svg
  * _snaps/test.geom_lineribbon/one-group-geom-lineribbon-reverse-order.svg
  * _snaps/test.geom_lineribbon/one-group-geom-lineribbon.svg
  * _snaps/test.geom_lineribbon/one-group-stat-lineribbon-horizontal.svg
  * _snaps/test.geom_lineribbon/one-group-stat-lineribbon.svg
  * _snaps/test.geom_lineribbon/one-group-stat-reverse-order-mean-qi.svg
  * _snaps/test.geom_lineribbon/two-group-stat-dist-lineribbon.svg
  * _snaps/test.geom_lineribbon/two-group-stat-lineribbons-grouped-by-group.svg
  * _snaps/test.geom_lineribbon/two-group-stats-grouped-by-color-and-linetype.svg
  * _snaps/test.geom_pointinterval/geom-pointinterval-na-rm-false.svg
  * _snaps/test.geom_pointinterval/geom-pointinterval-na-rm-true.svg
  * _snaps/test.geom_pointinterval/grouped-pointintervals-h-reverse-order.svg
  * _snaps/test.geom_pointinterval/grouped-pointintervals-h-stat-mode-hdi.svg
  * _snaps/test.geom_pointinterval/grouped-pointintervals-h-stat-reverse-order.svg
  * _snaps/test.geom_pointinterval/grouped-pointintervals-h-stat.svg
  * _snaps/test.geom_pointinterval/grouped-pointintervals-h.svg
  * _snaps/test.geom_pointinterval/grouped-pointintervals-stat.svg
  * _snaps/test.geom_pointinterval/grouped-pointintervals-with-custom-fatten.svg
  * _snaps/test.geom_pointinterval/grouped-with-interval-size-and-legend.svg
  * _snaps/test.geom_pointinterval/horizontal-orientation-detection-dodge.svg
  * _snaps/test.geom_pointinterval/horizontal-orientation-detection.svg
  * _snaps/test.geom_pointinterval/vertical-orientation-detection-plus-dodge.svg
  * _snaps/test.geom_pointinterval/vertical-orientation-detection.svg
  * _snaps/test.geom_slabinterval/alpha-channel-in-slab-fill.svg
  * _snaps/test.geom_slabinterval/geom-slab-one-group.svg
  * _snaps/test.geom_slabinterval/geom-slabh-one-group.svg
  * _snaps/test.geom_slabinterval/halfeye-with-normalize-all.svg
  * _snaps/test.geom_slabinterval/halfeye-with-normalize-groups.svg
  * _snaps/test.geom_slabinterval/halfeye-with-normalize-none.svg
  * _snaps/test.geom_slabinterval/halfeye-with-normalize-panels.svg
  * _snaps/test.geom_slabinterval/halfeye-with-normalize-xy.svg
  * _snaps/test.geom_slabinterval/varying-side-and-just.svg
  * _snaps/test.geom_slabinterval/varying-side.svg
  * _snaps/test.parse_dist/lkj-marginalization-works.svg
  * _snaps/test.position_dodgejust/halfeye-w-point-and-rect-refs.svg
  * _snaps/test.scale_/direct-scale-setting.svg
  * _snaps/test.scale_/dots-slab-color-plus-slab-shape-mapping.svg
  * _snaps/test.scale_/interval-alpha-continuous-mapping.svg
  * _snaps/test.scale_/interval-alpha-discrete-mapping.svg
  * _snaps/test.scale_/interval-color-continuous-mapping.svg
  * _snaps/test.scale_/interval-color-discrete-mapping.svg
  * _snaps/test.scale_/interval-linetype-discrete-mapping.svg
  * _snaps/test.scale_/interval-size-continuous-mapping.svg
  * _snaps/test.scale_/interval-size-discrete-mapping.svg
  * _snaps/test.scale_/point-alpha-continuous-mapping.svg
  * _snaps/test.scale_/point-alpha-discrete-mapping.svg
  * _snaps/test.scale_/point-color-continuous-mapping.svg
  * _snaps/test.scale_/point-color-discrete-mapping.svg
  * _snaps/test.scale_/point-fill-continuous-mapping.svg
  * _snaps/test.scale_/point-fill-discrete-mapping.svg
  * _snaps/test.scale_/point-size-continuous-mapping.svg
  * _snaps/test.scale_/point-size-discrete-mapping.svg
  * _snaps/test.scale_/slab-alpha-continuous-mapping.svg
  * _snaps/test.scale_/slab-alpha-discrete-mapping.svg
  * _snaps/test.scale_/slab-color-continuous-mapping.svg
  * _snaps/test.scale_/slab-color-discrete-mapping.svg
  * _snaps/test.scale_/slab-fill-continuous-mapping.svg
  * _snaps/test.scale_/slab-fill-discrete-mapping.svg
  * _snaps/test.scale_/slab-linetype-discrete-mapping.svg
  * _snaps/test.scale_/slab-linetype-plus-slab-color-mapping.svg
  * _snaps/test.scale_/slab-size-continuous-mapping.svg
  * _snaps/test.scale_/slab-size-discrete-mapping.svg
  * _snaps/test.scale_colour_ramp/basic-color-ramp.svg
  * _snaps/test.scale_colour_ramp/basic-colour-ramp.svg
  * _snaps/test.scale_colour_ramp/basic-discrete-color-ramp.svg
  * _snaps/test.scale_colour_ramp/basic-discrete-colour-ramp.svg
  * _snaps/test.scale_colour_ramp/basic-discrete-fill-ramp.svg
  * _snaps/test.scale_colour_ramp/basic-fill-ramp-from-red.svg
  * _snaps/test.scale_colour_ramp/basic-fill-ramp.svg
  * _snaps/test.scale_colour_ramp/color-ramp-with-interval-and-subgroups.svg
  * _snaps/test.scale_colour_ramp/fill-ramp-with-lineribbon.svg
  * _snaps/test.scale_colour_ramp/fill-ramp-with-slab-and-nas.svg
  * _snaps/test.stat_cdfinterval/vertical-ccdf-bar-plot-with-dodging-3-groups.svg
  * _snaps/test.stat_dist_slabinterval/ccdf-with-varying-just.svg
  * _snaps/test.stat_dist_slabinterval/ccdfinterval-reverse-scale-transform.svg
  * _snaps/test.stat_dist_slabinterval/ccdfinterval-using-args.svg
  * _snaps/test.stat_dist_slabinterval/ccdfintervalh-using-args.svg
  * _snaps/test.stat_dist_slabinterval/cdfinterval-using-args.svg
  * _snaps/test.stat_dist_slabinterval/cdfintervalh-using-args.svg
  * _snaps/test.stat_dist_slabinterval/dist-ccdfintervalh-log-scale-transform.svg
  * _snaps/test.stat_dist_slabinterval/dist-gradientinterval-with-two-groups.svg
  * _snaps/test.stat_dist_slabinterval/dist-gradientintervalh-with-two-groups.svg
  * _snaps/test.stat_dist_slabinterval/dist-halfeyeh-log-scale-transform.svg
  * _snaps/test.stat_dist_slabinterval/dist-halfeyeh-reverse-scale-transform.svg
  * _snaps/test.stat_dist_slabinterval/dist-interval-with-two-groups.svg
  * _snaps/test.stat_dist_slabinterval/dist-intervalh-with-two-groups.svg
  * _snaps/test.stat_dist_slabinterval/dist-objects-in-stat-dist-ccdfinterval.svg
  * _snaps/test.stat_dist_slabinterval/dist-objects-in-stat-dist-halfeye.svg
  * _snaps/test.stat_dist_slabinterval/dist-pointinterval-with-two-groups.svg
  * _snaps/test.stat_dist_slabinterval/dist-pointintervalh-with-two-groups.svg
  * _snaps/test.stat_dist_slabinterval/dist-poisson-ccdf.svg
  * _snaps/test.stat_dist_slabinterval/dist-poisson.svg
  * _snaps/test.stat_dist_slabinterval/dist-sample.svg
  * _snaps/test.stat_dist_slabinterval/dist-slab-beta-2-2.svg
  * _snaps/test.stat_dist_slabinterval/dist-slab-with-two-groups.svg
  * _snaps/test.stat_dist_slabinterval/dist-slabh-with-two-groups.svg
  * _snaps/test.stat_dist_slabinterval/dpois-ccdf.svg
  * _snaps/test.stat_dist_slabinterval/dpois.svg
  * _snaps/test.stat_dist_slabinterval/fill-type-gradient-with-two-groups-h.svg
  * _snaps/test.stat_dist_slabinterval/fill-type-gradient-with-two-groups.svg
  * _snaps/test.stat_dist_slabinterval/gradient-fill-color-halfeye.svg
  * _snaps/test.stat_dist_slabinterval/grouped-labels-with-pointintervals.svg
  * _snaps/test.stat_dist_slabinterval/horizontal-eye-using-args.svg
  * _snaps/test.stat_dist_slabinterval/horizontal-half-eye-using-args.svg
  * _snaps/test.stat_dist_slabinterval/na-dists-in-stat-dist-dotsinterval.svg
  * _snaps/test.stat_dist_slabinterval/na-dists-in-stat-dist-slabinterval.svg
  * _snaps/test.stat_dist_slabinterval/pdf-and-cdf-on-a-slabinterval.svg
  * _snaps/test.stat_dist_slabinterval/stat-dist-with-factor-dist-name.svg
  * _snaps/test.stat_dist_slabinterval/stat-dist-with-main-axis-of-x.svg
  * _snaps/test.stat_dist_slabinterval/stat-dist-with-main-axis-of-y.svg
  * _snaps/test.stat_dist_slabinterval/stat-dist-with-no-grouping.svg
  * _snaps/test.stat_dist_slabinterval/stat-dist-with-no-main-axis.svg
  * _snaps/test.stat_dist_slabinterval/vertical-eye-using-args-without-na-rm.svg
  * _snaps/test.stat_dist_slabinterval/vertical-eye-using-args.svg
  * _snaps/test.stat_dist_slabinterval/vertical-half-eye-using-args.svg
  * _snaps/test.stat_eye/halfeye-dodge-3-groups-just-0-both-scale-4-rev-y.svg
  * _snaps/test.stat_eye/one-parameter-horizontal-eye.svg
  * _snaps/test.stat_eye/one-parameter-horizontal-half-eye.svg
  * _snaps/test.stat_eye/one-parameter-vertical-eye.svg
  * _snaps/test.stat_eye/one-parameter-vertical-halfeye.svg
  * _snaps/test.stat_eye/two-parameter-factor-horizontal-eye-fill.svg
  * _snaps/test.stat_eye/two-parameter-factor-vertical-eye-fill.svg
  * _snaps/test.stat_eye/two-parameter-numeric-horizontal-half-eye-fill.svg
  * _snaps/test.stat_eye/two-parameter-numeric-vertical-eye.svg
  * _snaps/test.stat_eye/vert-dodge-3-groups-just-0-5-top-scale-0-5.svg
  * _snaps/test.stat_eye/vert-dodge-3-groups-just-1-top-scale-0-5.svg
  * _snaps/test.stat_eye/vert-halfeye-dodge-3-groups-just-0-both-scale-1-5.svg
  * _snaps/test.stat_eye/vert-halfeye-dodge-3-groups-just-0-bottom-scale-1-5.svg
  * _snaps/test.stat_eye/vert-halfeye-dodge-3-groups-just-0-top-scale-1-5.svg
  * _snaps/test.stat_eye/vertical-eye-with-dodging-3-groups-just-0.svg
  * _snaps/test.stat_eye/vertical-eye-with-dodging-3-groups-left.svg
  * _snaps/test.stat_eye/vertical-halfeye-with-dodging-3-groups-left.svg
  * _snaps/test.stat_eye/vertical-halfeye-with-dodging-3-groups-right.svg
  * _snaps/test.stat_sample_slabinterval/ccdfintervalh-log-scale-transform.svg
  * _snaps/test.stat_sample_slabinterval/cdfintervalh-log-scale-transform.svg
  * _snaps/test.stat_sample_slabinterval/constant-dist-on-ccdf.svg
  * _snaps/test.stat_sample_slabinterval/constant-dist-on-halfeye.svg
  * _snaps/test.stat_sample_slabinterval/fill-type-gradient-with-two-groups-h.svg
  * _snaps/test.stat_sample_slabinterval/fill-type-gradient-with-two-groups.svg
  * _snaps/test.stat_sample_slabinterval/gradientinterval-with-two-groups.svg
  * _snaps/test.stat_sample_slabinterval/gradientintervalh-with-two-groups.svg
  * _snaps/test.stat_sample_slabinterval/halfeyeh-log-scale-transform.svg
  * _snaps/test.stat_sample_slabinterval/histinterval-with-outline.svg
  * _snaps/test.stat_sample_slabinterval/histinterval-with-outlines-bw-bars.svg
  * _snaps/test.stat_sample_slabinterval/histintervalh-log-scale-transform.svg
  * _snaps/test.stat_sample_slabinterval/histintervalh-with-outline.svg
  * _snaps/test.stat_sample_slabinterval/nas-with-na-rm-false.svg
  * _snaps/test.stat_sample_slabinterval/nas-with-na-rm-true.svg
  * _snaps/test.stat_sample_slabinterval/pdf-and-cdf-on-a-sample-slabinterval.svg
  * _snaps/test.stat_sample_slabinterval/pdf-n-for-different-sized-groups.svg
  * _snaps/test.stat_sample_slabinterval/slab-with-outline.svg
  * _snaps/test.stat_sample_slabinterval/vanilla-stat-slabinterval.svg
  * _snaps/test.stat_sample_slabinterval/varying-side-and-just.svg
  Error: Test failures
  Execution halted