Skip to content

Commit b53b385

Browse files
authored
Merge pull request #5171 from tidyverse/v3.4.1-rc
Release ggplot2 3.4.1
2 parents 37d9e8c + 5b58c7c commit b53b385

File tree

13 files changed

+3008
-3518
lines changed

13 files changed

+3008
-3518
lines changed

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Package: ggplot2
2-
Version: 3.4.0.9000
2+
Version: 3.4.1.9000
33
Title: Create Elegant Data Visualisations Using the Grammar of Graphics
44
Authors@R: c(
5-
person("Hadley", "Wickham", , "hadley@rstudio.com", role = "aut",
5+
person("Hadley", "Wickham", , "hadley@posit.co", role = "aut",
66
comment = c(ORCID = "0000-0003-4757-117X")),
77
person("Winston", "Chang", role = "aut",
88
comment = c(ORCID = "0000-0002-1576-2126")),
99
person("Lionel", "Henry", role = "aut"),
10-
person("Thomas Lin", "Pedersen", , "thomas.pedersen@rstudio.com", role = c("aut", "cre"),
10+
person("Thomas Lin", "Pedersen", , "thomas.pedersen@posit.co", role = c("aut", "cre"),
1111
comment = c(ORCID = "0000-0002-5147-4711")),
1212
person("Kohske", "Takahashi", role = "aut"),
1313
person("Claus", "Wilke", role = "aut",

NEWS.md

Lines changed: 42 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,57 @@
66
packages (@teunbrand, #4701).
77
* `geom_text()` drops observations where `angle = NA` instead of throwing an
88
error (@teunbrand, #2757).
9+
* `update_geom_defaults()` and `update_stat_defaults()` now return properly
10+
classed objects and have updated docs (@dkahle, #5146)
11+
12+
# ggplot2 3.4.1
13+
This is a small release focusing on fixing regressions in the 3.4.0 release
14+
and minor polishes.
15+
16+
## Breaking changes
17+
18+
* The computed variable `y` in `stat_ecdf()` has been superseded by `ecdf` to
19+
prevent incorrect scale transformations (@teunbrand, #5113 and #5112).
20+
21+
## New features
22+
23+
* Added `scale_linewidth_manual()` and `scale_linewidth_identity()` to support
24+
the `linewidth` aesthetic (@teunbrand, #5050).
25+
26+
* `ggsave()` warns when multiple `filename`s are given, and only writes to the
27+
first file (@teunbrand, #5114).
28+
29+
## Bug fixes
30+
31+
* Fixed a regression in `geom_hex()` where aesthetics were replicated across
32+
bins (@thomasp85, #5037 and #5044).
33+
934
* Using two ordered factors as facetting variables in
1035
`facet_grid(..., as.table = FALSE)` now throws a warning instead of an
1136
error (@teunbrand, #5109).
12-
* Added `scale_linewidth_manual()` and `scale_linewidth_identity()` to support
13-
the `linewidth` aesthetic (@teunbrand, #5050).
14-
* Automatic breaks in `scale_*_binned()` should no longer be out-of-bounds,
15-
and automatic limits expand to include these (@teunbrand, #5095, #5100).
16-
* Renamed computed aesthetic in `stat_ecdf()` to `ecdf`, to prevent incorrect
17-
scale transformations (@teunbrand, #5113 and #5112).
37+
1838
* Fixed misbehaviour of `draw_key_boxplot()` and `draw_key_crossbar()` with
1939
skewed key aspect ratio (@teunbrand, #5082).
20-
* `scale_*_binned()` handles zero-range limits more gracefully (@teunbrand,
21-
#5066)
22-
* Binned scales are now compatible with `trans = "date"` and `trans = "time"`
23-
(@teunbrand, #4217).
24-
* `ggsave()` warns when multiple `filename`s are given, and only writes to the
25-
first file (@teunbrand, #5114)
26-
* Fixed a regression in `geom_hex()` where aesthetics were replicated across
27-
bins (@thomasp85, #5037 and #5044)
40+
2841
* Fixed spurious warning when `weight` aesthetic was used in `stat_smooth()`
2942
(@teunbrand based on @clauswilke's suggestion, #5053).
30-
* The `lwd` alias now correctly replaced by `linewidth` instead of `size`
43+
44+
* The `lwd` alias is now correctly replaced by `linewidth` instead of `size`
3145
(@teunbrand based on @clauswilke's suggestion #5051).
46+
3247
* Fixed a regression in `Coord$train_panel_guides()` where names of guides were
33-
dropped (@maxsutton, #5063)
34-
* `update_geom_defaults()` and `update_stat_defaults()` now return properly
35-
classed objects and have updated docs (@dkahle, #5146)
48+
dropped (@maxsutton, #5063).
49+
50+
In binned scales:
51+
52+
* Automatic breaks should no longer be out-of-bounds, and automatic limits are
53+
adjusted to include breaks (@teunbrand, #5082).
54+
55+
* Zero-range limits no longer throw an error and are treated akin to continuous
56+
scales with zero-range limits (@teunbrand, #5066).
57+
58+
* The `trans = "date"` and `trans = "time"` transformations were made compatible
59+
(@teunbrand, #4217).
3660

3761
# ggplot2 3.4.0
3862
This is a minor release focusing on tightening up the internals and ironing out

R/stat-ecdf.r

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
#' @param pad If `TRUE`, pad the ecdf with additional points (-Inf, 0)
2222
#' and (Inf, 1)
2323
#' @eval rd_computed_vars(
24-
#' ecdf = "Cumulative density corresponding to `x`."
24+
#' ecdf = "Cumulative density corresponding to `x`.",
25+
#' y = "`r lifecycle::badge('superseded')` For backward compatibility."
2526
#' )
2627
#' @export
2728
#' @examples
@@ -103,6 +104,7 @@ StatEcdf <- ggproto("StatEcdf", Stat,
103104

104105
df_ecdf <- data_frame0(
105106
x = x,
107+
y = data_ecdf,
106108
ecdf = data_ecdf,
107109
.size = length(x)
108110
)

R/stat-ellipse.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#' @references John Fox and Sanford Weisberg (2011). An \R Companion to
77
#' Applied Regression, Second Edition. Thousand Oaks CA: Sage. URL:
88
#' \url{https://socialsciences.mcmaster.ca/jfox/Books/Companion/}
9-
#' @refereces Michael Friendly. Georges Monette. John Fox. "Elliptical Insights: Understanding Statistical Methods through Elliptical Geometry."
9+
#' @references Michael Friendly. Georges Monette. John Fox. "Elliptical Insights: Understanding Statistical Methods through Elliptical Geometry."
1010
#' Statist. Sci. 28 (1) 1 - 39, February 2013. URL: \url{https://projecteuclid.org/journals/statistical-science/volume-28/issue-1/Elliptical-Insights-Understanding-Statistical-Methods-through-Elliptical-Geometry/10.1214/12-STS402.full}
1111
#'
1212
#' @param level The level at which to draw an ellipse,

cran-comments.md

Lines changed: 52 additions & 176 deletions
Original file line numberDiff line numberDiff line change
@@ -1,194 +1,70 @@
1-
This is a minor release focusing on internal changes.
2-
3-
We have tested reverse dependencies and contacted failing packages 4 weeks ago,
4-
notifying them of the failure and where in their code they need to look.
5-
6-
At the time of submission 44 packages are still failing.
1+
This is a patch release fixing a couple of regressions in the last release. We
2+
see two failing revdeps at the time of submission. Both have been notified 16
3+
days ago.
74

85
## revdepcheck results
96

10-
We checked 4238 reverse dependencies (4224 from CRAN + 14 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.
7+
We checked 4375 reverse dependencies (4350 from CRAN + 25 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.
118

12-
* We saw 46 new problems
13-
* We failed to check 22 packages
9+
* We saw 2 new problems
10+
* We failed to check 46 packages
1411

1512
Issues with CRAN packages are summarised below.
1613

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

20-
* afex
21-
checking re-building of vignette outputs ... WARNING
22-
23-
* antaresViz
24-
checking tests ... ERROR
25-
26-
* bayesplot
27-
checking tests ... ERROR
28-
29-
* bigsnpr
30-
checking tests ... ERROR
31-
32-
* chronochrt
33-
checking examples ... ERROR
34-
checking tests ... ERROR
35-
checking re-building of vignette outputs ... WARNING
36-
37-
* coveffectsplot
38-
checking re-building of vignette outputs ... WARNING
39-
40-
* dataquieR
41-
checking tests ... ERROR
42-
43-
* deeptime
44-
checking dependencies in R code ... WARNING
45-
46-
* docxtools
47-
checking tests ... ERROR
48-
49-
* DriveML
50-
checking re-building of vignette outputs ... WARNING
51-
52-
* evaluate
53-
checking tests ... ERROR
54-
55-
* fdistr
56-
checking tests ... ERROR
57-
58-
* ggbeeswarm
59-
checking examples ... ERROR
60-
61-
* ggconf
62-
checking examples ... ERROR
63-
checking tests ... ERROR
64-
65-
* ggdag
66-
checking examples ... ERROR
67-
checking tests ... ERROR
68-
checking dependencies in R code ... WARNING
69-
checking re-building of vignette outputs ... WARNING
70-
71-
* ggetho
72-
checking dependencies in R code ... WARNING
73-
74-
* ggfun
75-
checking dependencies in R code ... WARNING
76-
77-
* gghalves
78-
checking examples ... ERROR
79-
checking re-building of vignette outputs ... WARNING
80-
81-
* ggip
82-
checking tests ... ERROR
83-
84-
* ggiraph
85-
checking examples ... ERROR
86-
checking tests ... ERROR
87-
88-
* ggiraphExtra
89-
checking examples ... ERROR
90-
checking re-building of vignette outputs ... WARNING
91-
92-
* gglgbtq
93-
checking dependencies in R code ... WARNING
94-
95-
* ggmap
96-
checking dependencies in R code ... WARNING
97-
98-
* ggmulti
99-
checking examples ... ERROR
100-
checking dependencies in R code ... WARNING
101-
102-
* ggpubr
103-
checking examples ... ERROR
104-
105-
* ggstance
106-
checking dependencies in R code ... WARNING
107-
108-
* ggstar
109-
checking dependencies in R code ... WARNING
110-
111-
* iheiddown
112-
checking tests ... ERROR
113-
114-
* inTextSummaryTable
115-
checking tests ... ERROR
116-
117-
* jjAnno
118-
checking examples ... ERROR
119-
120-
* lemon
121-
checking examples ... ERROR
122-
checking tests ... ERROR
123-
checking re-building of vignette outputs ... WARNING
124-
125-
* lingtypology
126-
checking examples ... ERROR
127-
12817
* listdown
12918
checking tests ... ERROR
13019

131-
* openalexR
132-
checking re-building of vignette outputs ... WARNING
133-
134-
* pathviewr
135-
checking tests ... ERROR
136-
137-
* plotly
138-
checking tests ... ERROR
139-
140-
* plotmm
141-
checking examples ... ERROR
142-
143-
* qqboxplot
144-
checking examples ... ERROR
145-
checking re-building of vignette outputs ... WARNING
146-
147-
* RJafroc
148-
checking tests ... ERROR
149-
150-
* robustlmm
151-
checking running R code from vignettes ... WARNING
152-
153-
* scdhlm
154-
checking tests ... ERROR
155-
156-
* schtools
157-
checking tests ... ERROR
158-
159-
* tcpl
160-
checking re-building of vignette outputs ... WARNING
161-
162-
* tvthemes
163-
checking tests ... ERROR
164-
165-
* usmap
166-
checking tests ... ERROR
167-
16820
* xpose
16921
checking tests ... ERROR
17022

17123
### Failed to check
17224

173-
* CausalImpact (NA)
174-
* ctsem (NA)
175-
* expss (NA)
176-
* ggPMX (NA)
177-
* ggprism (NA)
178-
* ggshadow (NA)
179-
* ggtern (NA)
180-
* loon.ggplot (NA)
181-
* nlmixr2 (NA)
182-
* nlmixr2extra (NA)
183-
* nlmixr2plot (NA)
184-
* OpenMx (NA)
185-
* Platypus (NA)
186-
* RcppCensSpatial (NA)
187-
* rPBK (NA)
188-
* simpr (NA)
189-
* Sofi (NA)
190-
* SSVS (NA)
191-
* tidySEM (NA)
192-
* valse (NA)
193-
* vivid (NA)
194-
* xpose.nlmixr2 (NA)
25+
* AFM (NA)
26+
* AssetCorr (NA)
27+
* bayesnec (NA)
28+
* bayesrules (NA)
29+
* cinaR (NA)
30+
* eefAnalytics (NA)
31+
* escalation (NA)
32+
* ESTER (NA)
33+
* genekitr (NA)
34+
* ggPMX (NA)
35+
* grandR (NA)
36+
* hmmTMB (NA)
37+
* immcp (NA)
38+
* INSPECTumours (NA)
39+
* IRexamples (NA)
40+
* loon.ggplot (NA)
41+
* MarketMatching (NA)
42+
* MARVEL (NA)
43+
* multilevelcoda (NA)
44+
* nestedcv (NA)
45+
* nlmixr2 (NA)
46+
* nlmixr2extra (NA)
47+
* nlmixr2plot (NA)
48+
* nlmixr2rpt (NA)
49+
* numbat (NA)
50+
* OlinkAnalyze (NA)
51+
* OpenMx (NA)
52+
* ordbetareg (NA)
53+
* PFIM (NA)
54+
* PlasmaMutationDetector2 (NA)
55+
* Platypus (NA)
56+
* RcppCensSpatial (NA)
57+
* rdddr (NA)
58+
* rdss (NA)
59+
* rstan (NA)
60+
* RVA (NA)
61+
* SCpubr (NA)
62+
* tidyposterior (NA)
63+
* tidySEM (NA)
64+
* tinyarray (NA)
65+
* TVMM (NA)
66+
* valse (NA)
67+
* vivid (NA)
68+
* wearables (NA)
69+
* webSDM (NA)
70+
* xpose.nlmixr2 (NA)

inst/CITATION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
citHeader("To cite ggplot2 in publications, please use:")
2-
3-
citEntry(entry = "book",
1+
bibentry(
2+
bibtype = "Book",
3+
textVersion = "H. Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York, 2016.",
4+
header = "To cite ggplot2 in publications, please use",
45
author = "Hadley Wickham",
56
title = "ggplot2: Elegant Graphics for Data Analysis",
67
publisher = "Springer-Verlag New York",
78
year = "2016",
89
isbn = "978-3-319-24277-4",
910
url = "https://ggplot2.tidyverse.org",
10-
textVersion = "H. Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York, 2016."
1111
)

man/stat_ecdf.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)