nealrichardson commented on a change in pull request #9743:
URL: https://github.com/apache/arrow/pull/9743#discussion_r597950772
##########
File path: r/tests/testthat/test-parquet.R
##########
@@ -234,3 +234,17 @@ test_that("ParquetFileReader $ReadRowGroup(s) methods", {
expect_true(reader$ReadRowGroups(c(0, 1), 0) == Table$create(x = 1:20))
expect_error(reader$ReadRowGroups(c(0, 1), 1))
})
+
+test_that("Error messages are shown when the compression algorithm lz4/snappy
+ is not found", {
+ skip_on_cran()
+ if (codec_is_available("snappy")) {
+ d <- read_parquet(system.file("extdata", "pets.parquet", package =
"arrow"))
Review comment:
My point about `skip_if_not_available("snappy")` is that you can find
other tests in this file that use a test file with snappy compression already.
I wasn't suggesting that you use it in your test.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]