git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/2] t4018: add two userdiff tests for R language

From
Eric Sunshine <sunshine@sunshineco.com>
Date
May 25, 2025, 22:42 UTC
Message-ID
<CAPig+cQ07SMbfD8Er1Ukdpih_8AL_exbz7U6WzZ3b2js2ge1cg@mail.gmail.com>
In-Reply-To
<20250525210236.116342-2-rodrigorsdc@gmail.com>
On Sun, May 25, 2025 at 5:03 PM Rodrigo Carvalho <rodrigorsdc@gmail.com> wrote:
Show 14 quoted lines
> This patch adds two userdiff tests for R programming language
> files. These files define a simple function, with and without
> indentation.
>
> Signed-off-by: Rodrigo Carvalho <rodrigorsdc@gmail.com>
> ---
> diff --git a/t/t4018/r-indent b/t/t4018/r-indent
> @@ -0,0 +1,6 @@
> +RIGHT <- function(a, b) {
> +    c = mean(a, b)
> +    d = c + 2
> +    ChangeMe()
> +    return (d)
> +}

Although nontraditional, do we care that some people define functions using `=` rather than `<-`?

    foo = function(x) {...}
Previous: Rodrigo CarvalhoNext: Johannes Sixt
Message 3 of 9 in “userdiff: add support for R programming language”
  1. 1/2 userdiff: add support for R programming languageRodrigo Carvalho, May 25, 2025
  2. 2/2 t4018: add two userdiff tests for R languageRodrigo Carvalho, May 25, 2025
  3. Eric SunshineMay 25, 2025
  4. Johannes SixtMay 26, 2025
  5. Junio C HamanoMay 27, 2025
  6. Rodrigo CarvalhoMay 29, 2025
  7. userdiff: add support for R programming languageRodrigo Carvalho, May 29, 2025
  8. Junio C HamanoJun 3, 2025
  9. Johannes SixtJun 3, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.