Description Usage Arguments References Examples
View source: R/get_pipe_source_name.R
Get the name from the object at the front of a pipe.
1 |
data; |
data.frame-like object |
1 2 3 4 5 6 7 8 9 10 11 12 | my_dt <- data.table(letters=letters[1:5])
fun <- function(data) {
# browser()
get_orig_name()
# data
}
my_dt %>% get_pipe_source_name()
my_dt %>% fun()
# Not Exported
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.