title: Provide multiple function arguments by one variable
body: <p>When working with packages like <code>openxlsx</code>, I often find myself writing repetetive code such as defining the <code>wb</code> and <code>sheet</code> arguments with the same values.</p>
  <p>To respect the DRY principle, I would like to define one variable that contains multiple arguments. Then, when I call a function, I should be able to provide said variable to define multiple arguments.</p>
  <p>Example:</p>
  <pre><code>foo &lt;- list(a=1,b=2,c=3)
    
  bar &lt;- function(a,b,c,d) {
    return(a+b+c+d)
  }
  
  bar(foo, d=4) # should return 10
  </code></pre>
  <p>How should the <code>foo()</code> function be defined to achieve this?</p>