diff --git a/DESCRIPTION b/DESCRIPTION index 2262180..64797c8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -7,7 +7,6 @@ Description: Data stored in text file can be processed chunkwise using 'dplyr' c are recorded and executed per data chunk, so large files can be processed with limited memory using the 'LaF' package. License: GPL-2 -LazyData: TRUE BugReports: https://github.com/edwindj/chunked/issues URL: https://github.com/edwindj/chunked Depends: @@ -17,10 +16,11 @@ Imports: utils, rlang, DBI, - progress + progress, + tibble Suggests: testthat, RSQLite, dbplyr -RoxygenNote: 7.1.1 +RoxygenNote: 7.1.2 Encoding: UTF-8 diff --git a/NAMESPACE b/NAMESPACE index 2e087ba..0d0a23a 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -41,5 +41,6 @@ export(write_csv_chunkwise) export(write_table_chunkwise) import(dplyr) import(rlang) +importFrom(tibble,trunc_mat) importFrom(utils,head) importFrom(utils,tail) diff --git a/R/print.R b/R/print.R index 1c17c8f..4564c6f 100644 --- a/R/print.R +++ b/R/print.R @@ -1,3 +1,4 @@ +#' @importFrom tibble trunc_mat #' @export print.chunkwise <- function(x, n=NULL, width=NULL, ...){ h <- if (is.null(n)) head.chunkwise(x) else head.chunkwise(x,n)