11# MIT License
22#
3- # Copyright (c) 2017-2024 TileDB Inc.
3+ # Copyright (c) 2017-2025 TileDB Inc.
44#
55# Permission is hereby granted, free of charge, to any person obtaining a copy
66# of this software and associated documentation files (the "Software"), to deal
@@ -102,7 +102,7 @@ tiledb_vfs_remove_bucket <- function(uri, vfs = tiledb_get_vfs()) {
102102# ' cfg["vfs.s3.region"] <- "us-west-1"
103103# ' ctx <- tiledb_ctx(cfg)
104104# ' vfs <- tiledb_vfs()
105- # ' tiledb_vfs_is_bucket(vfs, "s3://tiledb-public-us-west-1/test-array-4x4")
105+ # ' tiledb_vfs_is_bucket("s3://tiledb-public-us-west-1/test-array-4x4", vfs = vfs )
106106# ' }
107107tiledb_vfs_is_bucket <- function (uri , vfs = tiledb_get_vfs()) {
108108 stopifnot(
@@ -167,7 +167,7 @@ tiledb_vfs_create_dir <- function(uri, vfs = tiledb_get_vfs()) {
167167
168168# ' Test for VFS Directory
169169# '
170- # ' @param uri Character variable with a URI describing a diretory path
170+ # ' @param uri Character variable with a URI describing a directory path
171171# ' @param vfs A TileDB VFS object; default is to use a cached value.
172172# ' @return A boolean value indicating if it is a directory
173173# ' @export
@@ -181,7 +181,7 @@ tiledb_vfs_is_dir <- function(uri, vfs = tiledb_get_vfs()) {
181181
182182# ' Remove a VFS Directory
183183# '
184- # ' @param uri Character variable with a URI describing a diretory path
184+ # ' @param uri Character variable with a URI describing a directory path
185185# ' @param vfs A TileDB VFS object; default is to use a cached value.
186186# ' @return The uri value of the removed directory
187187# ' @export
@@ -320,7 +320,7 @@ tiledb_set_vfs <- function(vfs) {
320320# ' @return A TileDB VFS Filehandle object (as an external pointer)
321321# ' @export
322322tiledb_vfs_open <- function (
323- binfile ,
323+ binfile ,
324324 mode = c(" READ" , " WRITE" , " APPEND" ),
325325 vfs = tiledb_get_vfs(),
326326 ctx = tiledb_get_context()
@@ -336,7 +336,7 @@ tiledb_vfs_open <- function(
336336
337337# ' Close a TileDB VFS Filehandle
338338# '
339- # ' @param fh A TileDB VFS Filehandle external pointer as returned from
339+ # ' @param fh A TileDB VFS Filehandle external pointer as returned from
340340# ' \code{tiledb_vfs_open}
341341# ' @param ctx (optional) A TileDB Ctx object
342342# ' @return The result of the close operation is returned.
@@ -351,7 +351,7 @@ tiledb_vfs_close <- function(fh, ctx = tiledb_get_context()) {
351351
352352# ' Sync a TileDB VFS Filehandle
353353# '
354- # ' @param fh A TileDB VFS Filehandle external pointer as returned from
354+ # ' @param fh A TileDB VFS Filehandle external pointer as returned from
355355# ' \code{tiledb_vfs_open}
356356# ' @param ctx (optional) A TileDB Ctx object
357357# ' @return The result of the sync operation is returned.
@@ -366,12 +366,12 @@ tiledb_vfs_sync <- function(fh, ctx = tiledb_get_context()) {
366366
367367# ' Write to a TileDB VFS Filehandle
368368# '
369- # ' This interface currently defaults to using an integer vector. This is suitable
370- # ' for R objects as the raw vector result from serialization can be mapped easily
371- # ' to an integer vector. It is also possible to \code{memcpy} to the contiguous
369+ # ' This interface currently defaults to using an integer vector. This is suitable
370+ # ' for R objects as the raw vector result from serialization can be mapped easily
371+ # ' to an integer vector. It is also possible to \code{memcpy} to the contiguous
372372# ' memory of an integer vector should other (non-R) data be transferred.
373- # '
374- # ' @param fh A TileDB VFS Filehandle external pointer as returned from
373+ # '
374+ # ' @param fh A TileDB VFS Filehandle external pointer as returned from
375375# ' \code{tiledb_vfs_open}
376376# ' @param vec An integer vector of content to be written
377377# ' @param ctx (optional) A TileDB Ctx object
@@ -388,14 +388,14 @@ tiledb_vfs_write <- function(fh, vec, ctx = tiledb_get_context()) {
388388
389389# ' Read from a TileDB VFS Filehandle
390390# '
391- # ' This interface currently defaults to reading an integer vector. This is
392- # ' suitable for R objects as a raw vector used for (de)serialization can be
393- # ' mapped easily to an integer vector. It is also possible to \code{memcpy} to
394- # ' the contiguous memory of an integer vector should other (non-R) data
391+ # ' This interface currently defaults to reading an integer vector. This is
392+ # ' suitable for R objects as a raw vector used for (de)serialization can be
393+ # ' mapped easily to an integer vector. It is also possible to \code{memcpy} to
394+ # ' the contiguous memory of an integer vector should other (non-R) data
395395# ' be transferred.
396- # ' @param fh A TileDB VFS Filehandle external pointer as returned from
396+ # ' @param fh A TileDB VFS Filehandle external pointer as returned from
397397# ' \code{tiledb_vfs_open}
398- # ' @param offset A scalar value with the byte offset from the beginning of the
398+ # ' @param offset A scalar value with the byte offset from the beginning of the
399399# ' file with a of zero.
400400# ' @param nbytes A scalar value with the number of bytes to be read.
401401# ' @param ctx (optional) A TileDB Ctx object
@@ -546,7 +546,7 @@ tiledb_vfs_copy_dir <- function(dir, uri, vfs = tiledb_get_vfs()) {
546546# ' size in bytes
547547# ' @export
548548tiledb_vfs_ls_recursive <- function (
549- uri ,
549+ uri ,
550550 vfs = tiledb_get_vfs(),
551551 ctx = tiledb_get_context()
552552) {
0 commit comments