Description Usage Arguments Examples
This find the scope of the call. It includes the package of the call, the class if called from a method, and the name of the function called.
1 | find_scope(frame = NULL, global = FALSE)
|
frame |
The frame to infer scope from. |
global |
Should the global frame be listed in the scope. |
1 2 3 4 5 6 7 8 | my_function <- function(){
scope <- find_scope()
"You are in" %<<% collapse(scope, '::')
}
my_function()
my_sights <- my_function
my_sights()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.