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
Implements tidy.Kendall + adds info in DESCRIP, NAMESPACE, etc.. #343
Conversation
Hi cimentada, there seems to be an issue with the line endings (should probably be LF) or the encoding (should be UTF-8) of the files in your commit. |
@rbloehm You're completely right. I have this behaviour ever since I started using Git and Bash in Windows 10. I'm not sure how to fix it at this point with out reverting everything back and re implementing the changes. |
Sorry about that, I hope you will find some guidance here: Especially make sure that |
This looks really good! Thanks for taking the time to make a PR! I have a suspicion that at least one of the columns in the output should be called |
da83477
to
834be8b
Compare
@alexpghayes @rbloehm I fixed the problem with line endings and changed the column name of |
Looks great, thank you! |
@alexpghayes: Was still committed and merged into master with CRLF in the new files. Run this in the latest master of tidyverse/broom: |
Thanks! |
This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
Following #285, I've added
tidy.Kendall
which creates a tidy method for all Kendall class objects. These come from the Kendall package and only have 3 functions:Kendall
,MannKendall
andSeasonalMannKendall
. They all return the same information so the tidy method works for the three functions. The number of rows and columns are always the same and there are not optional arguments on the three functions.Here's a brief example of what the
tidy.Kendall
will returnEverything I've done so far:
devtools::check()
is not passing but there are no warnings fromtidy.Kendall
.goodpractice::gp()
passes fortidy.Kendall
devtools::spell_check()
only returns the wordkendall
which is a false positive.tidy.Kendall
NEWS.md
to includetidy.Kendall
.test-kendall.R
Kendall
package as Suggests