powered by
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.
find_scope(frame = NULL, global = FALSE)
The frame to infer scope from.
Should the global frame be listed in the scope.
# NOT RUN { my_function <- function(){ scope <- find_scope() "You are in" %<<% collapse(scope, '::') } my_function() my_sights <- my_function my_sights() # }
Run the code above in your browser using DataLab