Skip to content

Commit

Permalink
Disabling arrow unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Mar 21, 2024
1 parent c3fde90 commit 9b6c871
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions tests/testthat/test-object.R
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,15 @@ test_that("isAndromedaTable sqlite version", {
expect_true(isAndromedaTable(dplyr::mutate(a$cars, a = 1)))
})

test_that("isAndromedaTable arrow version", {
skip_if_not_installed("arrow")

path <- tempfile()
arrow::write_feather(cars, path)
ds <- arrow::open_dataset(path, format = "feather")
class(ds)
expect_true(isAndromedaTable(ds))
expect_true(isAndromedaTable(dplyr::mutate(ds, a = 1)))
})
# Disabling arrow unit test, since there are no short-term plans to switch to arrow:
# test_that("isAndromedaTable arrow version", {
# skip_if_not_installed("arrow")
#
# path <- tempfile()
# arrow::write_feather(cars, path)
# ds <- arrow::open_dataset(path, format = "feather")
# class(ds)
# expect_true(isAndromedaTable(ds))
# expect_true(isAndromedaTable(dplyr::mutate(ds, a = 1)))
# })

0 comments on commit 9b6c871

Please sign in to comment.