Find srcrefs for namespace functions copied from another function
Source:R/srcrefs.R
copied_srcrefs.RdA function rebuilt from another one, for example by changing its default
arguments with formals<-, loses its own srcref but keeps the original
body, along with the body's srcrefs. Such a function is given the
srcref of the namespace function whose body has exactly the same
srcrefs, so both share code and tests, as an alias (a <- b) does.
Usage
copied_srcrefs(ns, exclude = character())