Skip to content

Commit 11780b9

Browse files
authored
GH-35425: [R] Tests failures on R < 4.0 due to data.frame conversion (#35432)
* Closes: #35425 Authored-by: Nic Crane <[email protected]> Signed-off-by: Nic Crane <[email protected]>
1 parent 3948c42 commit 11780b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

r/tests/testthat/test-dataset-csv.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ test_that("CSV scan options", {
9191
sb$FragmentScanOptions(options)
9292

9393
tab <- sb$Finish()$ToTable()
94-
expect_equal_data_frame(tab, data.frame(chr = c("foo", NA)))
94+
expect_equal_data_frame(tab, data.frame(chr = c("foo", NA), stringsAsFactors = FALSE))
9595

9696
# Set default convert options in CsvFileFormat
9797
csv_format <- CsvFileFormat$create(

0 commit comments

Comments
 (0)