Open eddelbuettel opened 6 years ago
R> AP <- available.packages() R> rl <- tools::package_dependencies(c("DBI", "crayon", "data.table", + "config", "liteq", "RSQLite"), + db=AP, recursive=TRUE) R> unique(sort(do.call(c, rl))) [1] "assertthat" "BH" "bit" "bit64" "blob" [6] "cli" "crayon" "DBI" "digest" "grDevices" [11] "memoise" "methods" "pillar" "pkgconfig" "plogr" [16] "rappdirs" "Rcpp" "rlang" "RSQLite" "stats" [21] "tibble" "tools" "utf8" "utils" "yaml" R>
Main culprit here is RSQLite. We don't really need all that SQL power here (or in liteq). Maybe just write data.table to disk via saveRDS() and put a file lock around that?
RSQLite
liteq
data.table
saveRDS()
There is now a lighter RSQLite variant in this experimental fork.
And a blog post discusses the wider context of dependencies.
Main culprit here is
RSQLite
. We don't really need all that SQL power here (or inliteq
). Maybe just writedata.table
to disk viasaveRDS()
and put a file lock around that?