Running ‘testthat.R’ [64s/78s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggplot2)
  > 
  > test_check("ggplot2")
  [ FAIL 1 | WARN 0 | SKIP 178 | PASS 1620 ]
  
  ══ Skipped tests (178) ═════════════════════════════════════════════════════════
  • On CRAN (170): 'test-aes-calculated.R:58:3', 'test-aes-calculated.R:75:3',
    'test-aes.R:168:3', 'test-aes.R:185:3', 'test-aes.R:194:3',
    'test-aes.R:198:3', 'test-aes.R:206:3', 'test-aes.R:222:3',
    'test-annotate.R:28:3', 'test-annotate.R:57:3', 'test-annotate.R:68:3',
    'test-annotate.R:73:3', 'test-annotate.R:77:3', 'test-annotate.R:81:3',
    'test-annotate.R:85:3', 'test-autolayer.R:2:3', 'test-autoplot.R:2:3',
    'test-compat-plyr.R:2:3', 'test-coord-.R:2:3', 'test-coord-cartesian.R:19:3',
    'test-coord-cartesian.R:31:3', 'test-coord-cartesian.R:62:3',
    'test-coord-flip.R:3:3', 'test-coord-flip.R:13:3', 'test-coord-map.R:48:3',
    'test-coord-polar.R:102:3', 'test-coord-polar.R:113:3',
    'test-coord-polar.R:170:3', 'test-coord-polar.R:241:3',
    'test-coord-transform.R:101:3', 'test-coord-transform.R:110:3',
    'test-coord-transform.R:129:3', 'test-coord_sf.R:17:3',
    'test-coord_sf.R:30:3', 'test-coord_sf.R:88:3', 'test-coord_sf.R:237:3',
    'test-coord_sf.R:321:3', 'test-coord_sf.R:330:3', 'test-draw-key.R:7:3',
    'test-draw-key.R:32:3', 'test-draw-key.R:61:3', 'test-draw-key.R:115:3',
    'test-error.R:2:3', 'test-facet-.R:145:3', 'test-facet-.R:149:3',
    'test-facet-.R:232:3', 'test-facet-.R:339:3', 'test-facet-.R:390:3',
    'test-facet-.R:461:3', 'test-facet-.R:466:3', 'test-facet-.R:503:3',
    'test-facet-.R:513:3', 'test-facet-labels.R:153:3',
    'test-facet-layout.R:88:3', 'test-facet-layout.R:158:3',
    'test-facet-layout.R:183:3', 'test-facet-layout.R:198:3',
    'test-facet-strips.R:124:3', 'test-facet-strips.R:175:3',
    'test-fortify.R:60:3', 'test-geom-.R:3:3', 'test-geom-boxplot.R:87:3',
    'test-geom-boxplot.R:93:3', 'test-geom-dotplot.R:1:1',
    'test-geom-hex.R:25:3', 'test-geom-hex.R:35:3',
    'test-geom-hline-vline-abline.R:14:3', 'test-geom-hline-vline-abline.R:49:3',
    'test-geom-jitter.R:2:3', 'test-geom-label.R:2:3',
    'test-geom-linerange.R:3:3', 'test-geom-map.R:2:3', 'test-geom-path.R:10:3',
    'test-geom-path.R:76:3', 'test-geom-path.R:93:3', 'test-geom-point.R:22:3',
    'test-geom-polygon.R:25:3', 'test-geom-polygon.R:55:3',
    'test-geom-raster.R:2:3', 'test-geom-raster.R:16:3',
    'test-geom-raster.R:27:3', 'test-geom-ribbon.R:5:3', 'test-geom-rug.R:24:3',
    'test-geom-sf.R:149:3', 'test-geom-sf.R:189:3', 'test-geom-sf.R:219:3',
    'test-geom-sf.R:254:3', 'test-geom-smooth.R:31:3',
    'test-geom-smooth.R:106:3', 'test-geom-text.R:2:3',
    'test-geom-violin.R:52:3', 'test-geom-violin.R:86:3', 'test-ggproto.R:9:3',
    'test-ggsave.R:128:3', 'test-ggsave.R:154:3', 'test-ggsave.R:158:3',
    'test-guides.R:1:1', 'test-labellers.R:10:3', 'test-labellers.R:21:3',
    'test-labels.R:76:3', 'test-labels.R:233:3', 'test-layer.R:4:3',
    'test-layer.R:32:5', 'test-layer.R:63:3', 'test-layer.R:74:3',
    'test-layer.R:121:3', 'test-layer.R:138:3', 'test-layer.R:166:3',
    'test-limits.R:2:3', 'test-margins.R:2:3', 'test-patterns.R:3:3',
    'test-patterns.R:90:3', 'test-plot.R:2:3', 'test-plot.R:7:3',
    'test-position-collide.R:3:3', 'test-position-jitterdodge.R:3:3',
    'test-position-stack.R:71:3', 'test-prohibited-functions.R:60:3',
    'test-prohibited-functions.R:120:3', 'test-qplot.R:54:3',
    'test-scale-binned.R:3:3', 'test-scale-colour-continuous.R:2:3',
    'test-scale-discrete.R:147:3', 'test-scale-expansion.R:7:3',
    'test-scale-hue.R:3:3', 'test-scale-manual.R:19:4', 'test-scale_date.R:16:3',
    'test-scales-breaks-labels.R:295:3', 'test-scales-breaks-labels.R:336:3',
    'test-scales-breaks-labels.R:365:3', 'test-scales.R:352:3',
    'test-scales.R:434:3', 'test-scales.R:499:3', 'test-scales.R:688:3',
    'test-scales.R:714:3', 'test-sec-axis.R:9:3', 'test-sec-axis.R:63:3',
    'test-sec-axis.R:140:3', 'test-sec-axis.R:202:3', 'test-sec-axis.R:242:3',
    'test-sec-axis.R:318:3', 'test-sec-axis.R:334:3', 'test-sec-axis.R:350:3',
    'test-stat-align.R:12:3', 'test-stat-align.R:28:3', 'test-stat-align.R:43:3',
    'test-stat-bin.R:4:3', 'test-stat-bin.R:129:3', 'test-stat-bin.R:195:3',
    'test-stat-bin2d.R:14:3', 'test-stat-boxplot.R:11:3',
    'test-stat-boxplot.R:26:3', 'test-stat-count.R:3:3',
    'test-stat-density.R:111:3', 'test-stat-density.R:125:3',
    'test-stat-density2d.R:94:3', 'test-stat-ecdf.R:15:3', 'test-stat-qq.R:4:3',
    'test-stat-sum.R:47:3', 'test-stat-ydensity.R:2:3', 'test-stats.R:43:3',
    'test-summarise-plot.R:3:3', 'test-theme.R:1:1', 'test-utilities.R:96:3',
    'test-utilities.R:104:3', 'test-utilities.R:116:3', 'test-utilities.R:121:3',
    'test-utilities.R:125:3', 'test-utilities.R:130:3', 'test-utilities.R:136:3'
  • mapproj cannot be loaded (5): 'test-coord-map.R:2:3',
    'test-coord-map.R:16:3', 'test-coord-map.R:32:3', 'test-coord-train.R:31:3',
    'test-geom-hline-vline-abline.R:29:3'
  • maps cannot be loaded (1): 'test-annotate.R:32:3'
  • sp cannot be loaded (1): 'test-fortify.R:3:5'
  • stringsAsFactors only affects R <4.0 (1): 'test-data.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-coord-map.R:55:3'): coord_map throws informative warning about guides ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `mproject(self, grid$x, grid$y, orientation)`: The package "mapproj" is required for `coord_map()`.
  Backtrace:
       ▆
    1. ├─testthat::expect_snapshot_warning(...) at test-coord-map.R:55:3
    2. │ └─testthat:::expect_snapshot_condition(...)
    3. │   ├─testthat:::with_is_snapshotting(...)
    4. │   └─testthat:::capture_matching_condition(x, cnd_matcher(class))
    5. │     └─base::withCallingHandlers(...)
    6. ├─ggplot2::ggplot_build(ggplot() + coord_map() + guides(x = guide_axis()))
    7. └─ggplot2:::ggplot_build.ggplot(ggplot() + coord_map() + guides(x = guide_axis()))
    8.   └─layout$setup_panel_params()
    9.     └─ggplot2 (local) setup_panel_params(..., self = self)
   10.       └─base::Map(setup_panel_params, scales_x, scales_y)
   11.         └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   12.           └─ggplot2 (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
   13.             └─self$coord$setup_panel_params(scale_x, scale_y, params = self$coord_params)
   14.               └─ggplot2 (local) setup_panel_params(..., self = self)
   15.                 └─ggplot2:::mproject(self, grid$x, grid$y, orientation)
   16.                   └─rlang::check_installed("mapproj", reason = "for `coord_map()`.")
  
  [ FAIL 1 | WARN 0 | SKIP 178 | PASS 1620 ]
  Deleting unused snapshots:
  • aes/alpha-set-in-alpha.svg
  • aes/stat-count-width-0-5.svg
  • aes/stat-count.svg
  • aes/stat-identity-width-0-5.svg
  • coord-cartesian/clip-turned-off-both-inside-and-outside-visible.svg
  • coord-cartesian/contract-range.svg
  • coord-map/coord-map-switched-scale-position.svg
  • coord-map/usa-mercator.svg
  • coord-polar/bottom-half-circle-with-rotated-text.svg
  • coord-polar/partial-with-all-axes.svg
  • coord-polar/racetrack-plot-closed-and-has-center-hole.svg
  • coord-polar/racetrack-plot-closed-and-no-center-hole.svg
  • coord-polar/rays-circular-arcs-and-spiral-arcs.svg
  • coord-polar/rose-plot-with-has-equal-spacing.svg
  • coord-polar/secondary-axis-ticks-and-labels.svg
  • coord_sf/limits-specified-in-long-lat.svg
  • coord_sf/limits-specified-in-projected-coords.svg
  • coord_sf/non-sf-geoms-using-long-lat.svg
  • coord_sf/non-sf-geoms-using-projected-coords.svg
  • draw-key/horizontal-linerange-and-pointrange.svg
  • draw-key/rectangle-and-dotplot-key-glyphs.svg
  • facet-/facet-wrap-with-omitted-inner-axis-labels.svg
  • facet-/left-justified-rotated-facet-labels-with-margins.svg
  • geom-boxplot/staples.svg
  • geom-dotplot/2-na-values-bin-along-y-stack-center.svg
  • geom-dotplot/2-na-values-dot-density-binning-binwidth-4.svg
  • geom-dotplot/3-stackgroups-bin-y-histodot.svg
  • geom-dotplot/3-stackgroups-dot-density-with-aligned-bins.svg
  • geom-dotplot/3-stackgroups-histodot.svg
  • geom-dotplot/basic-dotplot-with-dot-density-binning-binwidth-4.svg
  • geom-dotplot/bin-along-y-stack-center.svg
  • geom-dotplot/bin-along-y-stack-centerwhole-histodot.svg
  • geom-dotplot/bin-along-y-stack-centerwhole.svg
  • geom-dotplot/bin-x-three-y-groups-stack-centerwhole.svg
  • geom-dotplot/bin-y-continous-x-axis-grouping-by-x.svg
  • geom-dotplot/bin-y-continous-x-axis-single-x-group.svg
  • geom-dotplot/bin-y-dodged-coord-flip.svg
  • geom-dotplot/bin-y-dodged.svg
  • geom-dotplot/bin-y-dodging-3-stackgroups-histodot.svg
  • geom-dotplot/bin-y-three-x-groups-bins-aligned-across-groups.svg
  • geom-dotplot/bin-y-three-x-groups-bins-aligned-coord-flip.svg
  • geom-dotplot/bin-y-three-x-groups-fill-and-dodge.svg
  • geom-dotplot/bin-y-three-x-groups-stack-centerwhole.svg
  • geom-dotplot/dots-stacked-closer-stackratio-5-fill-white.svg
  • geom-dotplot/facets-3-groups-histodot-stackgroups.svg
  • geom-dotplot/histodot-binning-equal-bin-spacing.svg
  • geom-dotplot/larger-dots-dotsize-1-5-fill-white.svg
  • geom-dotplot/multiple-groups-bins-aligned.svg
  • geom-dotplot/multiple-groups-bins-not-aligned.svg
  • geom-dotplot/stack-center-with-coord-flip.svg
  • geom-dotplot/stack-center.svg
  • geom-dotplot/stack-centerwhole-with-coord-flip.svg
  • geom-dotplot/stack-centerwhole.svg
  • geom-dotplot/stack-down-with-coord-flip.svg
  • geom-dotplot/stack-down.svg
  • geom-dotplot/stack-up-with-coord-flip.svg
  • geom-dotplot/stack-up.svg
  • geom-dotplot/stackratio-1-5.svg
  • geom-dotplot/variable-linetype-and-size-specified-as-aesthetics.svg
  • geom-hex/hex-bin-plot-in-polar-coordinates.svg
  • geom-hline-vline-abline/flipped-lines-intersect-mid-bars.svg
  • geom-hline-vline-abline/lines-curved-in-azequalarea.svg
  • geom-hline-vline-abline/polar-lines-intersect-mid-bars.svg
  • geom-hline-vline-abline/straight-lines-in-mercator.svg
  • geom-path/lines-changed-order-should-have-same-appearance.svg
  • geom-path/lines-colour-changed-order-should-have-same-appearance.svg
  • geom-path/lines-colour.svg
  • geom-raster/1-x-3-just-0-0.svg
  • geom-raster/1-x-3-set-limits.svg
  • geom-raster/1-x-3.svg
  • geom-raster/3-x-1-just-0-0.svg
  • geom-raster/3-x-1-set-limits.svg
  • geom-raster/3-x-1.svg
  • geom-raster/3-x-2-just-0-0.svg
  • geom-raster/3-x-2-set-limits.svg
  • geom-raster/discrete-positions.svg
  • geom-raster/irregular-categorical.svg
  • geom-sf/labels-for-north-carolina.svg
  • geom-sf/north-carolina-county-boundaries-with-more-than-one-arrow.svg
  • geom-sf/spatial-points.svg
  • geom-smooth/ribbon-turned-off-in-geom-smooth.svg
  • geom-violin/continuous-x-axis-many-groups-center-should-be-at-2-0.svg
  • geom-violin/continuous-x-axis-single-group-center-should-be-at-1-0.svg
  • geom-violin/coord-flip.svg
  • geom-violin/coord-polar.svg
  • geom-violin/dodging-and-coord-flip.svg
  • geom-violin/dodging.svg
  • geom-violin/grouping-on-x-and-fill-dodge-width-0-5.svg
  • geom-violin/grouping-on-x-and-fill.svg
  • geom-violin/narrower-width-5.svg
  • geom-violin/quantiles.svg
  • geom-violin/scale-area-to-sample-size-c-is-smaller.svg
  • geom-violin/with-smaller-bandwidth-and-points.svg
  • geom-violin/with-tails-and-points.svg
  • guides/align-facet-labels-facets-horizontal.svg
  • guides/align-facet-labels-facets-vertical.svg
  • guides/axis-guides-basic.svg
  • guides/axis-guides-check-overlap.svg
  • guides/axis-guides-negative-rotation.svg
  • guides/axis-guides-positive-rotation.svg
  • guides/axis-guides-text-dodged-into-rows-cols.svg
  • guides/axis-guides-vertical-negative-rotation.svg
  • guides/axis-guides-vertical-rotation.svg
  • guides/axis-guides-with-capped-ends.svg
  • guides/axis-guides-zero-breaks.svg
  • guides/axis-guides-zero-rotation.svg
  • guides/customized-colorbar.svg
  • guides/enlarged-guides.svg
  • guides/facet-grid-legend-on-bottom.svg
  • guides/facet-grid-legend-on-left.svg
  • guides/facet-grid-legend-on-right.svg
  • guides/facet-grid-legend-on-top.svg
  • guides/facet-wrap-legend-on-bottom.svg
  • guides/facet-wrap-legend-on-left.svg
  • guides/facet-wrap-legend-on-right.svg
  • guides/facet-wrap-legend-on-top.svg
  • guides/guide-axis-customization.svg
  • guides/guide-axis-theta-in-cartesian-coordinates.svg
  • guides/guide-axis-theta-with-angle-adapting-to-theta.svg
  • guides/guide-bins-can-remove-axis.svg
  • guides/guide-bins-can-show-arrows.svg
  • guides/guide-bins-can-show-limits.svg
  • guides/guide-bins-can-show-ticks-and-transparancy.svg
  • guides/guide-bins-looks-as-it-should.svg
  • guides/guide-bins-sets-labels-when-limits-is-in-breaks.svg
  • guides/guide-bins-understands-coinciding-limits-and-bins-2.svg
  • guides/guide-bins-understands-coinciding-limits-and-bins-3.svg
  • guides/guide-bins-understands-coinciding-limits-and-bins.svg
  • guides/guide-bins-work-horizontally.svg
  • guides/guide-colorsteps-sets-labels-when-limits-is-in-breaks.svg
  • guides/guide-colorsteps-understands-coinciding-limits-and-bins-2.svg
  • guides/guide-colorsteps-understands-coinciding-limits-and-bins-3.svg
  • guides/guide-colorsteps-understands-coinciding-limits-and-bins.svg
  • guides/guide-coloursteps-can-have-bins-relative-to-binsize.svg
  • guides/guide-coloursteps-can-show-limits.svg
  • guides/guide-coloursteps-looks-as-it-should.svg
  • guides/guide-title-and-text-positioning-and-alignment-via-themes.svg
  • guides/guide-titles-with-coord-trans.svg
  • guides/guides-specified-in-guides.svg
  • guides/guides-with-minor-ticks.svg
  • guides/horizontal-gap-of-1cm-between-guide-and-guide-text.svg
  • guides/horizontal-legend-direction.svg
  • guides/left-aligned-legend-key.svg
  • guides/legend-byrow-true.svg
  • guides/legend-inside-plot-bottom-left-of-legend-at-center.svg
  • guides/legend-inside-plot-bottom-left.svg
  • guides/legend-inside-plot-centered.svg
  • guides/legend-inside-plot-top-right.svg
  • guides/legend-on-bottom.svg
  • guides/legend-on-left.svg
  • guides/legend-on-right.svg
  • guides/legend-on-top.svg
  • guides/legend-with-widely-spaced-keys.svg
  • guides/legends-with-all-title-justifications.svg
  • guides/logtick-axes-with-customisation.svg
  • guides/multi-line-guide-title-works.svg
  • guides/old-s3-guide-drawing-a-circle.svg
  • guides/one-combined-colorbar-for-colour-and-fill-aesthetics.svg
  • guides/padding-in-legend-box.svg
  • guides/position-guide-titles.svg
  • guides/rotated-guide-titles-and-labels.svg
  • guides/stacked-axes.svg
  • guides/stacked-radial-axes.svg
  • guides/thick-axis-lines.svg
  • guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg
  • guides/vertical-legend-direction.svg
  • guides/white-to-red-colorbar-white-ticks-no-frame.svg
  • labels/tag-in-margin.svg
  • labels/tag-in-panel-as-character.svg
  • labels/tag-in-panel-as-numeric.svg
  • labels/tag-in-plot-as-character.svg
  • labels/tag-in-plot-as-numeric.svg
  • patterns/pattern-fills-no-alpha.svg
  • patterns/pattern-fills-through-scale.svg
  • patterns/pattern-fills-with-alpha.svg
  • scale_date/dates-along-y-default-breaks.svg
  • scale_date/scale-x-date-breaks-3-weeks.svg
  • scale_date/scale-x-date-breaks-breaks-width-2-weeks.svg
  • scale_date/scale-x-date-labels-label-date-m-d.svg
  • scale_date/scale-x-date-labels-label-date-w-week.svg
  • scale_date/scale-y-date-breaks-3-weeks.svg
  • scale_date/scale-y-date-breaks-breaks-width-2-weeks.svg
  • scales-breaks-labels/character.svg
  • scales-breaks-labels/date.svg
  • scales-breaks-labels/no-alpha-breaks-no-legend.svg
  • scales-breaks-labels/no-colour-breaks-no-legend.svg
  • scales-breaks-labels/no-fill-breaks-no-legend.svg
  • scales-breaks-labels/no-size-breaks-no-legend.svg
  • scales-breaks-labels/no-y-breaks.svg
  • scales-breaks-labels/numeric-exp.svg
  • scales-breaks-labels/numeric-log.svg
  • scales-breaks-labels/numeric-polar.svg
  • stat-sum/summary-with-crossbars-manual-grouping.svg
  • stat-sum/summary-with-crossbars-no-grouping.svg
  • theme/axes-styling.svg
  • theme/caption-aligned-to-entire-plot.svg
  • theme/custom-strip-elements-can-render.svg
  • theme/height-is-3-times-width-2-column-facets.svg
  • theme/height-is-3-times-width-2-row-facets.svg
  • theme/height-is-3-times-width-2-wrap-facets.svg
  • theme/height-is-3-times-width-2x2-facets.svg
  • theme/height-is-3-times-width.svg
  • theme/legends-at-all-sides-with-justification.svg
  • theme/rotated-x-axis-tick-labels.svg
  • theme/stretched-horizontal-legends.svg
  • theme/stretched-vertical-legends.svg
  • theme/strip-styling.svg
  • theme/theme-bw-large.svg
  • theme/theme-bw.svg
  • theme/theme-classic-large.svg
  • theme/theme-classic.svg
  • theme/theme-dark-large.svg
  • theme/theme-dark.svg
  • theme/theme-gray-large.svg
  • theme/theme-gray.svg
  • theme/theme-light-large.svg
  • theme/theme-light.svg
  • theme/theme-linedraw-large.svg
  • theme/theme-linedraw.svg
  • theme/theme-minimal-large.svg
  • theme/theme-minimal.svg
  • theme/theme-void-large.svg
  • theme/theme-void.svg
  • theme/ticks-length.svg
  • theme/titles-aligned-to-entire-plot.svg
  • theme/width-is-3-times-height.svg
  Error: Test failures
  Execution halted