Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (0m)  pkgsrc-2024Q1 (9d)  pkgsrc-2023Q4 (55d)  pkgsrc-2023Q2 (88d)  pkgsrc-2023Q3 (167d) 

2024-05-26 13:13:36 UTC Now

2023-06-03 13:51:56 UTC MAIN commitmail json YAML

(textproc/R-foramtR) Updated 1.11 to 1.14

https://github.com/yihui/formatR/releases/
1.14
- tidy_source() supports the := operator now (which is widely used in
  data.table).

1.13
- tidy_source() supports anonymous functions of the form \(args) expr
  for R >= 4.1.0 now (thanks, @notPlancha, #98).

1.12
- Added a new argument pipe to tidy_source(). If pipe = TRUE, it will
  convert the magrittr pipe %>% to the base R pipe operator |>.
- Added a function tidy_rstudio() to reformat R code in the RStudio
  editor.
- Added a function tidy_pipe() to substitute %>% with |> (currently
  works only in RStudio).

(mef)