styler
styler copied to clipboard
Non-invasive pretty printing of R code
Is this the expected behaviour (with `styler::tidyverse_style(scope = "indention")`)? ```r txt
Please consider exporting the following functions: - [ ] is_function_call() - [ ] previous_non_comment() - [ ] scope_normalize() Context: I'm working on {[styler.equals](https://github.com/Robinlovelace/styler.equals)} based on @lorenzwalthert's very handy template: https://github.com/lorenzwalthert/styler.yours...
- https://quarto.org/docs/output-formats/html-code.html#code-overflow - https://quarto.org/docs/computations/execution-options.html#unexecuted-blocks
Closes #971
Closes #963
DO NOT MERGE, this is for benchmarking only. **You may want to unsubscribe from this PR notifications, as any merge into main will trigger notifications.** *** Comparision with previous releases:...
@lorenzwalthert Creating a draft PR while I figure out the implementation. As mentioned in #936, I will definitely need some help figuring out a few things since I am not...
Currently, these functions are [separately documented](https://styler.r-lib.org/reference/index.html) and there is a lot of duplication of the content. Instead, we could do this the same way `{lintr}` does it; cataloguing them [in...
I had expected ```R new("Period", [email protected][i], year = x@year[i], month = x@month[i], day = x@day[i], hour = x@hour[i], minute = x@minute[i] ) ``` to be restyled to ```R new("Period", [email protected][i],...
These are probably candidates for release 2.0: * remove `save_after_styling` env variable. Already deprecated. * `more_args` must come last and have no default in `create_style_guide()`. * set `base_indention` and `indent_by`...