Description Usage Arguments Details Value Examples
Detects if the function is being used in a magrittr pipe
1 |
... |
arguments |
Examines parent.frames to see if the function is being used in a magrittr pipe. This is useful when the presence of a pipe effects what you need to do.
logical
1 2 3 4 | "foo" %>% ( function(x) inside_pipe() )
f <- function(x) inside_pipe(x)
"foo" %>% f
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.