-
Notifications
You must be signed in to change notification settings - Fork 0
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
Deprecating aedseo and tsd, renaming to seasonal_onset and to_time_series #41
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good.
I have some minor suggestions and a few places where the renaming was missed.
Reading through the PR however, strengthens my belief that functions should just always be verbs.
I think it is confusing to the user that we both have a function called "seasonal_onset" and objects of class "seasonal_onset". As well a function called "tsd" and objects of class "tsd".
When reading the vignette, I keep having to focus on we hare talking about the function or the objects.
All of this could be avoided by renaming "tsd() -> "to_tsd()" and "seasonal_onset() -> detect_seasonal_onset()". Or something of the like.
This PR is deprecating the aedseo and tsd function and renaming it as seasonal_onset and to_time_series.
Both functions can still be used, but have a deprecation warning.
NEWS.md