title: use of builtin function n with summarize_if
body: <p>I am attempting a basic dplyr::summarize_if on a df with the built-in n function:</p>
  
  <pre><code>###Seems like this should work
  df %&gt;% summarise_if(is.numeric, funs(n, mean, sd, min, max), na.rm = TRUE)  
  
  Error in summarise_impl(.data, dots) : `n()` does not take arguments
  </code></pre>
  
  <p><br>  </p>
  
  <pre><code>###Works fine without the n
  
  df %&gt;% summarise_if(is.numeric, funs(mean, sd, min, max), na.rm = TRUE)  
  A tibble: 1 x 104
  </code></pre>
  
  <p>I've tried <code>n()</code> and <code>n(.)</code> (which of course wouldn't expect to work and don't). </p>
  
  <p><br></p>
  
  <p>Any secret I'm missing to using <code>funs(n)</code> in a <code>summarise_if</code>? </p>