Skip to content

Commit 475af7b

Browse files
committed
prefix with vctrs::
1 parent 5bb22b2 commit 475af7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/store.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ ragnar_store_insert <- function(store, chunks) {
345345
cols <- map2(names(schema), schema, function(nm, ptype) {
346346
# Ensures that the column in chunks has the expected ptype. (or at least
347347
# something that can be cast to the correct ptype with no loss)
348-
col <- vec_cast(chunks[[nm]], ptype, x_arg = glue::glue("chunks${nm}"))
348+
col <- vctrs::vec_cast(chunks[[nm]], ptype, x_arg = glue::glue("chunks${nm}"))
349349

350350
if (is.matrix(col) && is.numeric(col)) {
351351
stri_c("array_value(", col |> asplit(1) |> map_chr(stri_flatten, ", "), ")")

0 commit comments

Comments
 (0)