-
Notifications
You must be signed in to change notification settings - Fork 370
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
Lifecycle annotations #3259
Comments
This is a good proposal. We did something of this kind for metadata (now we could formalize it) + e.g. new functions introduced in #3258 could be annotated in the same way. I wonder if we could also consider not only whole functions but also added arguments to existing functions in the same way (I would do it). @nalimilan - what do you think? If we agree here I would make an appropriate PR explaining our policy. |
Why not. But I think we should use this only when really necessary, or the result will just be that our new APIs cannot be relied upon. Users want their code to continue to work in future releases, and the fact that they have been warned that a function may break doesn't make it less painful to update the code when breakage happens. As the doc says:
|
see #3262 |
Let us discuss case by case when we add new functions if this is needed. Although we allow this "experimental" status, as discussed in the explanation, we do not want to do it lightly. Rather I would prefer to put such (or similar) label only in places where we feel we are not 100% sure we are having a right design. |
https://lifecycle.r-lib.org/articles/stages.html
Whenever a function is released, a problem is often spotted soon afterwards. I propose lifecycle annotations to allow breaking changes to released "experimental" functions.
The text was updated successfully, but these errors were encountered: