Running ‘testthat.R’ [43s/64s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggplot2)
  > 
  > test_check("ggplot2")
  No summary function supplied, defaulting to `mean_se()`
  [ FAIL 4 | WARN 1 | SKIP 48 | PASS 1439 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (45)
  • mapproj cannot be loaded (1)
  • quantreg cannot be loaded (1)
  • sp cannot be loaded (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-coord-map.R:7:3): USA state map drawn ───────────────────────────
  <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. └─vdiffr::expect_doppelganger(...) at test-coord-map.R:7:2
    2.   └─vdiffr 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_build(x)
    8.         └─ggplot2:::ggplot_build.ggplot(x)
    9.           └─layout$setup_panel_params()
   10.             └─ggplot2 f(..., self = self)
   11.               └─base::Map(setup_panel_params, scales_x, scales_y)
   12.                 └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   13.                   └─ggplot2 `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
   14.                     └─self$coord$setup_panel_params(scale_x, scale_y, params = self$coord_params)
   15.                       └─ggplot2 f(..., self = self)
   16.                         └─ggplot2:::mproject(self, grid$x, grid$y, orientation)
   17.                           └─rlang::check_installed("mapproj", reason = "for `coord_map()`")
  ── Error (test-coord-map.R:16:3): coord_map scale position can be switched ─────
  <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. └─vdiffr::expect_doppelganger(...) at test-coord-map.R:16:2
    2.   └─vdiffr 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_build(x)
    8.         └─ggplot2:::ggplot_build.ggplot(x)
    9.           └─layout$setup_panel_params()
   10.             └─ggplot2 f(..., self = self)
   11.               └─base::Map(setup_panel_params, scales_x, scales_y)
   12.                 └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   13.                   └─ggplot2 `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
   14.                     └─self$coord$setup_panel_params(scale_x, scale_y, params = self$coord_params)
   15.                       └─ggplot2 f(..., self = self)
   16.                         └─ggplot2:::mproject(self, grid$x, grid$y, orientation)
   17.                           └─rlang::check_installed("mapproj", reason = "for `coord_map()`")
  ── Error (test-coord-map.R:27:3): Inf is squished to range ─────────────────────
  <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. └─ggplot2:::cdata(...) at test-coord-map.R:27:2
    2.   ├─ggplot2::ggplot_build(plot) at tests/testthat/helper-plot-data.r:3:2
    3.   └─ggplot2:::ggplot_build.ggplot(plot)
    4.     └─layout$setup_panel_params()
    5.       └─ggplot2 f(..., self = self)
    6.         └─base::Map(setup_panel_params, scales_x, scales_y)
    7.           └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    8.             └─ggplot2 `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
    9.               └─self$coord$setup_panel_params(scale_x, scale_y, params = self$coord_params)
   10.                 └─ggplot2 f(..., self = self)
   11.                   └─ggplot2:::mproject(self, grid$x, grid$y, orientation)
   12.                     └─rlang::check_installed("mapproj", reason = "for `coord_map()`")
  ── Error (test-geom-hline-vline-abline.R:39:3): curved lines in map projections ──
  <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. └─vdiffr::expect_doppelganger("straight lines in mercator", nzmap) at test-geom-hline-vline-abline.R:39:2
    2.   └─vdiffr 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_build(x)
    8.         └─ggplot2:::ggplot_build.ggplot(x)
    9.           └─layout$setup_panel_params()
   10.             └─ggplot2 f(..., self = self)
   11.               └─base::Map(setup_panel_params, scales_x, scales_y)
   12.                 └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   13.                   └─ggplot2 `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
   14.                     └─self$coord$setup_panel_params(scale_x, scale_y, params = self$coord_params)
   15.                       └─ggplot2 f(..., self = self)
   16.                         └─ggplot2:::mproject(self, grid$x, grid$y, orientation)
   17.                           └─rlang::check_installed("mapproj", reason = "for `coord_map()`")
  
  [ FAIL 4 | WARN 1 | SKIP 48 | PASS 1439 ]
  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-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
  • draw-key/rectangle-and-dotplot-key-glyphs.svg
  • facet-/left-justified-rotated-facet-labels-with-margins.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-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/variable-linetype-and-size-specified-as-aesthetics.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-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/irregular-categorical.svg
  • geom-sf/labels-for-north-carolina.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-zero-breaks.svg
  • guides/axis-guides-zero-rotation.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-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.svg
  • guides/guide-bins-looks-as-it-should.svg
  • guides/guide-bins-work-horizontally.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/guides-specified-in-guides.svg
  • guides/horizontal-gap-of-1cm-between-guide-and-guide-text.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/multi-line-guide-title-works.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/thick-axis-lines.svg
  • guides/vertical-gap-of-1cm-between-guide-title-and-guide.svg
  • guides/white-to-red-colorbar-thick-black-ticks-green-frame.svg
  • guides/white-to-red-colorbar-white-ticks-no-frame.svg
  • labels/manual.svg
  • labels/other-position.svg
  • scale_date/dates-along-y-default-breaks.svg
  • scale_date/scale-x-date-breaks-3-weeks.svg
  • scale_date/scale-x-date-breaks-date-breaks-2-weeks.svg
  • scale_date/scale-x-date-labels-date-format-m-d.svg
  • scale_date/scale-x-date-labels-date-format-w-week.svg
  • scale_date/scale-y-date-breaks-3-weeks.svg
  • scale_date/scale-y-date-breaks-date-breaks-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/rotated-x-axis-tick-labels.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