Skip to content

fix(db): extend to_version ggplot2::theme [stale_floor] - #81

Open
ndohpenngit wants to merge 1 commit into
mainfrom
fix/db-staleness-ggplot2-theme
Open

fix(db): extend to_version ggplot2::theme [stale_floor]#81
ndohpenngit wants to merge 1 commit into
mainfrom
fix/db-staleness-ggplot2-theme

Conversation

@ndohpenngit

Copy link
Copy Markdown
Collaborator

What does this PR do?

Auto-generated by the staleness remediation agent.
Action: Extend to_version (stale ceiling)

Entry

ggplot2::theme

  • Staleness: stale_floor
  • Gap: from_version 3.4.99 << current 4.0.3 (>= 1 major version(s) behind)
  • Reference: N/A

Changelog 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

  • Bug fix
  • New feature
  • Database entry correction
  • Documentation
  • Other

Checklist

  • Claim verified against official changelog (by agent)
  • Human reviewer has spot-checked the changelog evidence
  • validate CI check passes in reproducr-db
  • sync_db.R runs cleanly after merge
  • Tracking issue updated

Corrected 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"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant