From 796d7e49dcb20ba6d801e3d0bc6fa01ee45af5e9 Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Fri, 21 Jul 2023 08:10:37 -0500 Subject: [PATCH] Correction for array open given key --- R/TileDBArray.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/TileDBArray.R b/R/TileDBArray.R index e4b514a6cd..a102932acf 100644 --- a/R/TileDBArray.R +++ b/R/TileDBArray.R @@ -259,7 +259,7 @@ setMethod("schema", "tiledb_array", function(object, ...) { } .array_open <- function(ctxptr, uri, enckey=character()) { if (length(enckey) > 0) { - arr_xptr <- libtiledb_array_open(ctxptr, uri, "READ", enckey) + arr_xptr <- libtiledb_array_open_with_key(ctxptr, uri, "READ", enckey) } else { arr_xptr <- libtiledb_array_open(ctxptr, uri, "READ") }