Skip to content

Commit

Permalink
Ensure 2.26 or later for tests with newly added functions
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Aug 8, 2024
1 parent cf8de45 commit 8c85726
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inst/tinytest/test_arrayschema.R
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ expect_true(allows_dups(sch))


## current domain
if (tiledb_version(TRUE) < "2.25.0") exit_file("Needs TileDB 2.25.* or later")
if (tiledb_version(TRUE) < "2.26.0") exit_file("Needs TileDB 2.26.* or later")
expect_error(tiledb_array_schema_get_current_domain(dom)) # wrong object
expect_silent(cd <- tiledb_array_schema_get_current_domain(sch))
expect_silent(tiledb_array_schema_set_current_domain(sch, cd))
Expand Down
2 changes: 1 addition & 1 deletion inst/tinytest/test_arrayschemaevolution.R
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ expect_equal(levels(v), enums)
expect_equal(as.integer(v), c(1:5,5:1))

## current domain
if (tiledb_version(TRUE) < "2.25.0") exit_file("Needs TileDB 2.25.* or later")
if (tiledb_version(TRUE) < "2.26.0") exit_file("Needs TileDB 2.26.* or later")
uri <- tempfile()
dim <- tiledb_dim("dim", c(1L, 1000L), 50L, type = "INT32")
dom <- tiledb_domain(dim = dim)
Expand Down
2 changes: 1 addition & 1 deletion inst/tinytest/test_ndrectangle.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library(tiledb)

ctx <- tiledb_ctx(limitTileDBCores())

if (tiledb_version(TRUE) < "2.25.0") exit_file("These tests needs TileDB 2.25.0 or later")
if (tiledb_version(TRUE) < "2.26.0") exit_file("These tests needs TileDB 2.26.0 or later")

for (tp in c("INT32", "UINT32", "INT16", "UINT16", "INT64", "UINT64", "INT8", "UINT8", "FLOAT32", "FLOAT64")) {
if (grepl("INT64", tp)) {
Expand Down

0 comments on commit 8c85726

Please sign in to comment.