`lifecycle_linter` is returning false positives for `ggplot2::labs()`

Open
#206 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
r
Domain
tooling

Research direction

Start with the lifecycle_linter logic and the declarations in labels.R, where labs(), xlab(), and ylab() are defined. Reproduce the report and trace why labs() is treated as superseded. Done means labs() is no longer reported while the intended superseded functions remain detected.

Written by the indexing model from the issue text.

Description

The lifecycle_linter is reporting (falsely) that ggplot2::labs is superseded.

This is in fact the replacement function to ggplot2::xlab and ggplot2::ylab, which are superseded (although are declared in the same file, labels.R).

Dominant language
R
Stars
93
Forks
26
Avg merge
4h 7m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from r-lib/lifecycle

All issues in r-lib/lifecycle

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.