├── .Rbuildignore ├── DESCRIPTION ├── LICENSE ├── LICENSE.md ├── NAMESPACE ├── NEWS.md ├── R ├── find_closing_paren.R ├── has_filter_expr.R ├── is_backtick_colon_equals_expr.R ├── is_dt_dot_paren_expr.R ├── is_dt_expr.R ├── is_dt_function_call_expr.R ├── is_dt_let_expr.R ├── is_dt_named_dot.R ├── is_generic_function_call.R ├── is_one_line_expr.R ├── is_parenthesised.R ├── rollout_and_or.R ├── style.R ├── style_dt_indention.R ├── style_dt_linebreak.R ├── style_dt_space.R ├── style_dt_token.R ├── style_fcase_linebreak.R ├── style_function_args_linebreak.R ├── tdc_style.R └── utils.R ├── README.md ├── discovery └── styler.Rmd ├── inst ├── .DS_Store └── images │ └── thedatacollective.png ├── man ├── style.Rd └── tdc_style.Rd └── tests ├── testthat.R └── testthat ├── _snaps └── tdcstyle.md └── test-tdcstyle.R /.Rbuildignore: -------------------------------------------------------------------------------- 1 | ^LICENSE\.md$ 2 | discovery 3 | -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/DESCRIPTION -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | YEAR: 2022 2 | COPYRIGHT HOLDER: tdcstyle authors 3 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/LICENSE.md -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/NAMESPACE -------------------------------------------------------------------------------- /NEWS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/NEWS.md -------------------------------------------------------------------------------- /R/find_closing_paren.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/find_closing_paren.R -------------------------------------------------------------------------------- /R/has_filter_expr.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/has_filter_expr.R -------------------------------------------------------------------------------- /R/is_backtick_colon_equals_expr.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/is_backtick_colon_equals_expr.R -------------------------------------------------------------------------------- /R/is_dt_dot_paren_expr.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/is_dt_dot_paren_expr.R -------------------------------------------------------------------------------- /R/is_dt_expr.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/is_dt_expr.R -------------------------------------------------------------------------------- /R/is_dt_function_call_expr.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/is_dt_function_call_expr.R -------------------------------------------------------------------------------- /R/is_dt_let_expr.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/is_dt_let_expr.R -------------------------------------------------------------------------------- /R/is_dt_named_dot.R: -------------------------------------------------------------------------------- 1 | is_dt_named_dot <- function(pd) { 2 | 3 | pd$text[[1]] == "." 4 | 5 | } 6 | -------------------------------------------------------------------------------- /R/is_generic_function_call.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/is_generic_function_call.R -------------------------------------------------------------------------------- /R/is_one_line_expr.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/is_one_line_expr.R -------------------------------------------------------------------------------- /R/is_parenthesised.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/is_parenthesised.R -------------------------------------------------------------------------------- /R/rollout_and_or.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/rollout_and_or.R -------------------------------------------------------------------------------- /R/style.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/style.R -------------------------------------------------------------------------------- /R/style_dt_indention.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/style_dt_indention.R -------------------------------------------------------------------------------- /R/style_dt_linebreak.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/style_dt_linebreak.R -------------------------------------------------------------------------------- /R/style_dt_space.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/style_dt_space.R -------------------------------------------------------------------------------- /R/style_dt_token.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/style_dt_token.R -------------------------------------------------------------------------------- /R/style_fcase_linebreak.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/style_fcase_linebreak.R -------------------------------------------------------------------------------- /R/style_function_args_linebreak.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/style_function_args_linebreak.R -------------------------------------------------------------------------------- /R/tdc_style.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/tdc_style.R -------------------------------------------------------------------------------- /R/utils.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/R/utils.R -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/README.md -------------------------------------------------------------------------------- /discovery/styler.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/discovery/styler.Rmd -------------------------------------------------------------------------------- /inst/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/inst/.DS_Store -------------------------------------------------------------------------------- /inst/images/thedatacollective.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/inst/images/thedatacollective.png -------------------------------------------------------------------------------- /man/style.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/man/style.Rd -------------------------------------------------------------------------------- /man/tdc_style.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/man/tdc_style.Rd -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/tests/testthat.R -------------------------------------------------------------------------------- /tests/testthat/_snaps/tdcstyle.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/tests/testthat/_snaps/tdcstyle.md -------------------------------------------------------------------------------- /tests/testthat/test-tdcstyle.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thedatacollective/tdcstyle/HEAD/tests/testthat/test-tdcstyle.R --------------------------------------------------------------------------------