Skip to content

multicool

1.0.1

Permutations of Multisets in Cool-Lex Order

9packages depend
473.3Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by James CurranFirst published 2011-11-1512 releasesCRAN page ↗GitHub ↗

A set of tools to permute multisets without loops or hash tables and to generate integer partitions. The permutation functions are based on C code from Aaron Williams. Cool-lex order is similar to colexicographical order. The algorithm is described in Williams, A. Loopless Generation of Multiset Permutations by Prefix Shifts. SODA 2009, Symposium on Discrete Algorithms, New York, United States. The permutation code is distributed without restrictions. The code for stable and efficient computation of multinomial coefficients comes from Dave Barber. The code can be download from http://tamivox.org/dave/multinomial/index.html and is distributed without conditions. The package also generates the integer partitions of a positive, non-zero integer n. The C++ code for this is based on Python code from Jerome Kelleher which can be found here https://jeromekelleher.net/category/combinatorics.html. The C++ code and Python code are distributed without conditions.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 2.5 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
2
Dependencies · direct
Check history
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 2 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
57%

Downloads

473.3K
CRAN downloads in the past year
Rank #601 · ~1.3K/day · ~39.4K/mo
Daily download trend is not available in this view yet.
28.2K30 days
105.1K90 days
473.3K1 year
Compare downloads with other packages →
Also on10.9K r2u17 autocran11.5K conda_forge28K bioconda69 c2d4u

Repository

Repository
2Stars
2Forks
1Open issues
0Open PRs
0Releases
29Commits
3Contributors
29 commits · Last activity 2024-02-05

Stars over time

2024-07-20 · 22026-07-07 · 2

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/jmcurran/multicool on 2026-08-16.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (2)
methodsRcpp
Imports (0)
none
LinkingTo (1)
Suggests (0)
none
Enhances (0)
none

Code & Tests

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (5)
no longer listed · 0.1-1 to 0.1-2
no longer listed · 0.1-2 to 1.0.1
no longer listed · 0.1-2 to 1.0.1
no longer listed · 0.1-5 to 1.0.1
no longer listed · 0.1-5 to 1.0.1
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.1Latest
    2024-02-05 · current release · diff ↗
  • 1.0.0
    2023-12-02 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1-12
    2021-06-29 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1-11
    2019-12-05 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1-10
    2016-11-25 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
Show 12 earlier events
  • 0.1-9
    2015-10-28 · diff ↗
  • 0.1-8
    2015-10-22 · diff ↗
  • 0.1-7
    2015-08-17 · diff ↗
  • 0.1-6
    2015-04-28 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.1-5
    2015-02-26 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 0.1-2
    2013-07-10 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
  • 0.1-1
    2011-11-15
  • R
    R 2.14.0 released · 2011-10-31

Package metadata

First published
2011-11-15
Total releases
12 / 15 yrs
License
GPL-2 OSI
Download size
15 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("multicool")

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 multicool version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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