Skip to content

Conversation

@teunbrand
Copy link
Collaborator

@teunbrand teunbrand commented Nov 6, 2025

This PR aims to fix #6731.

It replaces the deprecate_warn0() and deprecate_soft0() internal functions with a new function: deprecate().
If we want to advance the lifecycle of deprecated functions, we just need to edit the versions in deprecate() instead of finding an replacing functions all over the place. There is also an option to escalate a deprecation to defunct or warning ahead of the cycle.

R/utilities.R Outdated
Comment on lines 790 to 792
defunct <- "3.0.0"
full <- "3.4.0"
soft <- packageVersion("ggplot2")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just increment versions here if advancing the lifecycle.

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.

Lifecycle management

1 participant