Skip to content

Resolve merge conflict with RC branch #6415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 265 commits into from
Apr 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
265 commits
Select commit Hold shift + click to select a range
8fa0fb4
More sorting options for `facet_wrap()` (#5855)
teunbrand Apr 29, 2024
8e63882
Refactor applying defaults in `geom_sf()` (#5834)
teunbrand Apr 29, 2024
4bbb15e
Ignore installation error of quantreg on R <4.3 (#5889)
yutannihilation May 11, 2024
54cbb98
Stop CI on R 3.6 (#5888)
yutannihilation May 11, 2024
9af5d81
Update forum URL (#5876)
randyzwitch May 15, 2024
7f6ca67
Discrete secondary axes (#5620)
teunbrand May 20, 2024
b74570c
`coord_sf()` scale function breaks (#5442)
teunbrand May 20, 2024
9202a47
Alt text label can be function (#5079)
teunbrand May 20, 2024
e942833
Weighted eCDF (#5119)
teunbrand May 20, 2024
1df93c4
Weighted density (#5254)
teunbrand May 20, 2024
1654df1
`geom_raster()` fallback for non-Cartesian coords (#5627)
teunbrand May 20, 2024
ea6b799
Add debugger (#5723)
teunbrand May 20, 2024
b3d5071
New `spacing` and `margins` root theme elements (#5631)
teunbrand May 20, 2024
e22cff2
Avoid bounded density discontinuity (#5642)
teunbrand May 20, 2024
f8dac9d
Gradients in ribbons (#5699)
teunbrand May 20, 2024
e72d1a1
Fill in missing `se` parameter (#5700)
teunbrand May 20, 2024
ae02c68
Resolution of `geom_tile()` per panel (#5764)
teunbrand May 20, 2024
7a006da
Palettes for discrete scales (#5771)
teunbrand May 20, 2024
d3adf17
Transparent fill of panel borders (#5784)
teunbrand May 20, 2024
0b348cd
Skip alignment/stacking when possible (#5789)
teunbrand May 20, 2024
f89a007
Discrete minor ticks (#5777)
teunbrand May 20, 2024
f7cf2af
Standardise `get_*`, `set_*`, `update_*` and `replace_*` prefixes. (#…
teunbrand May 20, 2024
e8cb599
Add `ggplot_build()` method for <ggplot_built> class (#5803)
teunbrand May 20, 2024
ecf5f40
Function for completing themes (#5804)
teunbrand May 20, 2024
be3ae5a
Add section about width/height (#5814)
teunbrand May 20, 2024
9c4ac34
Set `width` as aesthetic in `geom_col()`/`geom_bar()`. (#5807)
teunbrand May 20, 2024
89b829d
Fix `linewidth` of `draw_key_polygon()` (#5815)
teunbrand May 20, 2024
6f60766
include center as option (#5871)
teunbrand May 20, 2024
49b45c1
Apply jitter in `position_jitterdodge()` once (#5819)
teunbrand May 20, 2024
3b83eea
Binned guides discard out-of-bound breaks (#5873)
teunbrand May 20, 2024
c9a2d6a
Adhere more strictly to `bins` argument in `stat_bin()` (#5891)
teunbrand May 20, 2024
341e8fc
Additional `arrow.fill` parameters for line-based functions. (#5768)
teunbrand May 21, 2024
5199cee
Update guide-legend.R (#5806)
johow May 21, 2024
0d0dc62
`after_*()` length checks (#5902)
teunbrand May 22, 2024
e3a4daf
Rename `ggpar()` to `gg_par()` (#5899)
teunbrand May 24, 2024
28aec3a
Add midpoint example (#5896)
teunbrand May 24, 2024
6c975e8
Let `Layer$compute_geom_2()` handle legend defaults (#5903)
teunbrand Jun 4, 2024
8f3a4ba
Fallback for `dir = 'h'/'v'` (#5907)
teunbrand Jun 4, 2024
79b6e1c
Use `group` to dodge in `position_jitterdodge()` (#5922)
teunbrand Jun 4, 2024
78660a9
Robust `position_dodge(preserve = "single")` (#5928)
teunbrand Jun 4, 2024
e635262
'geom_rug()' prints a warning when 'na.rm = FALSE' (#5906)
pn317 Jun 6, 2024
ba0b18a
margins can be units (#5932)
teunbrand Jun 18, 2024
af8e236
Refactor facet panel drawing code (#5917)
teunbrand Jun 24, 2024
c95e061
Reduce panel parameter setup in facetted plots (#5431)
teunbrand Jun 25, 2024
2610840
`stat_bin()` accepts functions for argument `breaks` (#5963)
aijordan Jun 28, 2024
b8da7af
don't require dplyr for `fortify.tbl()` (#5969)
teunbrand Jul 4, 2024
46ae89f
Consolidate scale definition of position aesthetics (#5640)
teunbrand Jul 8, 2024
fb33e26
Expose position arg on geom_hline() and geom_vline() (#5965)
yutannihilation Jul 8, 2024
c6a9a14
`geom_rect()` can derive corners from `x`/`width` or `y`/`height` (#5…
teunbrand Jul 10, 2024
cd9410c
Remove {glue} dependency (#5988)
teunbrand Jul 10, 2024
76bb2cd
Default labels from attributes (option 2) (#5879)
teunbrand Jul 11, 2024
096b966
Themes accept header font family (#5887)
teunbrand Jul 11, 2024
744e021
Encapsulate `sf_grob()` in `GeomSf$draw_panel()` (#5904)
teunbrand Jul 11, 2024
66a4362
Custom inside-axis position for `coord_radial()` (#5908)
teunbrand Jul 11, 2024
e0bb6a3
Strip label accessor (#5924)
teunbrand Jul 11, 2024
1c1cdc3
Reverse dodging (#5923)
teunbrand Jul 11, 2024
257ffaf
Guard against old discrete scales with identity palettes (#5933)
teunbrand Jul 11, 2024
52bdbc5
setup sides parameter in `geom_rug()` (#5943)
teunbrand Jul 11, 2024
b11d574
Pass missing arguments in `guide_coloursteps()` (#5931)
teunbrand Jul 11, 2024
01eff23
Add `geom_step(orientation)` argument (#5937)
teunbrand Jul 11, 2024
6298aec
Fix overlap identification in `position_dodge2()` (#5939)
teunbrand Jul 11, 2024
98f5e12
Recognise empty scale with `limits = <function>` as empty (#5948)
teunbrand Jul 12, 2024
f5782ff
`facet_grid()` evaluates facets before adding margins (#5944)
teunbrand Jul 12, 2024
c679d43
Preserve `NA`s in discrete palettes (#5949)
teunbrand Jul 12, 2024
25ad0b1
exclude `palette` as dot param (#5992)
teunbrand Jul 15, 2024
7fb4c38
Exclude labels from `aes_params` field (#6004)
teunbrand Jul 17, 2024
8895ec2
Update CONTRIBUTING.md (#6030)
olivroy Aug 6, 2024
09d5c35
Use latest GHA workflows (#6028)
gaborcsardi Aug 7, 2024
b1a7a58
Adding the option `seed = 0` into the jitter argument (#6035)
agmurray Aug 15, 2024
c1b6275
Fixes # 5960 (#6036)
ccani007 Aug 15, 2024
c706a01
Add labeller example for optional argument. Fixes #5916 (#6038)
sierrajohnson Aug 15, 2024
c4c826a
Making bw argument in stat_density case insensitive. Fixes #5941 (#6041)
sierrajohnson Aug 15, 2024
7572d09
Updated documentation: confidence intervals to confidence bands. Fixe…
phispu Aug 15, 2024
11244c5
`show.legend` for factor data for all levels, even when not observed …
agmurray Aug 15, 2024
19d4550
correct misleading error (#6043)
catalamarti Aug 15, 2024
7381160
Fix typo in `labeller` docs (#6034)
mtrsl Aug 15, 2024
308d4c3
`labs()`: Added `gg` class (#6045)
phispu Aug 15, 2024
ee5c9e5
Add translate_string_shape to GeomSf (#6039)
sierrajohnson Aug 15, 2024
633e350
`geom_function()`: x-axis title produced automatically where no data …
phispu Aug 15, 2024
d8eb945
fix some lints (#6050)
etiennebacher Aug 20, 2024
1a6e495
Fix some lints in the `tests` folder (#6051)
etiennebacher Aug 20, 2024
2071c97
Axis alignment over multiple panels (#5826)
teunbrand Aug 20, 2024
995b40c
Move coord clipping responsibility from facet to coord (#5953)
teunbrand Aug 20, 2024
c8b8022
Improve `pal_qualitative()` (#5954)
teunbrand Aug 20, 2024
e5c3892
Add changes from #4875 (#6049)
thomasp85 Aug 23, 2024
c9dce8a
Fix typos layer and geom_text docs (#6053)
collinberke Aug 23, 2024
6d2ed6d
Extra documentation for `ggplot_add()` (#5968)
teunbrand Aug 26, 2024
5482939
Layers have names (#5967)
teunbrand Aug 26, 2024
332a8ea
`n.breaks` propagate to `sec.axis` (#5973)
teunbrand Aug 26, 2024
78b3f3a
move `make_summary_fun()` to `setup_params()` (#5971)
teunbrand Aug 26, 2024
c108758
Variable panel size (`space`) for `facet_wrap()` (#5956)
teunbrand Aug 26, 2024
c38606f
Function to reset all aesthetics defaults (#5976)
teunbrand Aug 26, 2024
3a7ae74
`facet_grid(space = "free")` can work with `coord_fixed()` (#5977)
teunbrand Aug 26, 2024
8ca3bbc
Update `theme_classic()` (#5981)
teunbrand Aug 26, 2024
bcb87fc
Move {mgcv} to suggests (#5987)
teunbrand Aug 26, 2024
8bb9641
Move {tibble} to suggests (#5990)
teunbrand Aug 26, 2024
e69687a
Ignore empty non-mapped aesthetics (#6011)
teunbrand Aug 26, 2024
5971ff4
chore: merge isoband/isolines functions (#6021)
teunbrand Aug 26, 2024
2e08bba
Geom aesthetics based on theme (#5833)
teunbrand Aug 27, 2024
a49bf1e
Check ellipses in several places (#6031)
teunbrand Aug 28, 2024
7ce155b
Repurpose coord expansion (#6027)
teunbrand Aug 28, 2024
3109d11
Copy angle heuristic for more guides. (#5957)
teunbrand Aug 28, 2024
c32fea1
`stat_summary_bin(width)` of preferred over default `width` (#5970)
teunbrand Aug 28, 2024
57ba97f
Include `stat_binhex` aesthetics in documentation for `geom_hex` and …
jansim Aug 28, 2024
ce4bce2
Change `fill` of `GeomRibbon` to match with the previous default colo…
yutannihilation Sep 6, 2024
0d3757d
Fix the YAML syntax of fig.alt chunk option (#6083)
yutannihilation Sep 6, 2024
eec7490
Update code of showing the default size of `geom_text()` (#6084)
yutannihilation Sep 6, 2024
8c724a4
Make facet section of `summary()` more terse (#6074)
teunbrand Sep 9, 2024
2bd8cd5
Fix mistake in alignment docs for `geom_text()` (#6073)
teunbrand Sep 9, 2024
d31c051
update revdepcheck results
thomasp85 Sep 10, 2024
6d48584
Ink and paper settings for built-in themes (re: #6059) (#6063)
teunbrand Sep 13, 2024
c3dd767
Fix for `position_dodge(preserve = "single")` with location based dat…
teunbrand Sep 13, 2024
d742881
fallback when constructor call is missing (#6095)
teunbrand Sep 16, 2024
842e6be
Fix linetype regression (#6097)
teunbrand Sep 16, 2024
a33953f
Fix 6088 (#6106)
teunbrand Sep 23, 2024
f87ea34
fix missing `labels` slot (#6010)
teunbrand Sep 23, 2024
7f6d5bf
Fix regression from #6027 (#6098)
teunbrand Sep 23, 2024
171664b
Label accessor (#6078)
teunbrand Sep 23, 2024
5184f5e
Clean up orphan functions and tiny one-off helpers (#6022)
teunbrand Sep 23, 2024
4fbc857
Mask `stage()` at the expression level (#6110)
teunbrand Sep 23, 2024
ad97679
Restore rather than recalculate scales (#6130)
mikmart Oct 7, 2024
ddd207e
Add test for using `stage()` with a mapping specified for `start` onl…
yjunechoe Oct 11, 2024
5e62f0c
Fixing misnamed panels for facet_wrap (#6082) (#6136)
nicholasdavies Oct 24, 2024
f12b73d
Expand on docs/example for cases with non-equal-width bins in `stat_b…
mattansb Oct 25, 2024
9c21cb5
rename `is.element()` to `is.theme_element()` (#6160)
teunbrand Oct 28, 2024
0cbd420
update `update_geom_defaults()` docs (#6158)
teunbrand Oct 28, 2024
fe26414
import function instead of result (#6146)
teunbrand Oct 28, 2024
b174986
Fix binned scaled not accepting function-limits if there are transfor…
teunbrand Oct 28, 2024
a47be59
Upkeep 2024-10 (#6156)
teunbrand Oct 30, 2024
2959336
Typo in geom-map.R (#6163)
jonocarroll Oct 30, 2024
3faa53a
Checks if svglite is installed when saving to svg. (#6168)
eliocamp Oct 30, 2024
bf75f30
Restore `geom_sf()`'s `linetype` aesthetic (#6132)
teunbrand Oct 30, 2024
8a4c25a
Check continuous scale limits (#6114)
teunbrand Oct 30, 2024
579e2d5
Using `after_scale()` in `Geom$default_aes` field (#6137)
teunbrand Oct 30, 2024
b29b831
Treatment options for zeroes in histograms (#6139)
teunbrand Oct 30, 2024
cc329df
Fix ragg version check (#6175)
MichaelChirico Nov 1, 2024
e594b49
Adjust version for svglite skip (#6176)
MichaelChirico Nov 4, 2024
f220ded
Extra boxplot features (#5423)
teunbrand Nov 11, 2024
e67bf20
Contours for non-axis aligned grids (#5911)
teunbrand Nov 11, 2024
926f290
Deprecate `geom_errorbarh()` (#5961)
teunbrand Nov 11, 2024
7b62271
Move {MASS} to Suggests (#5993)
teunbrand Nov 11, 2024
add05b3
check type for date_breaks and date_minor_breaks (#6044)
RodDalBen Nov 11, 2024
eb8bf83
Export `is.waive()` for extensions to use (#6173)
arcresu Nov 11, 2024
6606390
Skip viewscales if graticule is empty (#6060)
teunbrand Nov 11, 2024
094b957
Discrete labels from break names (#6148)
teunbrand Nov 11, 2024
f468053
`annotation_raster()/_custom()` respond to scale transformations (#6182)
teunbrand Nov 13, 2024
083a17d
Fix typos in the vignette (#6198)
mcol Nov 25, 2024
9b07550
Export GeomBin2d (#6048)
lgibson7 Nov 25, 2024
cf7ec18
Fix a minor deprecated warning about `trans` arg (#6202)
yutannihilation Nov 26, 2024
3d67907
Deprecate `fortify()` for models (#6193)
teunbrand Nov 26, 2024
949d359
defend against potentially missing `stroke` default (#6190)
teunbrand Nov 27, 2024
4193a50
Non-orthogonal coords preserve AsIs x/y variables (#6206)
teunbrand Nov 27, 2024
f9b9703
transparent theme (#5018)
topepo Dec 2, 2024
f13d9ab
Fix expression labels in `guide_coloursteps()` and `guide_bins()` (#6…
teunbrand Dec 2, 2024
1bb9230
Scale palettes from theme (#5946)
teunbrand Dec 2, 2024
f52de1c
Discard out-of-bounds binned breaks after generating labels (#6061)
teunbrand Dec 2, 2024
3be5d6c
No ticks no space (#6071)
teunbrand Dec 2, 2024
918821a
replace confusing wording in vignette (#6075)
teunbrand Dec 2, 2024
4af509e
Label dictionary (#6077)
teunbrand Dec 2, 2024
73f6bff
Clipping in `geom_abline()` (#6109)
teunbrand Dec 3, 2024
4c5bb24
Partial margins (#6116)
teunbrand Dec 3, 2024
cc98fd1
Enable 2D structures as aesthetics (#6076)
teunbrand Dec 3, 2024
e57d6b8
Reversal of coordinates (#6070)
teunbrand Dec 3, 2024
c00a154
Manual stat (#6103)
teunbrand Dec 3, 2024
73b4119
Setting panel sizes in `theme()` (#6094)
teunbrand Dec 3, 2024
23ab492
multiple inside guide box with different position (#6210)
Yunuuuu Dec 5, 2024
859f618
delete test-data.R (#6214)
teunbrand Dec 5, 2024
679ff96
6122 fix exposed roxygen2 (#6219)
PietrH Dec 5, 2024
4dedb82
Tweaks to `map_data()`/fortify.map()` (#6218)
teunbrand Dec 10, 2024
4c84e8a
docs: fix typo and internal links (#6233)
salim-b Dec 12, 2024
ebecea5
add padding cell in final gtable for NULL `plot.margin` (#6235)
Yunuuuu Dec 12, 2024
b35cf63
Explain how to fix fill guide for points with filled shapes (#6229)
arcresu Dec 13, 2024
4efa5cb
tweak docs (#6245)
teunbrand Dec 17, 2024
efc53cc
Fix `geom_ribbon(na.rm)` (#6244)
teunbrand Dec 17, 2024
50b7d30
Fix typo in coord_radial documentation (#6277)
luhann Jan 9, 2025
3d1102c
Restore old guides in `guides()` (#6167)
teunbrand Jan 21, 2025
97edd62
Continuous limits for discrete scales (#6273)
teunbrand Jan 21, 2025
1803552
Subtheme functions (#5430)
teunbrand Jan 27, 2025
628d7ab
Standardise `width` calculation (#6065)
teunbrand Jan 27, 2025
9eeeafe
Improve consistency of naming internal functions (#6072)
teunbrand Jan 27, 2025
123b26e
Violin quantiles are based on observations (#5912)
teunbrand Jan 27, 2025
ccda105
add note (#6170)
teunbrand Jan 27, 2025
8efc700
Use snapshot expectations for breaks (#6171)
teunbrand Jan 27, 2025
a62895a
Fix regression in `guide_bins(reverse)` (#6185)
teunbrand Jan 27, 2025
a4264bc
Checks for `register_theme_element(element_tree)` (#6169)
teunbrand Jan 27, 2025
c9fbb28
Make `ScaleDiscrete$map()` compatible with vctrs-palettes (#6118)
teunbrand Jan 27, 2025
5964f7a
Ensure boxplot key can be drawn without `params` (#6192)
teunbrand Jan 27, 2025
ed1b80d
Aesthetics for position adjustments (#6100)
teunbrand Jan 27, 2025
aa6ee95
Weighted ellipses (#6186)
teunbrand Jan 27, 2025
e327a5e
Guide custom order (#6199)
teunbrand Jan 27, 2025
0b67516
Clip qq line (#6220)
teunbrand Jan 27, 2025
321b300
missing contour parameter defaults to `TRUE` (#6222)
teunbrand Jan 27, 2025
7eeb636
Sanitise bin calculations (#6212)
teunbrand Jan 27, 2025
e30642b
Limits of binned scales when data has zero width (#6225)
teunbrand Jan 27, 2025
4b887b7
Tweak polar distance (#6226)
teunbrand Jan 27, 2025
212224d
Scale name function (#6200)
teunbrand Jan 28, 2025
fdaa195
link blog (#6246)
teunbrand Jan 28, 2025
fa7e2c1
Include image of shape table (#6236)
teunbrand Jan 28, 2025
7356fe3
Coord sf breaks fallback (#6232)
teunbrand Jan 28, 2025
c052d81
Scales expose `aesthetics` argument (#6227)
teunbrand Jan 28, 2025
1b9ee73
Encourage specifying `breaks` when giving labels as a vector (#6237)
teunbrand Jan 28, 2025
f8d9825
Deprecate `fatten` (#6238)
teunbrand Jan 28, 2025
12d1c98
Document guide theme argument (#6268)
teunbrand Jan 28, 2025
09776db
🐛 Deal with empty radial axes (#6272)
teunbrand Jan 28, 2025
b9d1c79
✨ Justification for legend keys (#6279)
teunbrand Jan 28, 2025
a85c6a2
🩹 Turn off `size` fallback from `GeomBar` (#6281)
teunbrand Jan 28, 2025
f2ad948
📝 Mention (`fill_`)`alpha()` in theme element docs (#6283)
teunbrand Jan 28, 2025
f828794
✨ Using date breaks/minor breaks/labels in time scales. (#6282)
teunbrand Jan 28, 2025
aeaed9a
🚑 Fix for revdep problem with adding `NULL` to theme (#6296)
teunbrand Jan 28, 2025
8ef9c6e
replace `vec_slice()` (#6297)
teunbrand Jan 28, 2025
66d6ee4
repair names that might have become lost (#6298)
teunbrand Jan 28, 2025
df315af
protect if-clause (#6302)
teunbrand Jan 28, 2025
df0e150
✨ Point and polygon theme elements (#6249)
teunbrand Jan 28, 2025
6e0664b
prepopulate theme (#6304)
teunbrand Jan 28, 2025
1bfb3c9
Additional settings for `geom_label()` (#6307)
teunbrand Jan 28, 2025
b87a6e3
Demote errors in legend modified expressions (#6267)
teunbrand Feb 4, 2025
d835cfe
Fixes a small typo in docstring for scale_linewidth (#6331)
rdboyes Feb 13, 2025
d1fb550
Document vector passing to nudge_y/nudge_x/position_nudge (#6335)
MaxAtoms Feb 25, 2025
e727e2b
don't warn when fatten is absent (#6310)
teunbrand Feb 27, 2025
1800a9a
fix_6357 (#6358)
MathieuYeche Mar 7, 2025
a641f5d
Fixes #3533 - Swap date(time) types in opposite scale (#6042)
laurabrianna Mar 25, 2025
5fe3c2a
Allow saving PDF pages (#6187)
teunbrand Mar 25, 2025
5b99d3c
Stability of layer data attributes (#6194)
teunbrand Mar 25, 2025
f21a858
Fallback for `validate_subclass()` (#6119)
teunbrand Mar 25, 2025
d2cf9db
Bump deprecations (#6138)
teunbrand Mar 25, 2025
f0fccce
Inheritance of theme-based aesthetics (#6285)
teunbrand Mar 25, 2025
5cc4ca7
Revert "transparent theme (#5018)" (#6309)
teunbrand Mar 25, 2025
ef9d417
avoid mapping AsIs variables (#6311)
teunbrand Mar 25, 2025
1f3fc2e
Bump level of panel grid blanknness in `theme_classic()` (#6321)
teunbrand Mar 25, 2025
56c20f6
Making copies of trained position scales (#6286)
teunbrand Mar 25, 2025
f6ef0c1
Coord flip grid (#6319)
teunbrand Mar 25, 2025
f672845
Skip annotation labels (#6322)
teunbrand Mar 25, 2025
016b78f
Align `stat_bin(drop)` with meaning (#6323)
teunbrand Mar 25, 2025
7e67db3
Compute jitter width by panel (#6330)
teunbrand Mar 25, 2025
63b263b
New stat: `stat_connect()` (#6329)
teunbrand Mar 25, 2025
ffdfc23
Flip `geom_curve()` direction in some circumstances (#6332)
teunbrand Mar 25, 2025
f34ad83
Theme palettes warn about options (#6334)
teunbrand Mar 25, 2025
428d122
Layer parameter controlling facet layout (#6336)
teunbrand Mar 25, 2025
cee2560
Convert linetype `NA`s to blank lines (#6270)
teunbrand Mar 25, 2025
bbc4d53
skip replacing NAs when appropriate (#6344)
teunbrand Mar 25, 2025
0668f5c
add `as.gtable` methods (#6372)
teunbrand Mar 25, 2025
80d5406
Checks for bandwidth in `stat_density_2d()` (#6375)
teunbrand Mar 25, 2025
4eaa98b
Background for `theme_void()` and `theme_minimal()` (#6345)
teunbrand Mar 25, 2025
252e3c0
Stack divide zero (#6341)
teunbrand Mar 25, 2025
d1b519d
Don't prepopulate legend key sizes (#6340)
teunbrand Mar 25, 2025
2478406
Flexible palettes (#6216)
teunbrand Mar 25, 2025
183e7ad
Repurpose rect key (#6327)
teunbrand Mar 25, 2025
8b2a764
coord_radial: add xlim and ylim arguments (#6359)
Yunuuuu Apr 7, 2025
5b0ea0b
`Facet`: new method `setup_panel_params` to interact panel_params (#6…
Yunuuuu Apr 9, 2025
66f0cd5
resolve merge conflict
teunbrand Apr 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 15 additions & 14 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:
pull_request:
branches: [main, master]

name: R-CMD-check
name: R-CMD-check.yaml

permissions: read-all

jobs:
R-CMD-check:
Expand All @@ -25,17 +27,15 @@ jobs:
- {os: macos-latest, r: 'release'}

- {os: windows-latest, r: 'release'}
# Use 3.6 to trigger usage of RTools35
- {os: windows-latest, r: '3.6'}
# use 4.1 to check with rtools40's older compiler
- {os: windows-latest, r: '4.1'}
# use 4.0 or 4.1 to check with rtools40's older compiler
- {os: windows-latest, r: 'oldrel-4'}

- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
- {os: ubuntu-latest, r: 'oldrel-2'}
- {os: ubuntu-latest, r: 'oldrel-3'}
- {os: ubuntu-latest, r: 'oldrel-4'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
- {os: ubuntu-latest, r: 'oldrel-2'}
- {os: ubuntu-latest, r: 'oldrel-3'}
- {os: ubuntu-latest, r: 'oldrel-4'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -48,7 +48,7 @@ jobs:
VDIFFR_LOG_PATH: "../vdiffr.Rout.fail"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

Expand All @@ -63,10 +63,11 @@ jobs:
cache-version: 3
extra-packages: >
any::rcmdcheck,
Hmisc=?ignore-before-r=4.1.0,
quantreg=?ignore-before-r=3.6.0,
Hmisc=?ignore-before-r=4.2.0,
quantreg=?ignore-before-r=4.3.0
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
10 changes: 7 additions & 3 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ on:
types: [published]
workflow_dispatch:

name: pkgdown
name: pkgdown.yaml

permissions: read-all

jobs:
pkgdown:
Expand All @@ -19,8 +21,10 @@ jobs:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

Expand All @@ -39,7 +43,7 @@ jobs:

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
clean: false
branch: gh-pages
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/pr-commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
issue_comment:
types: [created]

name: Commands
name: pr-commands.yaml

permissions: read-all

jobs:
document:
Expand All @@ -13,8 +15,10 @@ jobs:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/pr-fetch@v2
with:
Expand Down Expand Up @@ -50,8 +54,10 @@ jobs:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/pr-fetch@v2
with:
Expand Down
25 changes: 18 additions & 7 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:
pull_request:
branches: [main, master]

name: test-coverage
name: test-coverage.yaml

permissions: read-all

jobs:
test-coverage:
Expand All @@ -15,36 +17,45 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::covr
extra-packages: any::covr, any::xml2
needs: coverage

- name: Test coverage
run: |
covr::codecov(
cov <- covr::package_coverage(
quiet = FALSE,
clean = FALSE,
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
)
covr::to_cobertura(cov)
shell: Rscript {0}

- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }}
file: ./cobertura.xml
plugin: noop
disable_search: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Show testthat output
if: always()
run: |
## --------------------------------------------------------------------
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash

- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-test-failures
path: ${{ runner.temp }}/package
13 changes: 4 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,19 @@ Each of these steps are described in more detail below. This might feel
overwhelming the first time you get set up, but it gets easier with practice.
If you get stuck at any point, please reach out for help on the [ggplot2-dev](https://groups.google.com/forum/#!forum/ggplot2-dev) mailing list.

If you're not familiar with git or github, please start by reading <http://r-pkgs.had.co.nz/git.html>
If you're not familiar with git or github, please start by reading <https://r-pkgs.org/software-development-practices.html>

<!--
* [ ] Motivate the change in one paragraph, and include it in NEWS.
In parentheses, reference your github user name and this issue:
`(@hadley, #1234)`
* [ ] Check pull request only includes relevant changes.
* [ ] Use the [official style](http://adv-r.had.co.nz/Style.html).
* [ ] Use the [official style](https://style.tidyverse.org).
* [ ] Update documentation and re-run roxygen2
* [ ] Add test, if bug in non-graphical function
* [ ] Add visual test, if bug in graphical function
* [ ] Add minimal example, if new graphical feature

See http://docs.ggplot2.org/dev/vignettes/development.html for more details.
--->

Pull requests will be evaluated against a seven point checklist:
Expand All @@ -100,20 +99,16 @@ Pull requests will be evaluated against a seven point checklist:
and don't submit any others until the first one has been processed.

1. __Use ggplot2 coding style__. Please follow the
[official tidyverse style](http://style.tidyverse.org). Maintaining
[official tidyverse style](https://style.tidyverse.org). Maintaining
a consistent style across the whole code base makes it much easier to
jump into the code. If you're modifying existing ggplot2 code that
doesn't follow the style guide, a separate pull request to fix the
style would be greatly appreciated.

1. If you're adding new parameters or a new function, you'll also need
to document them with [roxygen](https://github.com/klutometis/roxygen).
to document them with [roxygen2](https://github.com/r-lib/roxygen2).
Make sure to re-run `devtools::document()` on the code before submitting.

Currently, ggplot2 uses the development version of roxygen2, which you
can get with `install_github("klutometis/roxygen")`. This will be
available on CRAN in the near future.

1. If fixing a bug or adding a new feature to a non-graphical function,
please add a [testthat](https://github.com/r-lib/testthat) unit test.

Expand Down
27 changes: 14 additions & 13 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,21 @@ License: MIT + file LICENSE
URL: https://ggplot2.tidyverse.org, https://github.com/tidyverse/ggplot2
BugReports: https://github.com/tidyverse/ggplot2/issues
Depends:
R (>= 3.5)
R (>= 4.0)
Imports:
cli,
glue,
grDevices,
grid,
gtable (>= 0.1.1),
gtable (>= 0.3.6),
isoband,
lifecycle (> 1.0.1),
MASS,
mgcv,
rlang (>= 1.1.0),
scales (>= 1.3.0),
stats,
tibble,
vctrs (>= 0.6.0),
withr (>= 2.5.0)
Suggests:
broom,
covr,
dplyr,
ggplot2movies,
Expand All @@ -56,6 +53,8 @@ Suggests:
knitr,
mapproj,
maps,
MASS,
mgcv,
multcomp,
munsell,
nlme,
Expand All @@ -67,7 +66,8 @@ Suggests:
rpart,
sf (>= 0.7-3),
svglite (>= 2.1.2),
testthat (>= 3.1.2),
testthat (>= 3.1.5),
tibble,
vdiffr (>= 1.0.6),
xml2
Enhances:
Expand All @@ -76,6 +76,7 @@ VignetteBuilder:
knitr
Config/Needs/website: ggtext, tidyr, forcats, tidyverse/tidytemplate
Config/testthat/edition: 3
Config/usethis/last-upkeep: 2024-10-24
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
Expand Down Expand Up @@ -126,15 +127,15 @@ Collate:
'facet-grid-.R'
'facet-null.R'
'facet-wrap.R'
'fortify-lm.R'
'fortify-map.R'
'fortify-multcomp.R'
'fortify-models.R'
'fortify-spatial.R'
'fortify.R'
'stat-.R'
'geom-abline.R'
'geom-rect.R'
'geom-bar.R'
'geom-tile.R'
'geom-bin2d.R'
'geom-blank.R'
'geom-boxplot.R'
Expand All @@ -151,7 +152,6 @@ Collate:
'geom-density2d.R'
'geom-dotplot.R'
'geom-errorbar.R'
'geom-errorbarh.R'
'geom-freqpoly.R'
'geom-function.R'
'geom-hex.R'
Expand All @@ -168,7 +168,6 @@ Collate:
'geom-smooth.R'
'geom-spoke.R'
'geom-text.R'
'geom-tile.R'
'geom-violin.R'
'geom-vline.R'
'ggplot2-package.R'
Expand Down Expand Up @@ -243,10 +242,12 @@ Collate:
'scales-.R'
'stat-align.R'
'stat-bin.R'
'stat-summary-2d.R'
'stat-bin2d.R'
'stat-bindot.R'
'stat-binhex.R'
'stat-boxplot.R'
'stat-connect.R'
'stat-contour.R'
'stat-count.R'
'stat-density-2d.R'
Expand All @@ -255,6 +256,7 @@ Collate:
'stat-ellipse.R'
'stat-function.R'
'stat-identity.R'
'stat-manual.R'
'stat-qq-line.R'
'stat-qq.R'
'stat-quantilemethods.R'
Expand All @@ -263,7 +265,6 @@ Collate:
'stat-smooth-methods.R'
'stat-smooth.R'
'stat-sum.R'
'stat-summary-2d.R'
'stat-summary-bin.R'
'stat-summary-hex.R'
'stat-summary.R'
Expand All @@ -274,10 +275,10 @@ Collate:
'theme.R'
'theme-defaults.R'
'theme-current.R'
'theme-sub.R'
'utilities-break.R'
'utilities-grid.R'
'utilities-help.R'
'utilities-matrix.R'
'utilities-patterns.R'
'utilities-resolution.R'
'utilities-tidy-eval.R'
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MIT License

Copyright (c) 2020 ggplot2 authors
Copyright (c) 2024 ggplot2 core developer team

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