I'd like to search a public repository on github to find where the software defines a given function. It seems this should be straight forward using the advanced search. Not sure if I'm not understanding the filters or if the functions just are not defined.
For example, imagine I want to find where Hadley's facet_wrap
function is defined within the ggplot2 repository (it's here.)
I try the advanced search bar selecting Search "Code", written in "R" and enter
facet_wrap repo:ggplot2
And I get no results. Have I formed the query incorrectly?