R-Box
R-Box copied to clipboard
Reindent patches
When I re-indent a function like:
function_example <- function (a)
a + 1
I get
function_example <- function (a)
a + 1
It should not do this.
This is hard to fix. The best solution is to add { and }.
Additionally, the following should not be changed following a re-indent:
variable <- a + a_very_long_function_name() +
another_very_long_function_name()
I will keep them in mind, but fixing them is not easy because of the way the syntax highlight works.
If you are interested, you can have a look of this file. This is the file which manages the indentation.