Add userdiff patterns to support R programming language. Also, add three userdiff tests for R programming language files. These files define simple function and nested function, with and without indentation. Signed-off-by: Rodrigo Carvalho <rodrigorsdc@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
7 lines
75 B
Plaintext
7 lines
75 B
Plaintext
RIGHT <- function(a, b) {
|
|
c = mean(a, b)
|
|
d = c + 2
|
|
ChangeMe()
|
|
return (c)
|
|
}
|