R/enclosing.R
enclosing_env.Rd
This is a wrapper around environment with a consistent syntax.
environment
enclosing_env(f)
The name of a function.
enclosing_env("plot") #> <environment: namespace:base> enclosing_env("t.test") #> <environment: namespace:stats>