Skip to content

Commit

Permalink
arrow_with_dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
tdhock committed Jul 16, 2024
1 parent 8e2fd29 commit 6fd9e74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Authors@R: c(
person("Toby", "Hocking",
email="toby.hocking@r-project.org",
role=c("aut", "cre")))
Version: 2024.2.21
Version: 2024.7.16
License: GPL-3
Title: Named Capture to Data Tables
Description: User-friendly functions for extracting a data
Expand Down
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Changes in version 2024.7.16

- arrow::arrow_with_dataset() to avoid CRAN NOTE.

Changes in version 2024.2.21

- various minor updates, thanks CRAN.
Expand Down
2 changes: 1 addition & 1 deletion R/capture_first_glob.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ capture_first_glob <- structure(function
(data.chunk.dt <- nc::capture_first_glob(glob, data.chunk.pattern, READ=read.bedGraph))

## Write same data set in Hive partition, then re-read.
if(requireNamespace("arrow")){
if(requireNamespace("arrow") && arrow::arrow_with_dataset()){
path <- tempfile()
max_rows_per_file <- if(interactive())3 else 1000
arrow::write_dataset(
Expand Down

0 comments on commit 6fd9e74

Please sign in to comment.