Skip to content

Deprecating an argument #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hadley opened this issue Apr 23, 2019 · 1 comment
Closed

Deprecating an argument #67

hadley opened this issue Apr 23, 2019 · 1 comment

Comments

@hadley
Copy link
Member

hadley commented Apr 23, 2019

  • If possible, move to end of argument list.

  • Set default value to "DEPRECATED"

  • Document with **Deprecated**: followed by what you should do instead

  • Check with missing(), and display informative warning

  • Eventually use standard deprecation helper that only warns once per interactive session.

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

No branches or pull requests

1 participant