fix(db): extend to_version ggplot2::theme [stale_floor] - #81
Open
ndohpenngit wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Auto-generated by the staleness remediation agent.
Action: Extend
to_version(stale ceiling)Entry
ggplot2::themestale_floorChangelog evidence
Entry flags the numeric legend.position deprecation introduced in ggplot2 3.5.0. The changelog shows no reversion through 4.0.3 (2026-04-22); the deprecation warning and future breakage remain in effect. Window extends to 4.0.9 to cover the entire current 4.0.x series. Pharma/clinical code using numeric legend.position will encounter warnings and eventual breakage on any 3.5.x or 4.0.x version through 4.0.9.
Related issues
Part of the weekly staleness remediation run. Update the staleness tracking
issue once this PR is merged.
Type of change
Checklist
validateCI check passes inreproducr-dbsync_db.Rruns cleanly after mergeCorrected entry
{ "pkg": "ggplot2", "fn": "theme", "from_version": "3.4.99", "to_version": "4.0.9", "risk": "medium", "description": "In ggplot2 3.5.0, passing a numeric vector to legend.position inside theme() (e.g. theme(legend.position = c(0.8, 0.2))) was deprecated. The correct replacement is the new legend.position.inside argument: theme(legend.position.inside = c(0.8, 0.2)). Code using the old numeric form produces a once-per-session deprecation warning and may break in a future release. Plots with in-panel legend placement will silently produce different visual output or errors after upgrading without updating the theme() call.", "reference": "https://www.tidyverse.org/blog/2024/02/ggplot2-3-5-0-legends/", "added_by": "ndohpenngit", "added_date": "2026-06-17" }