Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 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
d4c4a3d
Increment version number to 4.0.3.9000
thomasp85 Apr 22, 2026
0313943
Merge branch 'main' into rc/4.0.3
teunbrand Apr 22, 2026
4c03466
Merge branch 'main' into rc/4.0.3
teunbrand Apr 22, 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.2.9000
Version: 4.0.3.9000
Authors@R: c(
person("Hadley", "Wickham", , "hadley@posit.co", role = "aut",
comment = c(ORCID = "0000-0003-4757-117X")),
Expand Down
114 changes: 71 additions & 43 deletions NEWS.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion R/guide-.R
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Guide <- ggproto(

if (is.numeric(breaks)) {
range <- scale$continuous_range %||% scale$get_limits()
key <- vec_slice(key, is.finite(oob_censor_any(breaks, range)))
key <- key[is.finite(oob_censor_any(breaks, range)), , drop = FALSE]
} else {
key
}
Expand Down
6 changes: 5 additions & 1 deletion R/guide-axis-theta.R
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,11 @@ GuideAxisTheta <- ggproto(

# Resolve text angle
if (is_waiver(params$angle) || is.null(params$angle)) {
angle <- elements$text@angle
angle <- if (S7::S7_inherits(elements$text)) {
elements$text@angle
} else {
elements$text$angle
}
} else {
angle <- flip_text_angle(params$angle - rad2deg(key$theta))
}
Expand Down
2 changes: 1 addition & 1 deletion R/guide-bins.R
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ GuideBins <- ggproto(
}

key$.label <- labels
key <- vec_slice(key, !is.na(oob_censor_any(key$.value)))
key <- key[!is.na(oob_censor_any(key$.value)), , drop = FALSE]

return(key)
},
Expand Down
24 changes: 22 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
This is a patch release that resolves a built-time that might have occurred among different rlang versions.
The change is so minimal that we expect no reverse dependencies to be affected.
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

## 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 saw 2 new problems
* We failed to check 160 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

* simRestore
checking tests ... ERROR
374 changes: 192 additions & 182 deletions revdep/README.md

Large diffs are not rendered by default.

143 changes: 40 additions & 103 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -1,141 +1,52 @@
## revdepcheck results

We checked 6069 reverse dependencies (6057 from CRAN + 12 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.
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 saw 32 new problems
* We failed to check 132 packages
* We saw 2 new problems
* We failed to check 160 packages

Issues with CRAN packages are summarised below.

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

* bfw
checking Rd cross-references ... WARNING

* crayons
checking Rd cross-references ... WARNING

* cycleTrendR
checking tests ... ERROR

* flexoki
checking Rd cross-references ... WARNING

* geomtextpath
checking tests ... ERROR

* ggalluvial
checking Rd cross-references ... WARNING

* GGally
checking tests ... ERROR

* ggarchery
checking Rd cross-references ... WARNING

* ggdibbler
checking for code/documentation mismatches ... WARNING

* ggdist
checking Rd cross-references ... WARNING

* ggfields
checking Rd cross-references ... WARNING

* ggformula
checking examples ... ERROR

* ggfortify
* simRestore
checking tests ... ERROR

* gggda
checking Rd cross-references ... WARNING

* gghexsize
checking Rd cross-references ... WARNING

* ggiraph
checking examples ... ERROR

* ggpattern
checking Rd cross-references ... WARNING

* ggpmisc
checking Rd cross-references ... WARNING

* ggpp
checking Rd cross-references ... WARNING

* ggraph
checking examples ... ERROR
checking re-building of vignette outputs ... ERROR

* ggsankeyfier
checking Rd cross-references ... WARNING

* ggspectra
checking Rd cross-references ... WARNING

* ggtricks
checking Rd cross-references ... WARNING

* ggvfields
checking Rd cross-references ... WARNING

* NHSRplotthedots
checking tests ... ERROR

* NMF
checking installed package size ... NOTE

* ordr
checking Rd cross-references ... WARNING

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

* simaerep
checking tests ... ERROR

* statgenGxE
checking tests ... ERROR

* unusualprofile
checking tests ... ERROR

* wacolors
checking Rd cross-references ... WARNING

### Failed to check

* apsimx (NA)
* asremlPlus (NA)
* aridagri (NA)
* autovi (NA)
* AVGAS (NA)
* bayesdfa (NA)
* BGGM (NA)
* BGmisc (NA)
* bmm (NA)
* boinet (NA)
* brms (NA)
* BSL (NA)
* bullseye (NA)
* cases (NA)
* cassowaryr (NA)
* cdcatR (NA)
* cdmTools (NA)
* cheem (NA)
* ChillModels (NA)
* chouca (NA)
* cinaR (NA)
* ClustAssess (NA)
* ClusterGVis (NA)
* clusterMI (NA)
* coFAST (NA)
* ClustImpute (NA)
* CompAREdesign (NA)
* copulaSim (NA)
* correlation (NA)
* ctsem (NA)
* cylcop (NA)
* daltoolbox (NA)
* decisionSupport (NA)
* deepSTRAPP (NA)
* DFD (NA)
Expand All @@ -146,49 +57,59 @@ Issues with CRAN packages are summarised below.
* eda4treeR (NA)
* EFDR (NA)
* EGAnet (NA)
* eks (NA)
* ER (NA)
* FAfA (NA)
* fastei (NA)
* fastqrs (NA)
* FCPS (NA)
* fddm (NA)
* FeatureImpCluster (NA)
* ferrn (NA)
* ffp (NA)
* fio (NA)
* gasmodel (NA)
* GDINA (NA)
* gemR (NA)
* genekitr (NA)
* GeneralizedUmatrixGPU (NA)
* ggChernoff (NA)
* ggpicrust2 (NA)
* ggsem (NA)
* GJRM (NA)
* grandR (NA)
* gratia (NA)
* GRIDCOPULA (NA)
* harbinger (NA)
* hbsaems (NA)
* heimdall (NA)
* IndGenErrors (NA)
* ivolcano (NA)
* jmv (NA)
* latentFactoR (NA)
* lcsm (NA)
* lemon (NA)
* linkspotter (NA)
* lionfish (NA)
* LMMstar (NA)
* LongDecompHE (NA)
* manymome (NA)
* MD2sample (NA)
* MDgof (NA)
* measureR (NA)
* metrica (NA)
* mgc (NA)
* micemd (NA)
* MiscMetabar (NA)
* MixedIndTests (NA)
* MixMashNet (NA)
* modelbased (NA)
* ModStatR (NA)
* morepls (NA)
* mulgar (NA)
* multinma (NA)
* MVN (NA)
* neatStats (NA)
* negligible (NA)
* numbat (NA)
* OlinkAnalyze (NA)
* OpenMx (NA)
* opGMMassessment (NA)
* outstandR (NA)
* pandemonium (NA)
* parameters (NA)
Expand All @@ -197,9 +118,12 @@ Issues with CRAN packages are summarised below.
* phylosem (NA)
* polarisR (NA)
* predictionInterval (NA)
* prefviz (NA)
* projectLSA (NA)
* psychonetrics (NA)
* pvars (NA)
* qad (NA)
* qmd (NA)
* QuadratiK (NA)
* quollr (NA)
* rattle (NA)
Expand All @@ -208,6 +132,7 @@ Issues with CRAN packages are summarised below.
* Revticulate (NA)
* RGENERATEPREC (NA)
* ridgetorus (NA)
* rmedsem (NA)
* RMOPI (NA)
* rmsb (NA)
* rSDR (NA)
Expand All @@ -218,26 +143,38 @@ Issues with CRAN packages are summarised below.
* SCpubr (NA)
* semtree (NA)
* Signac (NA)
* simcausal (NA)
* SimDesign (NA)
* spareg (NA)
* spinebil (NA)
* spinifex (NA)
* Spower (NA)
* sprtt (NA)
* SRscore (NA)
* STCCGEV (NA)
* STCYP (NA)
* streamDAG (NA)
* SurprisalAnalysis (NA)
* Surrogate (NA)
* svars (NA)
* TCIU (NA)
* TDAkit (NA)
* TELP (NA)
* tepr (NA)
* TestAnaAPP (NA)
* tidybins (NA)
* tidycomm (NA)
* tidylearn (NA)
* tidySEM (NA)
* tinyarray (NA)
* tourr (NA)
* TransProR (NA)
* TriDimRegression (NA)
* ufs (NA)
* VecDep (NA)
* WINS (NA)
* wmwAUC (NA)
* woylier (NA)
* WQM (NA)
* XYomics (NA)
* zenplots (NA)
Loading
Loading