-
Notifications
You must be signed in to change notification settings - Fork 93
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
custom style guide in README #664
Comments
{styler.equals} seems to be a good choice now, maybe once it's on CRAN, we can update the docs here. cc: @Robinlovelace |
OK awesome, happy to contribute, would that be useful? Thanks so much for all recent activity on this Lorenz! |
Follow-up question: I've had a read of this part of the README and have added a .Rprofile to a project as per commit above. However, VS Code still highlights Am I missing something? And is it possible to set the linting rules to come from {styler.equals} in the .lintr file, e.g. https://github.com/REditorSupport/languageserver/blob/master/.lintr ? |
In your README, you have a detailed recommendation for how to not replace
=
with<-
that I realise is only partly correct. It may fail when the {styler} cache is active and transformer dropping is not properly implemented. To my knowledge, a better implementation can be found in the R Polars Project posted here. I am not sure what to do about this but I wanted to bring it to your awareness that the suggested approach may be not working correctly.Once working correctly (currently not), you could also use https://github.com/Robinlovelace/styler.equals.
The text was updated successfully, but these errors were encountered: