Skip to content

Commit a6ef9b8

Browse files
committed
fixing CRAN issue
1 parent 653f6cc commit a6ef9b8

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: chunked
22
Type: Package
33
Title: Chunkwise Text-File Processing for 'dplyr'
4-
Version: 0.6.1
4+
Version: 0.6.2
55
Authors@R: c(person("Edwin", "de Jonge", email="edwindjonge@gmail.com", role=c("aut","cre"), comment = c(ORCID = "0000-0002-6580-4718")))
66
Description: Data stored in text file can be processed chunkwise using 'dplyr' commands. These
77
are recorded and executed per data chunk, so large files can be processed with

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Version 0.6.2
2+
* changed argument `add` into `.add` in `group_by`
3+
* changed argument `keep` into `.keep` in `group_split`
4+
15
# Version 0.6
26
* removed dependency on trunc_mat (change in dplyr)
37

R/verbs.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,20 +120,20 @@ group_vars.chunkwise <- function(x){
120120

121121

122122
#' @export
123-
group_by.chunkwise <- function(.data, ..., add=FALSE){
123+
group_by.chunkwise <- function(.data, ..., .add=FALSE){
124124
.data$.warn <- TRUE
125125
dots <- enexprs(...)
126-
dots$add <- add
126+
dots$.add <- .add
127127
cmd <- quo(group_by(.data, !!!dots))
128128
record(.data, cmd)
129129
}
130130

131131
#' @export
132-
group_split.chunkwise <- function(.tbl, ..., keep = TRUE){
132+
group_split.chunkwise <- function(.tbl, ..., .keep = TRUE){
133133
#.data$.warn <- TRUE
134134
.data <- .tbl
135135
dots <- enexprs(...)
136-
dots$keep <- keep
136+
dots$.keep <- .keep
137137
cmd <- quo(group_split(.data, !!!dots))
138138
record(.data, cmd)
139139
}

0 commit comments

Comments
 (0)