title: dplyr::starts_with and ends_with not subsetting based on arguments
body: <p>I want to select a number of variables based on thier names to transform them. The variable names all start with <code>inq</code> and end with <code>7, 8, 10, 13:15</code>. This is not working for me... Apologies if this is obvious, but I cannot get it to work. Am I using the wrong functions, putting my functions and arguments together wrong, or something else? </p>
  
  <p>A reproducible example: </p>
  
  <pre class="lang-r prettyprint-override"><code>structure(list(inq1_1 = c(NA, 7, 5, 1, 1, 6, 5, 2, NA, NA), inq1_2 = c(NA, 
  7, 5, 1, 1, 6, 5, 5, NA, NA), inq1_3 = c(NA, 6, 4, 2, 1, 5, 2, 
  1, NA, NA), inq1_4 = c(NA, 6, 6, 1, 1, 6, 5, 1, NA, NA), inq1_5 = c(NA, 
  7, 3, 1, 1, 6, 2, 1, NA, NA), inq1_6 = c(NA, 7, 4, 4, 2, 7, 2, 
  4, NA, NA), inq1_7 = c(NA, 2, 4, 6, 7, 3, 1, 7, NA, NA), inq1_8 = c(NA, 
  1, NA, 2, 7, 2, 1, 4, NA, NA), inq1_9 = c(NA, 4, 6, 3, 1, 3, 
  7, 1, NA, NA), inq1_10 = c(NA, 3, 5, 7, 4, 4, 2, 7, NA, NA), 
      inq1_11 = c(NA, 5, 4, 7, 1, 6, 7, 6, NA, NA), inq1_12 = c(NA, 
      7, 5, 7, 4, 6, 7, 2, NA, NA), inq1_13 = c(NA, 3, 4, 6, 4, 
      3, 4, 4, NA, NA), inq1_14 = c(NA, 3, 2, 4, 4, 2, 1, 4, NA, 
      NA), inq1_15 = c(NA, 2, 2, 3, 5, 2, 4, 4, NA, NA), inqfinal_1 = c(5, 
      NA, 3, NA, NA, NA, NA, NA, NA, NA), inqfinal_2 = c(5, NA, 
      3, NA, NA, NA, NA, NA, NA, NA), inqfinal_3 = c(6, NA, 3, 
      NA, NA, NA, NA, NA, NA, NA), inqfinal_4 = c(5, NA, 3, NA, 
      NA, NA, NA, NA, NA, NA), inqfinal_5 = c(5, NA, 3, NA, NA, 
      NA, NA, NA, NA, NA), inqfinal_6 = c(6, NA, 3, NA, NA, NA, 
      NA, NA, NA, NA), inqfinal_7 = c(4, NA, 3, NA, NA, NA, NA, 
      NA, NA, NA), inqfinal_8 = c(2, NA, 3, NA, NA, NA, NA, NA, 
      NA, NA), inqfinal_9 = c(5, NA, 3, NA, NA, NA, NA, NA, NA, 
      NA), inqfinal_10 = c(4, NA, 3, NA, NA, NA, NA, NA, NA, NA
      ), inqfinal_11 = c(6, NA, 4, NA, NA, NA, NA, NA, NA, NA), 
      inqfinal_12 = c(6, NA, 4, NA, NA, NA, NA, NA, NA, NA), inqfinal_13 = c(4, 
      NA, 3, NA, NA, NA, NA, NA, NA, NA), inqfinal_14 = c(2, NA, 
      2, NA, NA, NA, NA, NA, NA, NA), inqfinal_15 = c(2, NA, 2, 
      NA, NA, NA, NA, NA, NA, NA)), row.names = c(NA, -10L), class = c("tbl_df", 
  "tbl", "data.frame"))
  </code></pre>
  
  <p>I am trying to become <code>tidy</code> and utilising <code>dplyr</code> as per the code below: </p>
  
  <pre class="lang-r prettyprint-override"><code># select specific columns
  sf_df %&gt;% select(starts_with("inq"),
                   ends_with(7, 8, 10, 13:15)) %&gt;% view(title = "test")
  </code></pre>
  
  <p>Alas, I get the following error: </p>
  
  <pre class="lang-r prettyprint-override"><code>Error in ends_with(7, 8, 10, 13:15) : unused argument (13:15)
  14. .f(.x[[i]], ...)
  13. map(.x[sel], .f, ...)
  12. map_if(ind_list, is_helper, eval_tidy)
  11. vars_select_eval(.vars, quos)
  10. tidyselect::vars_select(names(.data), !!!quos(...))
  9. select.data.frame(., starts_with("inq"), ends_with(7, 8, 10, 13:15))
  8. select(., starts_with("inq"), ends_with(7, 8, 10, 13:15))
  7. function_list[[i]](value)
  6. freduce(value, `_function_list`)
  5. `_fseq`(`_lhs`)
  4. eval(quote(`_fseq`(`_lhs`)), env, env)
  3. eval(quote(`_fseq`(`_lhs`)), env, env)
  2. withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
  1. sf_df %&gt;% select(starts_with("inq"), ends_with(7, 8, 10, 13:15)) %&gt;% view(title = "test")
  </code></pre>
  
  <p>Any help would be greatly appreciated! Thank you in advance. </p>
  
  <p>Cheers,
  Atanas.</p>