Skip to content

Many deprecation warnings list wrong version #6513

Open
@willgearty

Description

@willgearty

While updating my deeptime package to be compatible with the upcoming version ggplot2, I came across several deprecation warnings that I hadn't encountered before. Many of them list version 3.5.2 as the version in which they were deprecated, but I checked the 3.5.2 release and the deprecations are not included there (it looks like these were part of the 3.5.2 release candidate but never made it to the actual release). The deprecation warnings should be updated to list the correct version in which they were actually deprecated (presumably the upcoming 4.0.0).

Here are a couple examples (NOT an exhaustive list):

ggplot2/R/facet-wrap.R

Lines 571 to 578 in a2d0181

deprecate_soft0(
"3.5.2",
what = I("Internal use of `dir = \"h\"` and `dir = \"v\"` in `facet_wrap()`"),
details = I(c(
"The `dir` argument should incorporate the `as.table` argument.",
paste0("Falling back to `dir = \"", dir, "\"`.")
))
)

ggplot2/R/coord-transform.R

Lines 115 to 119 in a2d0181

deprecate_soft0(
"3.5.2",
"coord_trans()",
"coord_transform()"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    messagesrequests for improvements to error, warning, or feedback messages

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions