Skip to content

collapse

2.1.7

Advanced and Fast Data Transformation

64packages depend
572.2Kdownloads / year
75.1%test coverage
13/13checks pass

Overview

About
Maintained by Sebastian KrantzFirst published 2020-03-1957 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 14.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.21
75.1%
Coverage · measured lines
90%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
85%
Return-value docs
90%
References docs
28%

Downloads

572.2K
CRAN downloads in the past year
Rank #529 · ~1.6K/day · ~47.7K/mo
Daily download trend is not available in this view yet.
42.5K30 days
139.9K90 days
572.2K1 year
Compare downloads with other packages →
Also on9.8K r2u19 autocran19.8K conda_forge62 c2d4u

Repository

Repository
705Stars
36Forks
16Open issues
2Open PRs
60Releases
3,529Commits
14Contributors
rcranrstatsstatisticsdata-sciencescientific-computingtime-seriespanel-data
3,529 commits · Last activity 2026-08-11 · 0% stars, 30d

Stars over time

2025-07-28 · 6812026-07-14 · 705

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/fastverse/collapse on 2026-08-09.

Continuous integration (1)
GitHub Actions
Research and citation (1)
CITATION.cff
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
Show all practices
Governance and community (1)
Issue templates
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2026-03-27

claudecursor

Most recent: cursor on 2026-05-17

Evidence
  • claude: on 2026-03-27 · evidence B, D
  • cursor: on 2026-05-17 · evidence B
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
24 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (1)
LinkingTo (1)
Enhances (0)
none

Code & Tests

Datasets

People & History

People (12)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (9)
Contributor · added in 1.5.0
Contributor · added in 2.1.0
Contributor
Contributor · added in 1.7.0
Contributor · added in 2.1.6
Contributor
Show 1 more contributors
Contributor · added in 1.4.2
Copyright holders (2)
Copyright holder
Listed in earlier versions (2)
no longer listed · 1.0.0 to 1.4.2
no longer listed · 1.5.0 to 1.7.2
Package Timeline

57 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 2.1.7Latest
    2026-05-19 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.1.6
    2026-01-11 · diff ↗
  • 2.1.5
    2025-11-19 · diff ↗
  • 2.1.4
    2025-10-24 · diff ↗
  • 2.1.3
    2025-08-18 · diff ↗
  • 2.1.2
    2025-05-25 · diff ↗
  • 2.1.1
    2025-04-14 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.1.0
    2025-03-10 · diff ↗
  • 2.0.19
    2025-01-09 · diff ↗
  • 2.0.18
    2024-11-23 · diff ↗
  • 2.0.17
    2024-11-03 · diff ↗
  • 2.0.16
    2024-08-21 · diff ↗
  • 2.0.15
    2024-07-08 · diff ↗
  • 2.0.14
    2024-05-25 · diff ↗
Show 51 earlier events
  • R
    R 4.4.0 released · 2024-04-24
  • 2.0.13
    2024-04-14 · diff ↗
  • 2.0.12
    2024-04-01 · diff ↗
  • 2.0.11
    2024-03-21 · diff ↗
  • 2.0.10
    2024-02-17 · diff ↗
  • 2.0.9
    2024-01-11 · diff ↗
  • 2.0.7
    2023-12-07 · diff ↗
  • 2.0.6
    2023-11-12 · diff ↗
  • 2.0.3
    2023-10-18 · diff ↗
  • 2.0.2
    2023-10-14 · diff ↗
  • 1.9.6
    2023-05-28 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.9.5
    2023-04-07 · diff ↗
  • 1.9.4
    2023-03-31 · diff ↗
  • 1.9.3
    2023-02-27 · diff ↗
  • 1.9.2
    2023-01-25 · diff ↗
  • 1.9.0
    2023-01-15 · diff ↗
  • 1.8.9
    2022-10-07 · diff ↗
  • 1.8.8
    2022-08-15 · diff ↗
  • 1.8.6
    2022-06-14 · diff ↗
  • 1.8.5
    2022-06-13 · diff ↗
  • 1.8.4
    2022-06-08 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.7.6
    2022-02-11 · diff ↗
  • 1.7.5
    2022-02-03 · diff ↗
  • 1.7.3
    2022-01-26 · diff ↗
  • 1.7.2
    2022-01-23 · diff ↗
  • 1.7.0
    2022-01-14 · diff ↗
  • 1.6.5
    2021-07-24 · diff ↗
  • 1.6.4
    2021-07-13 · diff ↗
  • 1.6.2
    2021-07-04 · diff ↗
  • 1.6.0
    2021-06-28 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.5.3
    2021-03-07 · diff ↗
  • 1.5.2
    2021-03-02 · diff ↗
  • 1.5.1
    2021-01-12 · diff ↗
  • 1.5.0
    2021-01-04 · diff ↗
  • unarchivedReturned to CRAN
    2021-01-04
  • archivedRemoved from CRAN
    2020-12-19
    check problems were not corrected in time
  • 1.4.2
    2020-11-10 · diff ↗
  • 1.4.1
    2020-11-09 · diff ↗
  • 1.4.0
    2020-11-01 · diff ↗
  • 1.3.2
    2020-09-13 · diff ↗
  • 1.3.1
    2020-08-27 · diff ↗
  • 1.3.0
    2020-08-11 · diff ↗
  • 1.2.1
    2020-05-27 · diff ↗
  • 1.2.0
    2020-05-19 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.0
    2020-04-01 · diff ↗
  • 1.0.0
    2020-03-19
  • R
    R 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 for 2.1.6
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("collapse")

The authors publish a CITATION.cff, so they have said how they want this cited. Run citation() and use what it gives you.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for collapse version 2.1.7 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy