codegrip
codegrip copied to clipboard
Reshaping and navigation commands for R code
E.g. it might be nice to be able to take `here("foo/bar/baz.R")` to `here("foo", "bar", "baz.R")`?
See https://github.com/tidyverse/style/issues/173#issuecomment-904073980 and https://github.com/tidyverse/style/pull/174 for context. CC @lionel-.
Currently: https://r-universe.dev/search/?q=codegrip . In some use cases, installing from r-universe is easier than from GitHub.
Hi, I just tested this and it works great! Nevertheless, I only got it working in .R documents (R Scripts) and not in .Rmd (R Markdown). Am I doing something...
This is a feature request, e.g. to turn `c("a", "b", "c")` into `c(a, b, c)` and vice-versa This is already a feature in [datapasta](https://github.com/MilesMcBain/datapasta) but in my experience is a...
`lapply(x, f, 1, 2, 3)` to `lapply(x, \(i) f(i, 1, 2, 3))`
It's a fairly big need to have an R tool that automatically fixes excessive line lengths, especially if you have a large code base which is failing the bioconductor checks...
```R foo(x, y) # x |> foo(y) ```