We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
style_dir()
style_pkg()
I am wondering if style_dir() and style_pkg() shouldn't style all supported file formats in the directory/package by default.
Is there any reason why the users may wish to format only code in .R files, but not in (e.g.) .Rmd files?
.R
.Rmd
Current default:
filetype = c("R", "Rprofile")
Proposed default:
filetype = c("R", "Rprofile", "Rmd", "Rmarkdown", "Rnw")
The text was updated successfully, but these errors were encountered:
Yes. Also thought about it. Did not want to do that in the very beginning though, when formatting of non-R was experimental.
Sorry, something went wrong.
Thanks; good to hear that you also feel the same way about this.
Should I make a PR then?
This issue is also included in #769, although questionable if breaking or not. PR welcome yes.
Successfully merging a pull request may close this issue.
I am wondering if
style_dir()
andstyle_pkg()
shouldn't style all supported file formats in the directory/package by default.Is there any reason why the users may wish to format only code in
.R
files, but not in (e.g.).Rmd
files?Current default:
Proposed default:
The text was updated successfully, but these errors were encountered: