Skip to content

Commit

Permalink
Also show utils::osVersion (#532)
Browse files Browse the repository at this point in the history
* Also show utils::osVersion

* Skip second half of filestore test on Windows
  • Loading branch information
eddelbuettel committed Apr 3, 2023
1 parent e74fa45 commit de711cb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Expand Up @@ -4,10 +4,14 @@

* Query conditions can now be expressed for attributes of type UTF-8 (#529)

* The startup message now displays the operating system and version (#532)

## Build and Test Systems

* Testing for Groups reflect the stricter behavior in config setting requiring a close array (#530)

* The use of binary packages in continuous integration has been made a little more robust (#531)


# tiledb 0.19.0

Expand Down
1 change: 1 addition & 0 deletions R/Init.R
Expand Up @@ -61,6 +61,7 @@
if (interactive()) {
packageStartupMessage("TileDB R ", packageVersion("tiledb"),
" with TileDB Embedded ", format(tiledb_version(TRUE)),
" on ", utils::osVersion,
". See https://tiledb.com for more information.")
}
}
Expand Down
3 changes: 3 additions & 0 deletions inst/tinytest/test_filestore.R
Expand Up @@ -4,6 +4,8 @@ library(tiledb)
isOldWindows <- Sys.info()[["sysname"]] == "Windows" && grepl('Windows Server 2008', osVersion)
if (isOldWindows) exit_file("skip this file on old Windows releases")

isWindows <- Sys.info()[["sysname"]] == "Windows"

ctx <- tiledb_ctx(limitTileDBCores())

if (tiledb_version(TRUE) < "2.9.0") exit_file("Needs TileDB 2.9.* or later")
Expand All @@ -18,6 +20,7 @@ expect_true(inherits(tiledb_filestore_schema_create(), "tiledb_array_schema"))
expect_true(inherits(tiledb_filestore_schema_create(text_file), "tiledb_array_schema"))
expect_error(tiledb_filestore_schema_create("does_not_exist"))

if (isWindows) exit_file("Skip remainder as tests randomly fail")

tempuri <- tempfile()
res <- tiledb_filestore_schema_create(text_file) # schema from text_file
Expand Down

0 comments on commit de711cb

Please sign in to comment.