collapse
2.1.7Advanced and Fast Data Transformation
Overview
A large C/C++-based package for advanced data transformation and statistical computing in R that is extremely fast, class-agnostic, robust, and programmer friendly. Core functionality includes a rich set of S3 generic grouped and weighted statistical functions for vectors, matrices and data frames, which provide efficient low-level vectorizations, OpenMP multithreading, and skip missing values by default. These are integrated with fast grouping and ordering algorithms (also callable from C), and efficient data manipulation functions. The package also provides a flexible and rigorous approach to time series and panel data in R, fast functions for data transformation and common statistical procedures, detailed (grouped, weighted) summary statistics, powerful tools to work with nested data, fast data object conversions, functions for memory efficient R programming, and helpers to effectively deal with variable labels, attributes, and missing data. It seamlessly supports base R objects/classes as well as 'units', 'integer64', 'xts'/ 'zoo', 'tibble', 'grouped_df', 'data.table', 'sf', and 'pseries'/'pdata.frame'. For a concise overview of the package see Krantz (2026) doi:10.18637/jss.v116.i01.
Install
Health
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-04-2211 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1810 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1011 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 85%
- Return-value docs
- 90%
- References docs
- 28%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Repository practices
6 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/fastverse/collapse on 2026-07-19.
Show all practices
Dependencies
and 16 more packages.
Code & Tests
- Cyclomatic complexity
- 2.0 median / 108 max
- Test cases
- 624 / 1.21 per code line
Test coverage
Line coverage
75%
Expression
75.0%
Tests / Examples
75.1% / 49% ex
Functions
1294 322 exported
Complexity
6 avg / 108 max
Call network
1294 nodes / 3312 edges
Call graph
Open call graph →Lowest coverage
1294 functions| Function | Cyclo | Coverage |
|---|---|---|
| GRPN exp | 8 | 0% |
| GRPid exp | 6 | 0% |
| as_integer_factor exp | 7 | 0% |
| copyAttrib exp | 1 | 0% |
| fHDbetween exp | 1 | 0% |
| fHDwithin exp | 1 | 0% |
Datasets
People & History
Show 1 more contributors
57 releases. Pick two to compare their code metrics. R releases are shown for context.
- 2.1.7Latest
- RR 4.6.0 released · 2026-04-24
- 2.1.62026-01-11 · diff ↗
- 2.1.52025-11-19 · diff ↗
- 2.1.42025-10-24 · diff ↗
- 2.1.32025-08-18 · diff ↗
- 2.1.22025-05-25 · diff ↗
- 2.1.12025-04-14 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 2.1.02025-03-10 · diff ↗
- 2.0.192025-01-09 · diff ↗
- 2.0.182024-11-23 · diff ↗
- 2.0.172024-11-03 · diff ↗
- 2.0.162024-08-21 · diff ↗
- 2.0.152024-07-08 · diff ↗
- 2.0.142024-05-25 · diff ↗
Show 51 earlier events
- RR 4.4.0 released · 2024-04-24
- 2.0.132024-04-14 · diff ↗
- 2.0.122024-04-01 · diff ↗
- 2.0.112024-03-21 · diff ↗
- 2.0.102024-02-17 · diff ↗
- 2.0.92024-01-11 · diff ↗
- 2.0.72023-12-07 · diff ↗
- 2.0.62023-11-12 · diff ↗
- 2.0.32023-10-18 · diff ↗
- 2.0.22023-10-14 · diff ↗
- 1.9.62023-05-28 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.9.52023-04-07 · diff ↗
- 1.9.42023-03-31 · diff ↗
- 1.9.32023-02-27 · diff ↗
- 1.9.22023-01-25 · diff ↗
- 1.9.02023-01-15 · diff ↗
- 1.8.92022-10-07 · diff ↗
- 1.8.82022-08-15 · diff ↗
- 1.8.62022-06-14 · diff ↗
- 1.8.52022-06-13 · diff ↗
- 1.8.42022-06-08 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.7.62022-02-11 · diff ↗
- 1.7.52022-02-03 · diff ↗
- 1.7.32022-01-26 · diff ↗
- 1.7.22022-01-23 · diff ↗
- 1.7.02022-01-14 · diff ↗
- 1.6.52021-07-24 · diff ↗
- 1.6.42021-07-13 · diff ↗
- 1.6.22021-07-04 · diff ↗
- 1.6.02021-06-28 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.5.32021-03-07 · diff ↗
- 1.5.22021-03-02 · diff ↗
- 1.5.12021-01-12 · diff ↗
- 1.5.02021-01-04 · diff ↗
- unarchivedReturned to CRAN2021-01-04
- archivedRemoved from CRAN2020-12-19check problems were not corrected in time
- 1.4.22020-11-10 · diff ↗
- 1.4.12020-11-09 · diff ↗
- 1.4.02020-11-01 · diff ↗
- 1.3.22020-09-13 · diff ↗
- 1.3.12020-08-27 · diff ↗
- 1.3.02020-08-11 · diff ↗
- 1.2.12020-05-27 · diff ↗
- 1.2.02020-05-19 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.1.02020-04-01 · diff ↗
- 1.0.02020-03-19
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-03-19
- Total releases
- 57 / 6 yrs
- License
- GPL (>= 2) | file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 571 KB / 2 files
- Download size
- 1.4 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet