srcrefs over an iterable object, Filtering non-srcref resultsMap srcrefs over an iterable object, Filtering non-srcref results
flat_map_srcrefs(xs, ns = NULL, breadcrumbs = character())A list of srcrefs
Any iterable object
A character namespace name to attribute to objects in xs. If
xs objects themselves have namespaces attributed already to them, the
namespace will not be replaced.
Recursive methods are expected to propegate a vector of "breadcrumbs" (a character vector of namespace names encountered while traversing the namespace used as a memory of what we've seen already), which is used for short-circuiting recursive environment traversal.