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
Does dependency on snakecase::to_any_case risk breakage in the future? #154
Comments
Hi Sam, I can‘t say for sure, but I guess there will be (very small) changes. As long as you only support the case argument (and also in general), The goal is to generalise as much as possible and optimise the interface for high level control. I want to wait myself a little bit more (maybe middle or end of 2018; depending on my time) to see what is exactly needed. I think the issue with the numbers can currently only be handled via Of course the long time goal is to be stable, but currently I use snakecase via piping it into |
Just thought a bit more about it.
The only missing aspect would then the opportunity to suppress underscores only from one side. However, what do you think in general about the changes above. I think after these there shouldn't be any changes regarding 'clean_names()'. I am quite busy currently, but if it helps you, I might become a bit more motivated :) |
Thanks for laying this out. None of that sounds risky to the stability of |
I just submitted to CRAN. In the next update to CRAN, the new parsing_option (6) will be added. There is room for adding a completely customizable parsing via supplying a sequence of regular expressions: Tazinho/snakecase#91 |
Hi Malte (@Tazinho),
The issue I just opened and tagged you in made me wonder whether introducing the
to_any_case
dependency risks breaking changes out of my control in the future tojanitor::clean_names()
🤔If you added something that changes the default behavior of
to_any_case
, it would be a breaking changes for janitor, if backwards compatibility can't be specified as an option.Do you have a stance or approach to this for the snakecase package? Specifically, do you think it's likely that the default behavior will change, and do you have specific plans for such changes? And if so, would there be a way I could adapt janitor to preserve prior behavior if desired, like the
case = old_janitor
argument I've introduced toclean_names()
?Thanks for considering 😃
The text was updated successfully, but these errors were encountered: