pachamaltese commented on a change in pull request #9743:
URL: https://github.com/apache/arrow/pull/9743#discussion_r597914767



##########
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:
       I ask because codec_is_available("snappy") leaves space for expect_error
   




-- 
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]


Reply via email to