I am curious about how the function n from dplyr is programmed. When evaluating n in the dplyr env, all I get is this:
function () 
{
    stop("This function should not be called directly")
}
<environment: namespace:dplyr>
Maybe it's a silly question but, where is it defined? How come it works when called inside some other functions? In which env is it hidden?
Thanks for your help
 
     
    