* using log directory 'd:/Rcompile/CRANpkg/local/4.6/ggplot2.Rcheck' * using R version 4.6.0 beta (2026-04-16 r89899 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-04-17 06:11:22 UTC * checking for file 'ggplot2/DESCRIPTION' ... OK * this is package 'ggplot2' version '4.0.2' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'ggplot2' can be installed ... OK * checking installed package size ... INFO installed size is 12.2Mb sub-directories of 1Mb or more: R 2.1Mb doc 7.6Mb help 1.5Mb * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [2s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [29s] OK * checking Rd files ... [6s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [208s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [159s] ERROR Running 'testthat.R' [159s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(ggplot2) > > test_check("ggplot2") Saving _problems/test-plot-4.R [ FAIL 1 | WARN 0 | SKIP 269 | PASS 1781 ] ══ Skipped tests (269) ═════════════════════════════════════════════════════════ • On CRAN (268): 'test-aes-calculated.R:55:1', 'test-aes-calculated.R:75:1', 'test-aes-calculated.R:95:1', 'test-aes-setting.R:1:1', 'test-aes.R:47:1', 'test-aes.R:109:1', 'test-aes.R:122:1', 'test-aes.R:142:1', 'test-aes.R:162:1', 'test-aes.R:168:1', 'test-aes.R:173:1', 'test-aes.R:189:1', 'test-aes.R:198:1', 'test-aes.R:204:1', 'test-aes.R:221:1', 'test-annotate.R:19:1', 'test-annotate.R:51:1', 'test-annotate.R:66:1', 'test-annotate.R:71:1', 'test-annotate.R:75:1', 'test-annotate.R:79:1', 'test-annotate.R:83:1', 'test-annotate.R:118:1', 'test-autolayer.R:1:1', 'test-autoplot.R:1:1', 'test-coord-.R:1:1', 'test-coord-.R:43:1', 'test-coord-cartesian.R:17:1', 'test-coord-cartesian.R:25:1', 'test-coord-cartesian.R:41:1', 'test-coord-cartesian.R:52:1', 'test-coord-flip.R:1:1', 'test-coord-flip.R:16:1', 'test-coord-map.R:1:1', 'test-coord-map.R:14:1', 'test-coord-map.R:43:1', 'test-coord-map.R:51:1', 'test-coord-polar.R:101:1', 'test-coord-polar.R:107:1', 'test-coord-polar.R:158:1', 'test-coord-polar.R:184:1', 'test-coord-polar.R:222:1', 'test-coord-polar.R:281:1', 'test-coord-polar.R:335:1', 'test-coord-transform.R:1:1', 'test-coord-transform.R:100:1', 'test-coord-transform.R:109:1', 'test-coord-transform.R:127:1', 'test-coord-transform.R:135:1', 'test-coord_sf.R:1:1', 'test-coord_sf.R:20:1', 'test-coord_sf.R:33:1', 'test-coord_sf.R:70:1', 'test-coord_sf.R:235:1', 'test-coord_sf.R:358:1', 'test-coord_sf.R:382:1', 'test-coord_sf.R:391:1', 'test-coord_sf.R:410:3', 'test-draw-key.R:3:1', 'test-draw-key.R:23:1', 'test-draw-key.R:41:1', 'test-draw-key.R:75:1', 'test-empty-data.R:32:1', 'test-empty-data.R:44:1', 'test-empty-data.R:55:1', 'test-facet-.R:45:1', 'test-facet-.R:144:1', 'test-facet-.R:148:1', 'test-facet-.R:230:1', 'test-facet-.R:348:1', 'test-facet-.R:354:1', 'test-facet-.R:362:1', 'test-facet-.R:451:1', 'test-facet-.R:472:1', 'test-facet-.R:477:1', 'test-facet-.R:483:1', 'test-facet-.R:519:1', 'test-facet-labels.R:75:1', 'test-facet-labels.R:144:1', 'test-facet-labels.R:155:1', 'test-facet-layout.R:121:1', 'test-facet-layout.R:220:1', 'test-facet-layout.R:243:1', 'test-facet-layout.R:273:1', 'test-facet-strips.R:123:1', 'test-facet-strips.R:188:1', 'test-fortify.R:59:1', 'test-fortify.R:63:1', 'test-function-args.R:99:1', 'test-function-args.R:122:1', 'test-geom-.R:1:1', 'test-geom-bar.R:1:1', 'test-geom-boxplot.R:38:1', 'test-geom-boxplot.R:79:1', 'test-geom-boxplot.R:92:1', 'test-geom-col.R:1:1', 'test-geom-curve.R:1:1', 'test-geom-dotplot.R:1:1', 'test-geom-hex.R:24:1', 'test-geom-hex.R:32:1', 'test-geom-hline-vline-abline.R:4:1', 'test-geom-hline-vline-abline.R:28:1', 'test-geom-hline-vline-abline.R:66:1', 'test-geom-jitter.R:1:1', 'test-geom-label.R:1:1', 'test-geom-label.R:26:1', 'test-geom-linerange.R:1:1', 'test-geom-map.R:1:1', 'test-geom-map.R:6:1', 'test-geom-path.R:8:1', 'test-geom-path.R:36:1', 'test-geom-path.R:65:1', 'test-geom-path.R:90:1', 'test-geom-point.R:21:1', 'test-geom-polygon.R:5:1', 'test-geom-polygon.R:28:1', 'test-geom-raster.R:1:1', 'test-geom-raster.R:12:1', 'test-geom-raster.R:21:1', 'test-geom-rect.R:1:1', 'test-geom-ribbon.R:1:1', 'test-geom-ribbon.R:16:1', 'test-geom-rug.R:22:1', 'test-geom-rug.R:43:1', 'test-geom-sf.R:79:1', 'test-geom-sf.R:130:1', 'test-geom-sf.R:156:1', 'test-geom-sf.R:189:1', 'test-geom-sf.R:230:1', 'test-geom-sf.R:267:1', 'test-geom-sf.R:296:1', 'test-geom-smooth.R:30:3', 'test-geom-smooth.R:83:1', 'test-geom-smooth.R:114:1', 'test-geom-text.R:1:1', 'test-geom-text.R:5:1', 'test-geom-text.R:28:1', 'test-geom-text.R:36:1', 'test-geom-violin.R:50:1', 'test-geom-violin.R:82:1', 'test-ggproto.R:8:1', 'test-ggsave.R:12:1', 'test-ggsave.R:85:1', 'test-ggsave.R:98:1', 'test-ggsave.R:120:1', 'test-ggsave.R:133:1', 'test-ggsave.R:159:1', 'test-ggsave.R:163:1', 'test-guide-.R:1:1', 'test-guide-axis.R:1:1', 'test-guide-colorbar.R:1:1', 'test-guide-legend.R:1:1', 'test-guides.R:1:1', 'test-labellers.R:17:1', 'test-labellers.R:22:1', 'test-labels.R:101:1', 'test-labels.R:108:1', 'test-labels.R:112:1', 'test-labels.R:123:1', 'test-labels.R:312:1', 'test-layer.R:3:1', 'test-layer.R:23:1', 'test-layer.R:27:1', 'test-layer.R:31:1', 'test-layer.R:36:1', 'test-layer.R:57:1', 'test-layer.R:69:1', 'test-layer.R:80:1', 'test-layer.R:126:1', 'test-layer.R:141:1', 'test-layer.R:149:1', 'test-layer.R:216:1', 'test-legend-draw.R:2:1', 'test-limits.R:1:1', 'test-patterns.R:1:1', 'test-patterns.R:61:1', 'test-performance.R:14:1', 'test-plot.R:1:1', 'test-plot.R:7:1', 'test-position-collide.R:1:1', 'test-position-stack.R:77:1', 'test-position_dodge.R:56:1', 'test-prohibited-functions.R:60:3', 'test-prohibited-functions.R:96:1', 'test-qplot.R:58:1', 'test-scale-binned.R:1:1', 'test-scale-colour.R:1:1', 'test-scale-date.R:86:1', 'test-scale-discrete.R:135:1', 'test-scale-discrete.R:145:1', 'test-scale-discrete.R:152:1', 'test-scale-discrete.R:188:1', 'test-scale-expansion.R:6:1', 'test-scale-gradient.R:13:1', 'test-scale-hue.R:1:1', 'test-scale-manual.R:1:1', 'test-scale-manual.R:53:1', 'test-scale-manual.R:115:1', 'test-scale_date.R:19:1', 'test-scales-breaks-labels.R:9:1', 'test-scales-breaks-labels.R:145:1', 'test-scales-breaks-labels.R:149:1', 'test-scales-breaks-labels.R:287:1', 'test-scales-breaks-labels.R:345:1', 'test-scales-breaks-labels.R:368:1', 'test-scales.R:103:1', 'test-scales.R:199:1', 'test-scales.R:209:1', 'test-scales.R:233:1', 'test-scales.R:316:1', 'test-scales.R:431:1', 'test-scales.R:460:1', 'test-scales.R:645:1', 'test-scales.R:672:1', 'test-scales.R:694:1', 'test-sec-axis.R:7:1', 'test-sec-axis.R:62:1', 'test-sec-axis.R:139:1', 'test-sec-axis.R:187:1', 'test-sec-axis.R:211:1', 'test-sec-axis.R:258:1', 'test-sec-axis.R:329:1', 'test-sec-axis.R:345:1', 'test-stat-align.R:1:1', 'test-stat-align.R:11:1', 'test-stat-align.R:21:1', 'test-stat-bin.R:1:1', 'test-stat-bin.R:173:1', 'test-stat-bin.R:203:1', 'test-stat-bin.R:229:1', 'test-stat-bin.R:235:1', 'test-stat-bin2d.R:1:1', 'test-stat-boxplot.R:1:1', 'test-stat-boxplot.R:23:1', 'test-stat-connect.R:53:1', 'test-stat-contour.R:1:1', 'test-stat-contour.R:10:1', 'test-stat-contour.R:84:1', 'test-stat-count.R:1:1', 'test-stat-density.R:79:1', 'test-stat-density.R:104:1', 'test-stat-density.R:121:1', 'test-stat-density.R:129:1', 'test-stat-density2d.R:19:1', 'test-stat-density2d.R:99:1', 'test-stat-ecdf.R:1:1', 'test-stat-ecdf.R:45:1', 'test-stat-function.R:133:1', 'test-stat-qq.R:1:1', 'test-stat-sum.R:46:1', 'test-stat-ydensity.R:1:1', 'test-stat-ydensity.R:7:1', 'test-stats.R:1:1', 'test-stats.R:14:1', 'test-stats.R:19:1', 'test-summarise-plot.R:1:1', 'test-theme.R:1:1', 'test-utilities-break.R:1:1', 'test-utilities-checks.R:2:1', 'test-utilities-checks.R:44:1', 'test-utilities.R:93:1', 'test-utilities.R:103:1', 'test-utilities.R:107:1', 'test-utilities.R:113:1', 'test-utilities.R:118:1', 'test-utilities.R:122:1', 'test-utilities.R:127:1', 'test-utilities.R:211:3' • {sp} is not installed (1): 'test-fortify.R:3:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-plot.R:4:3'): ggplot() throws informative errors ───────────── `ggplot(foobar = "nonsense")` did not generate warning ── Snapshots ─────────────────────────────────────────────────────────────────── To review and process snapshots locally: * Locate check directory. * Copy 'tests/testthat/_snaps' to local package. * Run `testthat::snapshot_accept()` to accept all changes. * Run `testthat::snapshot_review()` to review all changes. [ FAIL 1 | WARN 0 | SKIP 269 | PASS 1781 ] Deleting unused snapshots: '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', …, 'theme/vertical-legends-placed-apart.svg', and 'theme/width-is-3-times-height.svg' Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [123s] OK * checking PDF version of manual ... [40s] OK * checking HTML version of manual ... [91s] OK * DONE Status: 1 ERROR