bunch(from = parent.frame())
grow(rbind, from = "base") bunch() # has "%rbind%" myfun = function(x, y) x + y env = new.env() grow(myfun, to = env) bunch() # has "%rbind%" bunch(from = env) # "%myfun%"
Run the code above in your browser using DataCamp Workspace