breakerofchains
breakerofchains copied to clipboard
Break your chain at the cursor line. Run the first bit. See the output. Be free.
I'm using breaker of chains in a {targets} pipeline and had the experience of the following code ```r my_target = some_function(p1, p2) |> do_thing(), > Error in parse(text = broken_chain)...
In case anyone has any interest in more support for this wonderful library. https://github.com/jsilve24/ess-breakerofchains Thank you very much for all your hard work! Best, Justin
With the following code: ``` diamonds %>% mutate(cut = str_to_lower(cut) %>% str_replace_all(" ", "_")) %>% mutate(xy = x + y) ``` Using the breaker at line two produces an error...
... it needs to be remotes::install_github("MilesMcBain/breakerofchains@main"), no?
This is an amazing and time-saving innovation, thank you. Would you consider exposing [`find_chain_start()`](https://github.com/MilesMcBain/breakerofchains/blob/main/R/chain_break.R#L49)? I'm specifically thinking of the use case for `View()` clones like my [`br()`](https://gvelasq.github.io/tidytab/reference/br.html) function, which I...
e.g. in script ```r library(dplyr) print("hi") mtcars %>% filter(gear > 3) %>% filter() ``` with selection like the whole script is run. Not a dealbreaker, but surprising.
First, thank you for this. It is really useful! I was wondering if it would be difficult to make it work when the cursor is within a function. For example,...