cytomining/cytominer

Incorporate workaround so that SQLite extensions work

shntnu opened this issue · 1 comments

Change

data <- dplyr::copy_to(dplyr::src_sqlite(":memory:", create = T), data)

to

db <- DBI::dbConnect(RSQLite::SQLite(), ":memory:")

RSQLite::initExtension(db)

data <- dplyr::copy_to(db, data)

which is a temporary fix for extension functions not being loaded

See tidyverse/dplyr#3093