title: How to relocate several columns in one step using dplyr::relocate?
body: <p>I would like to reorder some columns to come after a particular other column using dplyr::relocate. Here is a MWE:</p>
  <pre><code>a &lt;- letters[1:3]
  b &lt;- letters[4:6]
  c &lt;- letters[7:9]
  d &lt;- letters[10:12]
  
  mytib &lt;- tibble::tibble(a,b,c,d)
  
  #  A tibble: 3 x 4
  #  a     b     c     d    
  #  &lt;chr&gt; &lt;chr&gt; &lt;chr&gt; &lt;chr&gt;
  # 1 a     d     g     j    
  # 2 b     e     h     k    
  # 3 c     f     i     l    
  
  mytib %&gt;%
       relocate(c, .after = a)
  </code></pre>
  <p>This example works but is there a way that I could, with one relocate command, move c after a and, say, d after b?</p>
  <p>I tried the following without success:</p>
  <pre><code>mytib %&gt;%
       relocate(c(c, d), .after(c(a, b)))
  </code></pre>
  <p>Edit 1: I explicitly ask about <code>relocate</code> because functions like <code>select</code> do not work for large datasets where all I know is after which column (name) I want to insert a column.</p>
  <p>Edit 2: This is my expected output:</p>
  <pre><code>#  A tibble: 3 x 4
  #  a     c     b     d    
  #  &lt;chr&gt; &lt;chr&gt; &lt;chr&gt; &lt;chr&gt;
  # 1 a     g     d     j    
  # 2 b     h     e     k    
  # 3 c     i     f     l   
  </code></pre>