Skip to content

Commit 3f396e1

Browse files
committed
resolve merge conflict
Merge branch 'main' into discard_zerogrob # Conflicts: # NAMESPACE # R/grob-null.R # R/utilities.R # man/stat_connect.Rd # tests/testthat/test-facet-strips.R
2 parents 674b6d0 + 7caada4 commit 3f396e1

File tree

653 files changed

+39461
-46549
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

653 files changed

+39461
-46549
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ about: Submit a bug report to help us improve ggplot2
55

66
### Tips for a helpful bug report:
77

8-
* If you have a question, please don't use this form. Instead, ask on <https://stackoverflow.com/> or <https://community.rstudio.com/>.
8+
* If you have a question, please don't use this form. Instead, ask on <https://stackoverflow.com/> or <https://forum.posit.co/>.
99

1010
* Please include a **minimal reproducible example**, a reprex, to demonstrate the bug.
1111
If you've never heard of a reprex, please read ["Make a reprex"](https://www.tidyverse.org/help/#reprex).

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
contact_links:
22
- name: Help or discussion
3-
url: https://community.rstudio.com/
4-
about: "Check out options for getting help on the RStudio Community."
3+
url: https://forum.posit.co/
4+
about: "Check out options for getting help on the Posit Community (formerly RStudio Community)."

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ about: Suggest a change or new feature in ggplot2
55

66
### Tips for a helpful feature request:
77

8-
* If you have a question, please don't use this form. Instead, ask on <https://stackoverflow.com/> or <https://community.rstudio.com/>.
8+
* If you have a question, please don't use this form. Instead, ask on <https://stackoverflow.com/> or <https://forum.posit.co/>.
99

1010
* See the [contributing guidelines](https://github.com/tidyverse/ggplot2/blob/main/CONTRIBUTING.md).
1111

.github/workflows/R-CMD-check.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,22 @@ jobs:
5858
http-user-agent: ${{ matrix.config.http-user-agent }}
5959
use-public-rspm: true
6060

61+
# TODO: remove this when R 4.6 is released
62+
- name: Tweak for old Windows (R 4.1)
63+
uses: r-lib/actions/setup-r-dependencies@v2
64+
if: ${{ matrix.config.os == 'windows-latest' && matrix.config.r == 'oldrel-4' }}
65+
with:
66+
cache-version: 3
67+
extra-packages: >
68+
any::rcmdcheck,
69+
70+
Hmisc=?ignore-before-r=4.2.0,
71+
quantreg=?ignore-before-r=4.3.0
72+
local::.
73+
needs: check
74+
6175
- uses: r-lib/actions/setup-r-dependencies@v2
76+
if: ${{ matrix.config.os != 'windows-latest' || matrix.config.r != 'oldrel-4' }}
6277
with:
6378
cache-version: 3
6479
extra-packages: >

.github/workflows/test-coverage.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,16 @@ jobs:
3535
clean = FALSE,
3636
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
3737
)
38+
print(cov)
3839
covr::to_cobertura(cov)
3940
shell: Rscript {0}
4041

41-
- uses: codecov/codecov-action@v4
42+
- uses: codecov/codecov-action@v5
4243
with:
43-
fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }}
44-
file: ./cobertura.xml
45-
plugin: noop
44+
# Fail if error if not on PR, or if on PR and token is given
45+
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
46+
files: ./cobertura.xml
47+
plugins: noop
4648
disable_search: true
4749
token: ${{ secrets.CODECOV_TOKEN }}
4850

DESCRIPTION

Lines changed: 35 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: ggplot2
22
Title: Create Elegant Data Visualisations Using the Grammar of Graphics
3-
Version: 3.5.1.9000
3+
Version: 4.0.1.9000
44
Authors@R: c(
55
person("Hadley", "Wickham", , "[email protected]", role = "aut",
66
comment = c(ORCID = "0000-0003-4757-117X")),
@@ -20,7 +20,8 @@ Authors@R: c(
2020
comment = c(ORCID = "0000-0002-9415-4582")),
2121
person("Teun", "van den Brand", role = "aut",
2222
comment = c(ORCID = "0000-0002-9335-7468")),
23-
person("Posit, PBC", role = c("cph", "fnd"))
23+
person("Posit, PBC", role = c("cph", "fnd"),
24+
comment = c(ROR = "03wc8by49"))
2425
)
2526
Description: A system for 'declaratively' creating graphics, based on "The
2627
Grammar of Graphics". You provide the data, tell 'ggplot2' how to map
@@ -30,16 +31,17 @@ License: MIT + file LICENSE
3031
URL: https://ggplot2.tidyverse.org, https://github.com/tidyverse/ggplot2
3132
BugReports: https://github.com/tidyverse/ggplot2/issues
3233
Depends:
33-
R (>= 4.0)
34-
Imports:
34+
R (>= 4.1)
35+
Imports:
3536
cli,
3637
grDevices,
3738
grid,
3839
gtable (>= 0.3.6),
3940
isoband,
4041
lifecycle (> 1.0.1),
4142
rlang (>= 1.1.0),
42-
scales (>= 1.3.0),
43+
S7,
44+
scales (>= 1.4.0),
4345
stats,
4446
vctrs (>= 0.6.0),
4547
withr (>= 2.5.0)
@@ -50,6 +52,7 @@ Suggests:
5052
ggplot2movies,
5153
hexbin,
5254
Hmisc,
55+
hms,
5356
knitr,
5457
mapproj,
5558
maps,
@@ -60,50 +63,52 @@ Suggests:
6063
nlme,
6164
profvis,
6265
quantreg,
66+
quarto,
6367
ragg (>= 1.2.6),
6468
RColorBrewer,
65-
rmarkdown,
69+
roxygen2,
6670
rpart,
6771
sf (>= 0.7-3),
6872
svglite (>= 2.1.2),
69-
testthat (>= 3.1.5),
73+
testthat (>= 3.3.0),
7074
tibble,
7175
vdiffr (>= 1.0.6),
7276
xml2
73-
Enhances:
77+
Enhances:
7478
sp
7579
VignetteBuilder:
76-
knitr
80+
quarto
7781
Config/Needs/website: ggtext, tidyr, forcats, tidyverse/tidytemplate
7882
Config/testthat/edition: 3
79-
Config/usethis/last-upkeep: 2024-10-24
83+
Config/usethis/last-upkeep: 2025-04-23
8084
Encoding: UTF-8
8185
LazyData: true
8286
Roxygen: list(markdown = TRUE)
83-
RoxygenNote: 7.3.2
84-
Collate:
85-
'ggproto.R'
87+
RoxygenNote: 7.3.3
88+
Collate:
89+
'aes-delayed-eval.R'
90+
'aes-variants.R'
8691
'ggplot-global.R'
87-
'aaa-.R'
88-
'aes-colour-fill-alpha.R'
89-
'aes-evaluation.R'
90-
'aes-group-order.R'
91-
'aes-linetype-size-shape.R'
92-
'aes-position.R'
92+
'ggproto.R'
93+
'all-classes.R'
9394
'compat-plyr.R'
9495
'utilities.R'
9596
'aes.R'
97+
'annotate.R'
98+
'annotation-borders.R'
9699
'utilities-checks.R'
97100
'legend-draw.R'
98101
'geom-.R'
99102
'annotation-custom.R'
100103
'annotation-logticks.R'
104+
'scale-type.R'
105+
'layer.R'
106+
'make-constructor.R'
101107
'geom-polygon.R'
102108
'geom-map.R'
103109
'annotation-map.R'
104110
'geom-raster.R'
105111
'annotation-raster.R'
106-
'annotation.R'
107112
'autolayer.R'
108113
'autoplot.R'
109114
'axis-secondary.R'
@@ -122,31 +127,32 @@ Collate:
122127
'coord-sf.R'
123128
'coord-transform.R'
124129
'data.R'
125-
'docs_layer.R'
130+
'docs-aes.R'
131+
'docs-layer.R'
126132
'facet-.R'
127133
'facet-grid-.R'
134+
'facet-labeller.R'
128135
'facet-null.R'
129136
'facet-wrap.R'
130137
'fortify-map.R'
131138
'fortify-models.R'
132139
'fortify-spatial.R'
133140
'fortify.R'
134141
'stat-.R'
135-
'geom-abline.R'
142+
'geom-abline-hline-vline.R'
136143
'geom-rect.R'
137144
'geom-bar.R'
138145
'geom-tile.R'
139146
'geom-bin2d.R'
140147
'geom-blank.R'
141148
'geom-boxplot.R'
142-
'geom-col.R'
143149
'geom-path.R'
144150
'geom-contour.R'
151+
'geom-point.R'
145152
'geom-count.R'
146153
'geom-crossbar.R'
147154
'geom-segment.R'
148155
'geom-curve.R'
149-
'geom-defaults.R'
150156
'geom-ribbon.R'
151157
'geom-density.R'
152158
'geom-density2d.R'
@@ -156,24 +162,24 @@ Collate:
156162
'geom-function.R'
157163
'geom-hex.R'
158164
'geom-histogram.R'
159-
'geom-hline.R'
160165
'geom-jitter.R'
161166
'geom-label.R'
162167
'geom-linerange.R'
163-
'geom-point.R'
164168
'geom-pointrange.R'
165169
'geom-quantile.R'
166170
'geom-rug.R'
167171
'geom-sf.R'
168172
'geom-smooth.R'
169173
'geom-spoke.R'
170174
'geom-text.R'
175+
'geom-update-defaults.R'
171176
'geom-violin.R'
172-
'geom-vline.R'
173177
'ggplot2-package.R'
174178
'grob-absolute.R'
175179
'grob-dotstack.R'
176180
'grouping.R'
181+
'properties.R'
182+
'margins.R'
177183
'theme-elements.R'
178184
'guide-.R'
179185
'guide-axis.R'
@@ -185,24 +191,21 @@ Collate:
185191
'guide-colorbar.R'
186192
'guide-colorsteps.R'
187193
'guide-custom.R'
188-
'layer.R'
189194
'guide-none.R'
190195
'guide-old.R'
191196
'guides-.R'
192197
'guides-grid.R'
193198
'hexbin.R'
194199
'import-standalone-obj-type.R'
195200
'import-standalone-types-check.R'
196-
'labeller.R'
197201
'labels.R'
198202
'layer-sf.R'
199203
'layout.R'
200204
'limits.R'
201-
'margins.R'
202-
'performance.R'
203205
'plot-build.R'
204206
'plot-construction.R'
205207
'plot-last.R'
208+
'plot-render.R'
206209
'plot.R'
207210
'position-.R'
208211
'position-collide.R'
@@ -235,7 +238,6 @@ Collate:
235238
'scale-shape.R'
236239
'scale-size.R'
237240
'scale-steps.R'
238-
'scale-type.R'
239241
'scale-view.R'
240242
'scale-viridis.R'
241243
'scales-.R'
@@ -279,6 +281,7 @@ Collate:
279281
'utilities-grid.R'
280282
'utilities-help.R'
281283
'utilities-patterns.R'
284+
'utilities-performance.R'
282285
'utilities-resolution.R'
283286
'utilities-tidy-eval.R'
284287
'zxx.R'

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
YEAR: 2024
1+
YEAR: 2025
22
COPYRIGHT HOLDER: ggplot2 core developer team

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
Copyright (c) 2024 ggplot2 core developer team
3+
Copyright (c) 2025 ggplot2 core developer team
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)