diff options
| author | Martin Edström <meedstrom91@gmail.com> | 2025-11-11 12:40:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-11 12:40:33 +0100 |
| commit | e7892adc8a23612b219513ea56f62cdb825afe8f (patch) | |
| tree | 2369d675723b6a4ae1a70abef227ccd3d5ce8186 /test/formatters/samplecode/python3-json | |
| parent | f1d36031fc162f541f77d4f6c6c0fd6197aba077 (diff) | |
Add styleR for ess-r-mode (#377)
Hi! My first time adding a formatter, please let me know if I missed
anything.
Some things I'm unclear about:
1. How to fail gracefully when [styleR](https://styler.r-lib.org/)
package is absent from the system
2. Whether the formatter should be named `ess-r` or something more
general like `rlang`
## Test case
FYI, there are loads of tests to pick from on
https://github.com/r-lib/styler/tree/main/tests/testthat.
I picked
[unindention/mixed-in.R](https://github.com/r-lib/styler/blob/main/tests/testthat/unindention/mixed-in.R),
but oddly, the output
[unindention/mixed-out.R](https://github.com/r-lib/styler/blob/main/tests/testthat/unindention/mixed-out.R)
isn't quite the same as we got!
I don't know if that's an upstream issue, or that upstream changed style
since that test was written, or that perhaps the file is meant to be
concatenated into something else.
Diffstat (limited to 'test/formatters/samplecode/python3-json')
0 files changed, 0 insertions, 0 deletions
