Commits


eitsupi authored and GitHub committed 18e255ed758
GH-34339: [R] Add `skip_rows_after_names` option to `read_csv_arrow`'s options (#34340) ### Rationale for this change The `skip_rows_after_names` option implemented in C++ was not exposed to R. ### What changes are included in this PR? The new `skip_rows_after_names` option is now available for the `read_csv_arrow` function. ``` r > csv <- "a,b\n1,2\n3,4" > arrow::read_csv_arrow(I(csv), read_options = list(skip_rows_after_names = 1)) # A tibble: 1 × 2 a b <int> <int> 1 3 4 ``` ### Are these changes tested? Tests are added for the new option. ### Are there any user-facing changes? The new `skip_rows_after_names` option can be used. * Closes: #34339 Lead-authored-by: SHIMA Tatsuya <ts1s1andn@gmail.com> Co-authored-by: eitsupi <50911393+eitsupi@users.noreply.github.com> Co-authored-by: Nic Crane <thisisnic@gmail.com> Signed-off-by: Nic Crane <thisisnic@gmail.com>