Additive Partitions of Integers
Overview
Additive partitions of integers. Enumerates the partitions, unequal partitions, and restricted partitions of an integer; the three corresponding partition functions are also given. Set partitions and now compositions and riffle shuffles are included.
- roxygen2 used for NAMESPACE
- minor documentation improvements
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-01
- ERROR12 OK, 1 ERROR2026-09-30
- OK13 OK2026-09-26
- NOTE8 OK, 5 NOTE2026-08-20
- ERROR8 OK, 4 NOTE, 1 ERROR2026-08-12
Show 6 earlier changesHide 6 earlier changes
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-06-27
- WARNING12 OK, 1 WARNING2026-06-14
- OK13 OK2026-06-09
- NOTE12 OK, 1 NOTE2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 13includes a package overview page
- Examples that run
- 100%13 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 82%
- Return-value docs
- 30%
- Help pages citing references
- 38% with Rdpack citation macros
Downloads
Repository
- PRs merged (all time)
- 75%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/robinhankin/partitions on 2026-10-11.
Dependencies
Installing partitions adds 5 packages (3 with compiled code, 2.2 MB of source tarballs). Heaviest: rbibutils 1.1 MB, Rdpack 370 KB, polynom 327 KB.
Show all 36 packagesHide all 36 packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.11-1Latest2026-09-23 · current release · diff ↗ ·
removed 2 exports
pattern:^[^\\.], printadded 47 exports
P, Q, R, S, allbinom, as.partition, bintocomp, blockparts, compositions, comptobin, condense, conjugate, diffparts, durfee, durfee_sorted, firstblockpart, firstcomposition, firstdiffpart, firstpart, firstrestrictedpart, genrif, islastblockpart, islastcomposition, islastdiffpart, islastpart, islastrestrictedpart, listParts, mset, multinomial, multiset and 17 more - RR 4.6.0 released · 2026-04-24
- 1.10-92025-04-30 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.10-72022-07-21 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.10-42021-10-24 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.10-22021-02-23 · diff ↗
- 1.10-12021-02-12 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.9-222019-10-21 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
Show 36 earlier eventsHide 36 earlier events
- 1.9-192017-07-07 · diff ↗
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.9-18
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 1.9-152013-12-08 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 1.9-132013-01-21 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 1.9-122011-12-27 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 1.9-102011-08-11 · diff ↗
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- 1.9-82010-04-02 · diff ↗
- RR 2.10.0 released · 2009-10-26
- 1.9-62009-05-05 · diff ↗
- RR 2.9.0 released · 2009-04-17
- 1.9-32009-02-15 · diff ↗
- 1.8-22008-11-13 · diff ↗
- RR 2.8.0 released · 2008-10-20
- 1.7-52008-08-22 · diff ↗
- RR 2.7.0 released · 2008-04-22
- 1.7-42007-10-04 · diff ↗
- RR 2.6.0 released · 2007-10-03
- 1.7-32007-09-03 · diff ↗
- 1.4-12007-06-22 · diff ↗
- 1.3-42007-05-10 · diff ↗
- RR 2.5.0 released · 2007-04-24
- 1.3-32007-04-13 · diff ↗
- RR 2.4.0 released · 2006-10-03
- 1.3-22006-08-22 · diff ↗
- 1.1-22006-05-30
- RR 2.3.0 released · 2006-04-24
Package metadata
- First published
- 2006-05-30
- Total releases
- 25 / 20 yrs
- License
- GPL
- Minimum R
- ≥ 3.6.0
- Download size
- 479 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("partitions")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.