Skip to content

Commit

Permalink
fix test skips
Browse files Browse the repository at this point in the history
  • Loading branch information
nbenn committed Dec 22, 2023
1 parent fd4a193 commit 5f36103
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion R/dbBind_AdbiResult.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dbBind_AdbiResult <- function(res, params, ...) {
}

if (is.list(params) && !inherits(params, "data.frame")) {
params <- as.data.frame(params, fix.empty.names = FALSE)
params <- as.data.frame(lapply(params, I), fix.empty.names = FALSE)
}

if (!isTRUE(meta(res, "prepared"))) {
Expand Down
2 changes: 1 addition & 1 deletion R/dbColumnInfo_AdbiResult.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dbColumnInfo_AdbiResult <- function(res, ...) {
data.frame(
name = names(ret),
type = vapply(ret, `[[`, character(1L), "type"),
storage_type = vapply(ret, `[[`, character(1L), "storage_type"),
.storage_type = vapply(ret, `[[`, character(1L), "storage_type"),
row.names = NULL
)
}
Expand Down
2 changes: 2 additions & 0 deletions R/nanoarrow.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ infer_nanoarrow_schema.AsIs <- function(x, ...) {
#' @export
infer_nanoarrow_schema.list <- function(x, ...) {

x[vapply(x, is.null, logical(1))] <- list(as.raw(NULL))

is_raw <- vapply(x, is.raw, logical(1))

if (!all(is_raw)) {
Expand Down
3 changes: 0 additions & 3 deletions tests/testthat/test-DBItest.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ if (identical(Sys.getenv("NOT_CRAN"), "true") &&

# misc issues with poorly understood causes
"append_table_new", # SQL error
"column_info",
"bind_raw",
"arrow_bind_raw",
"bind_factor", # no warnings?
"arrow_bind_factor", # no warnings?
"read_table_empty",
Expand Down

0 comments on commit 5f36103

Please sign in to comment.