Skip to content

Commit

Permalink
Mark three return preference arguments to tiledb_array as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Jul 11, 2023
1 parent 26ddce9 commit 02b829c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/TileDBArray.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ tiledb_array <- function(uri,
array_xptr <- libtiledb_array_open(ctx@ptr, uri, query_type)
}

## Deprecated July 2023, to removed by July 2024 or later
if (as.data.frame) .Deprecated(old="as.data.frame", new=r"(return_as="data.frame")")
if (as.matrix) .Deprecated(old="as.matrix", new=r"(return_as="matrix")")
if (as.array) .Deprecated(old="as.array", new=r"(return_as="array")")

if (length(timestamp_start) > 0) {
libtiledb_array_set_open_timestamp_start(array_xptr, timestamp_start)
}
Expand Down

0 comments on commit 02b829c

Please sign in to comment.