You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,26 @@
1
+
# collapse 2.1.7
2
+
3
+
* The *collapse* article is now published in the Journal of Statistical Software: https://doi.org/10.18637/jss.v116.i01. This article is now the primary citation for academic use of *collapse*. It is also a great reference to quickly and thoroughly understand the package. `citation("collapse")` was also updated in this regard. The APA-style citation is:
4
+
5
+
Krantz, S. (2026). **collapse**: Advanced and fast statistical computing and data transformation in R. *Journal of Statistical Software, 116*(1), 1–38. [https://doi.org/10.18637/jss.v116.i01](https://doi.org/10.18637/jss.v116.i01)
6
+
7
+
8
+
* Performance improvements to `fsum()` and `fmean()` in the non-grouped case through multiple-accumulator SIMD optimizations, particularly benefiting systems without OpenMP support. `fsum()` sees ~2x speedup and `fmean()`~7x speedup on such systems, with smaller but notable gains on systems with OpenMP. Thanks @TylerSagendorf for the implementation and benchmarking (#824, #828, #832, #833).
9
+
10
+
*`GRP.default()` gains a `drop = TRUE` argument. Setting `drop = FALSE` (and providing at least one factor among the grouping columns) retains all combinations of factor levels with the observed unique values of non-factor grouping columns---the full Cartesian product---similar to `dplyr::group_by(.drop = FALSE)`. Unobserved combinations get `group.sizes` of `0` and `group.starts` of `0L`. Correspondingly, `fgroup_by()`/`gby()` gain a `.drop` argument, and `fcount()`/`fcountv()`/`collap()`/`collapv()` gain a `drop` argument, enabling counts and aggregations that retain empty groups. Thanks @egoipse for the feature request (#820, #839).
11
+
12
+
* Fixed a bug in `descr()` that caused R to crash with a segmentation fault when called on zero-row data frames. Thanks @hatschibratschi for reporting (#831).
13
+
14
+
* Consistency with internal updates to *data.table* regarding growable vectors. Thanks @aitap (#809).
15
+
16
+
* Force C locale sorting in internal operations for consistency. Thanks @MichaelChirico (#815).
17
+
18
+
* Added contributor Ivan Krylov (@aitap) to package authors.
19
+
1
20
# collapse 2.1.6
2
21
3
22
* The repo has moved to `fastverse/collapse` and the website to [fastverse.org/collapse](https://fastverse.org/collapse/)---for better visibility and maintenance. Appropriate redirects from the old repo/site have been implemented.
4
-
Selected people now have access to the repo through the organization account and may respond to issues or submit fixes.
23
+
Selected people now have access to the repo through the organization account and may respond to issues or submit fixes.
5
24
6
25
* Added new AI-generated interactive/chattable [DeepWiki documentation](https://deepwiki.com/fastverse/collapse).
fgroup_by<-function(.X, ..., sort=.op[["sort"]], decreasing=FALSE, na.last=TRUE, return.groups=TRUE, return.order=sort, method="auto") { # e <- substitute(list(...)) # faster but does not preserve attributes of unique groups !
403
+
fgroup_by<-function(.X, ..., sort=.op[["sort"]], decreasing=FALSE, na.last=TRUE, return.groups=TRUE, return.order=sort, method="auto", .drop=TRUE) { # e <- substitute(list(...)) # faster but does not preserve attributes of unique groups !
An[**article**](https://arxiv.org/abs/2403.05038) on *collapse*is forthcoming at [Journal of Statistical Software](https://www.jstatsoft.org/).
84
+
The[**collapse** article](https://doi.org/10.18637/jss.v116.i01)is published in the [Journal of Statistical Software](https://www.jstatsoft.org/) (volume 116, issue 1). It is the primary reference for academic use of the package and a concise introduction to its design and capabilities.
85
85
86
86
### Presentation at [useR 2022](https://user2022.r-project.org)
Copy file name to clipboardExpand all lines: inst/CITATION
+12-9Lines changed: 12 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,18 @@
1
1
citHeader("To cite collapse in publications, please use:")
2
2
3
3
bibentry(bibtype = "misc",
4
-
key = "krantz2024collapse",
5
-
title = "collapse: Advanced and Fast Statistical Computing and Data Transformation in R",
6
-
author = person("Sebastian", "Krantz"),
7
-
year = "2024",
8
-
eprint="2403.05038",
9
-
archivePrefix="arXiv",
10
-
primaryClass="stat.CO",
11
-
url = "https://arxiv.org/abs/2403.05038",
12
-
textVersion = "Krantz, S. (2024). collapse: Advanced and Fast Statistical Computing and Data Transformation in R [Preprint]. arXiv. https://arxiv.org/abs/2403.05038")
4
+
key = "krantz2026collapse",
5
+
title = "{collapse}: Advanced and Fast Statistical Computing and Data Transformation in {R}",
6
+
author = person(given = "Sebastian",
7
+
family = "Krantz",
8
+
email = "sebastian.krantz@kielinstitut.de"),
9
+
journal = "Journal of Statistical Software",
10
+
year = "2026",
11
+
volume = "116",
12
+
number = "1",
13
+
pages = "1--38",
14
+
doi = "10.18637/jss.v116.i01",
15
+
textVersion = "Krantz, S. (2026). collapse: Advanced and fast statistical computing and data transformation in R. Journal of Statistical Software, 116(1), 1–38. https://doi.org/10.18637/jss.v116.i01")
13
16
14
17
year <- sub("-.*", "", meta$Date)
15
18
note <- sprintf("R package version %s", meta$Version)
0 commit comments