title: Passing enquo expression to subfunction
body: <p>This question is related to <a href="https://stackoverflow.com/questions/52845318/passing-variables-to-functions-that-use-enquo">Passing variables to functions that use `enquo()`</a>.</p>
  <p>I have a higher function with arguments of a tibble (<code>dat</code>) and the columns of interest in dat (<code>variables_of_interest_in_dat</code>). Within that function, there is a call to another function to which I want to pass <code>variables_of_interest_in_dat</code>.</p>
  <pre><code>higher_function &lt;- function(dat, variables_of_interest_in_dat){
      variables_of_interest_in_dat &lt;- enquos(variables_of_interest_in_dat)
  
      lower_function(dat, ???variables_of_interest_in_dat???)
      }
      
  lower_function &lt;- function(dat, variables_of_interest_in_dat){
      variables_of_interest_in_dat &lt;- enquos(variables_of_interest_in_dat)
         
      dat %&gt;%
           select(!!!variables_of_interest_in_dat)
      }
  </code></pre>
  <p>What is the recommended way to pass <code>variables_of_interest_in_dat</code> to lower_function?</p>
  <p>I have tried <code>lower_function(dat, !!!variables_of_interest_in_dat)</code> but when I run <code>higher_function(mtcars, cyl)</code> this returns &quot;Error: Can't use <code>!!!</code> at top level.&quot;</p>
  <p>In the related post, the higher_function did not enquo the variables before passing them to lower function.</p>
  <p>Thank you</p>