Overriding `footer()`

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
r

Research direction

Start in R/deprecate.R around line 248, where footer() is called during deprecation warning generation. Trace how the warning is assembled and determine the supported behavior for suppressing or overriding that footer; done should include a clear, tested way to avoid directing users to the wrong issue tracker.

Written by the indexing model from the issue text.

Description

Thank you very much for the package. I was wondering is there a way to skip the footer() call here

https://github.com/r-lib/lifecycle/blob/77fce9b8e2e8c2a781ba95d181d497da62d0b80f/R/deprecate.R#L248

I was asking because the warning generated would encourage the user to report any deprecation warning ("the issue") as GitHub issue, e.g.

The trust argument of import() should be explicit for serialization formats as of rio 1.0.3.
ℹ Missing trust will be set to FALSE by default for RDS in 2.0.0.
ℹ The deprecated feature was likely used in the rio package.
Please report the issue at https://github.com/gesistsa/rio/issues.
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.