Skip to content

Commit

Permalink
relax two more test file and update one URL (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel authored Oct 7, 2020
1 parent 864557e commit bc54235
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion inst/tinytest/test_attr.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ library(tiledb)

ctx <- tiledb_ctx(limitTileDBCores())

isOldWindows <- Sys.info()[["sysname"]] == "Windows" && grepl('Windows Server 2008', osVersion)

#test_that("tiledb_attr constructor works", {
a1 <- tiledb_attr(type = "FLOAT64")
expect_true(is(a1, "tiledb_attr"))
Expand Down Expand Up @@ -50,8 +52,9 @@ tiledb:::libtiledb_attribute_set_cell_val_num(attrs@ptr, NA_integer_)
expect_true(is.na(tiledb::cell_val_num(attrs)))
#})

t#est_that("tiledb_attr set fill", {
#test_that("tiledb_attr set fill", {
if (tiledb_version(TRUE) < "2.1.0") exit_file("Needs TileDB 2.1.* or later")
if (isOldWindows) exit_file("skip remainder of this file on old Windows releases")

## test for default
dom <- tiledb_domain(dims = tiledb_dim("rows", c(1L, 4L), 4L, "INT32"))
Expand Down
3 changes: 3 additions & 0 deletions inst/tinytest/test_ctx.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
library(tinytest)
library(tiledb)

isOldWindows <- Sys.info()[["sysname"]] == "Windows" && grepl('Windows Server 2008', osVersion)
if (isOldWindows) exit_file("skip this file on old Windows releases")

tiledb_ctx(limitTileDBCores())

#test_that("tiledb_ctx default constructor", {
Expand Down
3 changes: 1 addition & 2 deletions vignettes/introduction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,7 @@ numb
[examples/](https://github.com/TileDB-Inc/TileDB-R/tree/master/inst/examples) directory.

TileDB itself has extensive [installation](https://docs.tiledb.com/developer/installation),
[quickstart](https://docs.tiledb.com/developer/quickstart), and [overall
documentation](https://docs.tiledb.com/developer/) as well as a [support forum](https://forum.tiledb.com/).
and [overall documentation](https://docs.tiledb.com/developer/) as well as a [support forum](https://forum.tiledb.com/).

[ex_1]: https://github.com/TileDB-Inc/TileDB-R/blob/master/inst/examples/ex_1.R
[ex_2]: https://github.com/TileDB-Inc/TileDB-R/blob/master/inst/examples/ex_2.R
Expand Down

0 comments on commit bc54235

Please sign in to comment.