Closed AJFOWLER closed 3 years ago
Hi @AJFOWLER,
This all looks great - and a lot cleaner than before! I always get pangs of shame looking back at the inital knocked-together versions of some of the package's functions 😨
Some small follow-up things:
styler::style_pkg()
and commit the changes? It will just make it easier for me to find and address true merge conflicts, rather than those that are just due to styling. [ctb]
in the DESCRIPTION
file (for info, see Section 8.3 here). Your input is definitely helping to improve robvis
, particularly in making it much easier to develop new functionality, so I think it is only right that this is formally acknowledged.A last aside: as per your comment in #97, I completely agree that a lot of the code for actually producing the graphs is repeated and could be refactored. Heck, even creating a function that returns the ggplot2
elements common to all plots would be a great start. However, I am keen to get this PR merged into the main branch soon, as robvis
is participating in the Hacktoberfest event, and so I'd like to keep the main branch as up to date as possible so anyone taking a fork is taking the most current version. So I think the best option is to finish this PR, then deal with the common plotting code!
Hi @mcguinlu
In these commits:
styler::style_pkg()
run and committed.Agree with refactoring the common plotting code being something to defer 👍
All looks great - thanks for getting around to it so quickly! There are few merge conflicts which I am going to address in the morning with a clear head, and then I'll pull in your changes.
Due to me making a Hames of resolving the merge conflicts, this is now being dealt with in #101 - sorry for the delay in doing this @AJFOWLER!
Happy Halloween 🎃
PR Checklist
All Submissions:
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Three changes:
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
clean_data()
- this could probably be extended to the rob_summary functions too.Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No.
Other relevant information:
Thank you for taking the time to submit this PR!