Skip to content
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

styling comprehensively with styler #393

Merged
merged 2 commits into from
Jan 6, 2018

Conversation

lorenzwalthert
Copy link
Contributor

@lorenzwalthert lorenzwalthert commented Jan 6, 2018

First styled with strict = FALSE and scope = "tokens".
Being more invasive than this configuration (e.g. withstrict = TRUE) did expose one issue with styler@HEAD: lines breaks in function calls are not taking into account whether arguments are named or not (tidyverse/style#39).
I attempted resolve that issue in r-lib/styler#318 and used this version to style with scope = "tokens", strict = TRUE. The enframe_data() call in data-raw/smiths.R was excluded from styling since it needed tribble-like alignment (r-lib/styler#317).

@hadley hadley merged commit 478cefe into tidyverse:master Jan 6, 2018
@hadley
Copy link
Member

hadley commented Jan 6, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants