Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
ce1554f
polish news
teunbrand Nov 11, 2025
139c510
reorder a few bullets in news
teunbrand Nov 11, 2025
d7be1d1
prep for release
thomasp85 Nov 11, 2025
4387ed7
don't bother subsetting labels (#6745)
teunbrand Nov 12, 2025
826de7c
Increment version number to 4.0.1
thomasp85 Nov 11, 2025
143c036
explicitly wrap `list2` (#6797)
teunbrand Feb 2, 2026
a99d39e
polish news
teunbrand Feb 2, 2026
b82cf67
retroactively note `base_size` change (#6795)
teunbrand Feb 2, 2026
d90f635
update cran-comments.md
teunbrand Feb 2, 2026
1f275eb
Increment version number to 4.0.2
thomasp85 Feb 2, 2026
a046159
Fix snapshot test for `warn_dots_used()`
lionel- Apr 1, 2026
c7d9dd5
Update Kapa.ai settings to be more privacy friendly (#6823)
juliasilge Mar 29, 2026
2390be0
Fix logical error and typo in FAQ Customising vignette (#6809)
ashishtiwari03 Feb 20, 2026
7f2ef19
add stats:: in front of stats functions that were not explicitly impo…
klin333 Feb 4, 2026
754c2af
do not use `vec_slice()` for the key before computing hash
teunbrand Apr 13, 2026
459ebd3
anticipate S3 text element (#6848)
teunbrand Apr 14, 2026
8072e06
Replace `stats::ave()` (#6698)
teunbrand Dec 3, 2025
480f388
polish news
teunbrand Apr 14, 2026
8671d5d
Allow choosing quantile definition in boxplots (#6820)
munoztd0 Mar 18, 2026
be5ee51
Extra words for news
teunbrand Apr 14, 2026
6a8ad60
update cran comments
teunbrand Apr 14, 2026
1c16212
revdepcheck
thomasp85 Apr 15, 2026
73ab1f1
update comments with revdepcheck
thomasp85 Apr 21, 2026
cc1444c
Increment version number to 4.0.3
thomasp85 Apr 21, 2026
f81d73e
`as.list()` methods for S7 classes (#6699)
teunbrand Dec 4, 2025
6a09c6c
Return bare lists from S7 list conversion (#6916)
t-kalinowski Oct 20, 2026
d4c9f41
Snapshot upkeep (#6893)
teunbrand Sep 2, 2026
4762227
Preserve operand expressions and update S7 package hooks (#6914)
t-kalinowski Oct 20, 2026
346c83d
Declare compatibility names in the S7 class hierarchy (#6915)
t-kalinowski Oct 20, 2026
9340478
Fix NOTE on CRAN in R-devel
teunbrand Oct 21, 2026
167eff9
Replace variant snapshot with transformed snapshot
teunbrand Oct 21, 2026
028cc3b
polish news
teunbrand Oct 21, 2026
fbef498
update revdep and cran comment
teunbrand Nov 6, 2026
fefcbcf
Increment version number to 4.0.4
thomasp85 Nov 10, 2026
676b223
Fix doc warnings
thomasp85 Nov 11, 2026
98cf6ac
Increment version number to 4.0.4.9000
teunbrand Nov 16, 2026
151438b
Merge branch 'main' into rc/4.0.4
teunbrand Nov 16, 2026
3d4710a
git surgery
teunbrand Nov 16, 2026
7514a2c
accept new snap
teunbrand Nov 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ggplot2
Title: Create Elegant Data Visualisations Using the Grammar of Graphics
Version: 4.0.3.9000
Version: 4.0.4.9000
Authors@R: c(
person("Hadley", "Wickham", , "hadley@posit.co", role = "aut",
comment = c(ORCID = "0000-0003-4757-117X")),
Expand Down
28 changes: 9 additions & 19 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@
* New `stat_chain()` to combine multiple stat computations. It comes with a
`link_stat()` helper to feed parameters and mappings (@teunbrand, #6325).

# ggplot2 4.0.4

This is a hotfix release anticipating the upcoming changes in the S7 package.

* Updates for compatibility with S7 > 0.2.2 (#6914).
* S7 subclasses now inherit legacy 'compatibility names' in their
class definitions (#6915).
* Fixed NOTE on CRAN in R-devel.

# ggplot2 4.0.3

This is a hotfix release fixing a test, a bug and introducing a feature.
Expand All @@ -83,15 +92,11 @@ This hotfix release makes ggplot2 more interoperable between rlang versions.

# ggplot2 4.0.1

This is a smaller patch release focussed on fixing regressions from 4.0.0 and
# ggplot2 4.0.1

Comment on lines -86 to -88

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also took care to unmangle some previously mangled news sections, mostly duplications

This is a smaller patch release focussed on fixing regressions from 4.0.0 and
polishing the recent features.

## Bug fixes

* Fixed regression where `geom_area()` didn't draw panels with single groups
* Fixed regression where `geom_area()` didn't draw panels with single groups
when `stat = "align"` (@teunbrand, #6680)
* Fixed regression where `position_stack(vjust)` was ignored when there are
Expand All @@ -104,7 +109,6 @@ polishing the recent features.
(@mitchelloharawild, #6609).
* Fixed regression where `scale_{x,y}_*()` threw an error when an expression
object is set to `labels` argument (@yutannihilation, #6617).
* Fixed regression where the first (unnamed) argument to colour/fill scales was
* Fixed regression where the first (unnamed) argument to colour/fill scales was
not passed as the `name` argument (@teunbrand, #6623)
* Fixed issue where vectorised `arrow()`s caused errors in drawing the
Expand All @@ -129,20 +133,6 @@ polishing the recent features.
* Out-of-bounds datapoints used as padding by `stat_align()` now get removed
silently rather than verbosely (@teunbrand, #6667)

## Improvements

* Improved palette fallback mechanism in scales (@teunbrand, #6669).
* Allow `stat` in `geom_hline`, `geom_vline`, and `geom_abline`. (@sierrajohnson, #6559)
* `stat_boxplot()` treats `width` as an optional aesthetic (@Yunuuuu, #6575)
* The `theme(panel.widths, panel.heights)` setting attempts to preserve the
plot's aspect ratio when only one of the two settings is given, and the plot
has a single panel (@teunbrand, #6701).
* Logical values for the linetype aesthetic will be interpreted numerically,
so that `linetype = FALSE` becomes 0/'blank' and `linetype = TRUE` becomes
1/'solid' (@teunbrand, #6641)
* Out-of-bounds datapoints used as padding by `stat_align()` now get removed
silently rather than verbosely (@teunbrand, #6667)

# ggplot2 4.0.0

## User facing
Expand Down
11 changes: 7 additions & 4 deletions R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,13 @@ is.ggplot <- function(x) {
#' to call `print()` explicitly if you want to draw a plot inside a
#' function or for loop.
#'
#' @param x plot to display
#' @param newpage draw new (empty) page first?
#' @param vp viewport to draw plot in
#' @param ... other arguments not used by this method
#' @section Arguments:
#' \describe{
#' \item{x}{plot to display}
#' \item{newpage}{draw new (empty) page first?}
#' \item{vp}{viewport to draw plot in}
#' \item{...}{other arguments not used by this method}
#' }
#' @keywords hplot
#' @return Invisibly returns the original plot.
#' @name print.ggplot
Expand Down
37 changes: 27 additions & 10 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,39 @@
This is a patch release that resolves a failing test and supports some minimal
bug fixes and a small uninvasive feature. We detected a single failure
(ggdibbler) where a package needs to redocument. They have been notified. A
second failure (simRestore) seems unrelated to ggplot2
This is a patch release that provides compatibility with an anticipated S7 release.
We found 8 package with reverse dependency issues, out of which 5 are seemingly unrelated to our changes but 3 are related.
We've sent out pull requests to the affected 3 packages (constructive, NHSRplotthedots, xpose.extras).

## revdepcheck results

We checked 6300 reverse dependencies (6276 from CRAN + 24 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.
We checked 7188 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 2 new problems
* We failed to check 160 packages
* We saw 8 new problems
* We failed to check 16 packages

Issues with CRAN packages are summarised below.

### New problems
(This reports the first line of each new failure)

* ggdibbler
checking for code/documentation mismatches ... WARNING
* constructive
checking tests ... ERROR

* irelink
checking tests ... ERROR

* simRestore
* NHSRplotthedots
checking tests ... ERROR

* nycOpenData
checking re-building of vignette outputs ... ERROR

* PGRdup
checking re-building of vignette outputs ... ERROR

* PSAboot
checking re-building of vignette outputs ... ERROR

* wjake
checking examples ... ERROR

* xpose.xtras
checking tests ... ERROR
19 changes: 10 additions & 9 deletions man/print.ggplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

222 changes: 30 additions & 192 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,198 +1,36 @@
# Revdeps

## Failed to check (184)
## Failed to check (16)

|package |version |error |warning |note |
|:---------------------|:--------|:-----|:-------|:----|
|apsimx |? | | | |
|aridagri |? | | | |
|autovi |? | | | |
|AVGAS |? | | | |
|bayesdfa |1.3.4 |1 | | |
|BayesVolcano |? | | | |
|benthos |? | | | |
|BGGM |? | | | |
|BGmisc |? | | | |
|bmm |? | | | |
|boinet |? | | | |
|brms |? | | | |
|BSL |? | | | |
|bullseye |? | | | |
|cases |? | | | |
|cassowaryr |? | | | |
|cdcatR |? | | | |
|cheem |? | | | |
|ChillModels |? | | | |
|chouca |? | | | |
|cinaR |? | | | |
|ClustAssess |? | | | |
|ClusterGVis |? | | | |
|clusterMI |? | | | |
|ClustImpute |? | | | |
|colleyRstats |? | | | |
|CompAREdesign |? | | | |
|copulaSim |? | | | |
|correlation |? | | | |
|cry |? | | | |
|ctsem |3.10.6 |1 | |1 |
|cylcop |? | | | |
|daltoolbox |? | | | |
|dbrobust |? | | | |
|decisionSupport |? | | | |
|deepSTRAPP |? | | | |
|degradr |? | | | |
|DFD |? | | | |
|dimRed |? | | | |
|dMrs |? | | | |
|DstarM |? | | | |
|dymo |? | | | |
|easybgm |? | | | |
|ecorisk |? | | | |
|eda4treeR |1.1.0 |1 | | |
|EFDR |? | | | |
|EGAnet |? | | | |
|ER |? | | | |
|FAfA |? | | | |
|fastei |0.0.0.12 |1 | | |
|fastqrs |? | | | |
|FCPS |? | | | |
|fddm |? | | | |
|FeatureImpCluster |? | | | |
|ferrn |? | | | |
|ffp |? | | | |
|fio |1.0.0 |1 | | |
|gasmodel |? | | | |
|GDINA |? | | | |
|gemR |? | | | |
|genekitr |? | | | |
|GeneralizedUmatrixGPU |0.1.14 |1 | | |
|ggpicrust2 |? | | | |
|ggrefine |? | | | |
|ggsem |? | | | |
|GJRM |? | | | |
|gMOIP |? | | | |
|grandR |? | | | |
|gratia |? | | | |
|GRIDCOPULA |1.1.0 |1 | | |
|harbinger |? | | | |
|hbsaems |? | | | |
|heimdall |? | | | |
|hpa |? | | | |
|IndGenErrors |? | | | |
|ivolcano |? | | | |
|jmv |? | | | |
|latentFactoR |? | | | |
|lcsm |? | | | |
|linkspotter |? | | | |
|lionfish |? | | | |
|LMMstar |? | | | |
|LongDecompHE |? | | | |
|manymome |? | | | |
|MBAnalysis |? | | | |
|MD2sample |? | | | |
|MDgof |? | | | |
|measureR |? | | | |
|metrica |? | | | |
|mgc |? | | | |
|micemd |? | | | |
|MiscMetabar |? | | | |
|MixedIndTests |? | | | |
|MixMashNet |? | | | |
|modelbased |? | | | |
|ModStatR |? | | | |
|morepls |? | | | |
|mulgar |? | | | |
|MultANOVA |? | | | |
|multinma |? | | | |
|MultiResponseR |? | | | |
|MVN |? | | | |
|negligible |? | | | |
|numbat |? | | | |
|OlinkAnalyze |? | | | |
|OpenMx |2.22.11 |1 | | |
|ordPanel |? | | | |
|outstandR |? | | | |
|pandemonium |? | | | |
|parameters |? | | | |
|paths |? | | | |
|pctax |? | | | |
|pcutils |? | | | |
|phylosem |? | | | |
|plot3logit |? | | | |
|polarisR |? | | | |
|predictionInterval |? | | | |
|prefviz |? | | | |
|projectLSA |? | | | |
|psychonetrics |? | | | |
|pubh |? | | | |
|pvars |? | | | |
|qad |? | | | |
|qmd |? | | | |
|QuadratiK |? | | | |
|quollr |? | | | |
|rattle |? | | | |
|RCTrep |? | | | |
|ReporterScore |? | | | |
|Revticulate |? | | | |
|RGENERATEPREC |? | | | |
|ridgetorus |? | | | |
|rmedsem |? | | | |
|RMOPI |? | | | |
|rmsb |1.1-2 |1 | | |
|rSDR |? | | | |
|rshift |3.1.2 |1 | | |
|RSP |? | | | |
|rstanarm |2.32.2 |1 | | |
|RulesTools |? | | | |
|SCpubr |? | | | |
|semtree |? | | | |
|Signac |? | | | |
|simcausal |? | | | |
|SimDesign |? | | | |
|spareg |? | | | |
|sparsevar |? | | | |
|spinebil |? | | | |
|spinifex |? | | | |
|Spower |? | | | |
|sprtt |? | | | |
|SRscore |? | | | |
|SSVS |? | | | |
|StatTeacherAssistant |? | | | |
|STCCGEV |? | | | |
|STCYP |? | | | |
|stelfi |? | | | |
|streamDAG |? | | | |
|SurprisalAnalysis |? | | | |
|Surrogate |? | | | |
|svars |? | | | |
|TCIU |1.2.8 |1 | | |
|TDAkit |? | | | |
|TELP |? | | | |
|tepr |? | | | |
|TestAnaAPP |? | | | |
|tidybins |? | | | |
|tidycomm |? | | | |
|tidylearn |? | | | |
|tidySEM |? | | | |
|tinyarray |? | | | |
|tourr |? | | | |
|TransProR |? | | | |
|TriDimRegression |1.0.3 |1 | | |
|ufs |? | | | |
|VecDep |? | | | |
|VizModules |? | | | |
|WINS |? | | | |
|wmwAUC |? | | | |
|woylier |? | | | |
|WQM |? | | | |
|xxdi |? | | | |
|XYomics |? | | | |
|zenplots |? | | | |
|package |version |error |warning |note |
|:---------------------|:-------|:-----|:-------|:----|
|b3gbi |? | | | |
|bayesdfa |1.3.4 |1 | | |
|ctsem |3.11.1 |1 | | |
|deepSTRAPP |? | | | |
|GeneralizedUmatrixGPU |0.1.14 |1 | | |
|multinma |0.9.1 |1 | | |
|NMF |? | | | |
|rmsb |1.1-3 |1 | | |
|scoper |1.6.0 |1 | | |
|shazam |1.4.0 |1 | | |
|ss3sim |1.0.3 |1 | | |
|streamDAG |? | | | |
|tigger |1.2.0 |1 | | |
|TriDimRegression |1.0.3 |1 | | |
|valr |0.10.0 |1 | | |
|zenplots |1.0.7 |1 | | |

## New problems (2)
## New problems (8)

|package |version |error |warning |note |
|:----------|:-------|:------|:-------|:----|
|[ggdibbler](problems.md#ggdibbler)|0.6.1 | |__+1__ |2 |
|[simRestore](problems.md#simrestore)|1.1.5 |__+1__ | | |
|package |version |error |warning |note |
|:---------------|:-------|:------|:-------|:----|
|[constructive](problems.md#constructive)|1.4.0 |__+1__ | | |
|[irelink](problems.md#irelink)|0.0.1 |__+1__ | | |
|[NHSRplotthedots](problems.md#nhsrplotthedots)|0.2.2 |__+1__ | | |
|[nycOpenData](problems.md#nycopendata)|0.2.3 |__+1__ | | |
|[PGRdup](problems.md#pgrdup)|0.3.0 |__+1__ |-1 | |
|[PSAboot](problems.md#psaboot)|1.3.9 |__+1__ | | |
|[wjake](problems.md#wjake)|1.0.1 |__+1__ | | |
|[xpose.xtras](problems.md#xposextras)|0.2.2 |__+1__ | | |

Loading
Loading