Skip to contents

Occasionally I want to track down the source across all packages of a piece of code. This solution was motivated by trying to track down use of an unexported function from a package. This function searches all function definitions in your package library (both exports and non-exports) for a particular string.

Usage

where_the_hell_is_it(str)

Arguments

str

Character to search for

Examples

if (FALSE) {
 where_the_hell_is_it("yaml_load_file")
}