westonpace commented on a change in pull request #11892:
URL: https://github.com/apache/arrow/pull/11892#discussion_r764459729
##########
File path: r/tests/testthat/test-csv.R
##########
@@ -447,5 +447,13 @@ test_that("write_csv_arrow deals with duplication in
include_headers/col_names",
)
expect_true(file.exists(csv_file))
expect_identical(tbl_no_dates, written_tbl)
+})
+
+test_that("read_csv_arrow() deals with BOMs (bite-order-marks) correctly", {
+ writeLines('\xef\xbb\xbfa,b\n1,2\n', con = csv_file)
Review comment:
Sorry, I should have noticed this before but it looks like there are
some R style violations
```suggestion
writeLines("\xef\xbb\xbfa,b\n1,2\n", con = csv_file)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]