Skip to content

Commit

Permalink
Doc fix: add missing bare infinitive
Browse files Browse the repository at this point in the history
  • Loading branch information
cgiachalis committed Dec 10, 2024
1 parent 55e88e4 commit 80b2709
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/NDRectangle.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ tiledb_ndrectangle <- function(dom, ctx = tiledb_get_context()) {
tiledb_ndrectangle_set_range <- function(ndr, dimname, start, end) {
stopifnot(
"The first argument must be a TileDB NDRectangle object" = is(ndr, "tiledb_ndrectangle"),
"The second argument must a single character object" = is.character(dimname) &&
"The second argument must be a single character object" = is.character(dimname) &&
length(dimname) == 1,
"The third argument must be scalar" = length(start) == 1,
"The fourth argument must be scalar" = length(end) == 1,
Expand Down Expand Up @@ -108,7 +108,7 @@ tiledb_ndrectangle_set_range <- function(ndr, dimname, start, end) {
tiledb_ndrectangle_get_range <- function(ndr, dimname) {
stopifnot(
"The first argument must be a TileDB NDRectangle object" = is(ndr, "tiledb_ndrectangle"),
"The second argument must a single character object" = is.character(dimname) &&
"The second argument must be a single character object" = is.character(dimname) &&
length(dimname) == 1,
"This function needs TileDB 2.26.0 or later" = tiledb_version(TRUE) >= "2.26.0"
)
Expand Down Expand Up @@ -157,7 +157,7 @@ tiledb_ndrectangle_dim_num <- function(ndr) {
tiledb_ndrectangle_datatype <- function(ndr, dimname) {
stopifnot(
"The first argument must be a TileDB NDRectangle object" = is(ndr, "tiledb_ndrectangle"),
"The second argument must a single character object" = is.character(dimname) &&
"The second argument must be a single character object" = is.character(dimname) &&
length(dimname) == 1,
"This function needs TileDB 2.26.0 or later" = tiledb_version(TRUE) >= "2.26.0"
)
Expand All @@ -182,7 +182,7 @@ tiledb_ndrectangle_datatype <- function(ndr, dimname) {
tiledb_ndrectangle_datatype_by_ind <- function(ndr, dim) {
stopifnot(
"The first argument must be a TileDB NDRectangle object" = is(ndr, "tiledb_ndrectangle"),
"The second argument must a single numeric object" = is.numeric(dim) &&
"The second argument must be a single numeric object" = is.numeric(dim) &&
length(dim) == 1,
"This function needs TileDB 2.26.0 or later" = tiledb_version(TRUE) >= "2.26.0"
)
Expand Down

0 comments on commit 80b2709

Please sign in to comment.