{
  "_id": "6ad740d20d12c08e591b8a2b",
  "Package": "multicool",
  "Type": "Package",
  "Title": "Permutations of Multisets in Cool-Lex Order",
  "Version": "1.0.2",
  "Authors@R": "c(\nperson(\"James\", \"Curran\", email = \"j.curran@auckland.ac.nz\", role = c(\"aut\", \"cre\")),\nperson(\"Aaron\", \"Williams\", role = \"aut\"),\nperson(\"Jerome\", \"Kelleher\", role = \"aut\"))",
  "Description": "A set of tools to permute multisets without loops or hash\ntables and to generate integer partitions. The permutation\nfunctions are based on C code from Aaron Williams. Cool-lex\norder is similar to colexicographical order. The algorithm is\ndescribed in Williams, A. Loopless Generation of Multiset\nPermutations by Prefix Shifts. SODA 2009, Symposium on Discrete\nAlgorithms, New York, United States. The permutation code is\ndistributed without restrictions. Multinomial coefficients,\nStirling numbers of the second kind and Bell numbers are\ncomputed exactly using the 'gmp' package. The package also\ngenerates the integer partitions of a positive, non-zero\ninteger n. The C++ code for this is based on Python code from\nJerome Kelleher, and the algorithm is described in Kelleher and\nO'Sullivan (2009) <doi:10.48550/arXiv.0909.2331>. The C++ code\nand Python code are distributed without conditions.",
  "URL": "https://github.com/jmcurran/multicool",
  "BugReports": "https://github.com/jmcurran/multicool/issues",
  "Encoding": "UTF-8",
  "License": "GPL-2",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libgmp3-dev",
  "Repository": "https://jmcurran.r-universe.dev",
  "Date/Publication": "2026-10-20 05:19:04 UTC",
  "RemoteUrl": "https://github.com/jmcurran/multicool",
  "RemoteRef": "HEAD",
  "RemoteSha": "7e889d4d663d906372e0b560e359c3acbf857101",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-20 10:16:59 UTC",
    "User": "root"
  },
  "Author": "James Curran [aut, cre],\nAaron Williams [aut],\nJerome Kelleher [aut]",
  "Maintainer": "James Curran <j.curran@auckland.ac.nz>",
  "_user": "jmcurran",
  "_type": "src",
  "_file": "multicool_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/cb4f70d4bf61ebf7e8c3f3bb28d561016a93fca180c7a4a3a7a97fc72d296e5c",
  "_filesize": 182687,
  "_sha256": "cb4f70d4bf61ebf7e8c3f3bb28d561016a93fca180c7a4a3a7a97fc72d296e5c",
  "_expires": "2027-01-28T10:22:08.000Z",
  "_created": "2026-10-20T10:16:59.000Z",
  "_published": "2026-10-20T10:22:10.257Z",
  "_upstream": "https://github.com/jmcurran/multicool",
  "_status": "success",
  "_maintainer": {
    "name": "James Curran",
    "email": "j.curran@auckland.ac.nz",
    "login": "jmcurran",
    "description": "Professor of Statistics at the University of Auckland. Keen cyclist and gamer.",
    "uuid": 1457367
  },
  "_jobs": [
    {
      "job": 118574836860,
      "time": 88,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12257906637"
    },
    {
      "job": 118574836592,
      "time": 103,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12257148017"
    },
    {
      "job": 118574836792,
      "time": 84,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12257127792"
    },
    {
      "job": 118574836657,
      "time": 105,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12257157855"
    },
    {
      "job": 118574836824,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12257911590"
    },
    {
      "job": 118574836899,
      "time": 201,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12258056657"
    },
    {
      "job": 118574836837,
      "time": 121,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12258026607"
    },
    {
      "job": 118574836673,
      "time": 266,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12256963597"
    },
    {
      "job": 118573662903,
      "time": 176,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12257732227"
    },
    {
      "job": 118574836550,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 118574836515,
      "time": 202,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12257018262"
    },
    {
      "job": 118574836503,
      "time": 123,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12257043112"
    },
    {
      "job": 118574836544,
      "time": 96,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12256898095"
    },
    {
      "job": 118574836715,
      "time": 176,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12257667912"
    },
    {
      "job": 118574836535,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12258210991"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377",
  "_commit": {
    "id": "7e889d4d663d906372e0b560e359c3acbf857101",
    "author": "James Curran <j.curran@auckland.ac.nz>",
    "committer": "James Curran <j.curran@auckland.ac.nz>",
    "message": "Replace dead jeromekelleher.net links; exclude .github from build\n\n- DESCRIPTION: cite Kelleher and O'Sullivan (2009)\n  <doi:10.48550/arXiv.0909.2331> instead of jeromekelleher.net, whose\n  HTTPS certificate is invalid (win-builder URL check NOTE).\n- genComp help: point to the Internet Archive copy of \"Generating\n  integer partitions\".\n- .Rbuildignore: add ^\\.github$ for the rhub workflow.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n",
    "time": 1792473544
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.11.2",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "gmp",
      "role": "Imports"
    }
  ],
  "_owner": "jmcurran",
  "_selfowned": true,
  "_usedby": 297,
  "_updates": [
    {
      "week": "2026-43",
      "n": 6
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "jmcurran",
      "count": 33,
      "uuid": 1457367
    },
    {
      "user": "mkruijver",
      "count": 1,
      "uuid": 33736732
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 1457367,
    "type": "user",
    "name": "James Curran",
    "followers": 15,
    "description": "Professor of Statistics at the University of Auckland. Keen cyclist and gamer."
  },
  "_downloads": {
    "count": 33064,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/multicool"
  },
  "_devurl": "https://github.com/jmcurran/multicool",
  "_searchresults": 18,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/multicool.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/jmcurran/multicool",
  "_realowner": "jmcurran",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-1",
      "date": "2011-11-15"
    },
    {
      "version": "0.1-2",
      "date": "2013-07-10"
    },
    {
      "version": "0.1-5",
      "date": "2015-02-26"
    },
    {
      "version": "0.1-6",
      "date": "2015-04-28"
    },
    {
      "version": "0.1-7",
      "date": "2015-08-17"
    },
    {
      "version": "0.1-8",
      "date": "2015-10-22"
    },
    {
      "version": "0.1-9",
      "date": "2015-10-28"
    },
    {
      "version": "0.1-10",
      "date": "2016-11-25"
    },
    {
      "version": "0.1-11",
      "date": "2019-12-05"
    },
    {
      "version": "0.1-12",
      "date": "2021-06-29"
    },
    {
      "version": "1.0.0",
      "date": "2023-12-02"
    },
    {
      "version": "1.0.1",
      "date": "2024-02-05"
    }
  ],
  "_exports": [
    "allPerm",
    "B",
    "Bell",
    "genComp",
    "initMC",
    "multinom",
    "nextPerm",
    "S2",
    "Stirling2"
  ],
  "_help": [
    {
      "page": "allPerm",
      "title": "Generate and return all permutations of a multiset",
      "topics": [
        "allPerm"
      ]
    },
    {
      "page": "Bell",
      "title": "Compute the Bell numbers",
      "topics": [
        "B",
        "Bell"
      ]
    },
    {
      "page": "genComp",
      "title": "Generate all, or a subset, of the integer partitions of an integer n.",
      "topics": [
        "genComp"
      ]
    },
    {
      "page": "initMC",
      "title": "Initialise the permutation object",
      "topics": [
        "initMC"
      ]
    },
    {
      "page": "multinom",
      "title": "Calculate multinomial coefficients",
      "topics": [
        "multinom"
      ]
    },
    {
      "page": "nextPerm",
      "title": "Return the next permutation of the multiset",
      "topics": [
        "nextPerm"
      ]
    },
    {
      "page": "Stirling2",
      "title": "Compute Stirling numbers of the second kind",
      "topics": [
        "S2",
        "Stirling2"
      ]
    }
  ],
  "_readme": "https://github.com/jmcurran/multicool/raw/HEAD/README.md",
  "_rundeps": [
    "gmp",
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 8.025535597077814,
  "_indexed": true,
  "_nocasepkg": "multicool",
  "_universes": [
    "jmcurran"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.003",
      "date": "2026-10-19T23:55:21.000Z",
      "arch": "emscripten",
      "commit": "fbdd348937982dbbd245d2d2be820b8570ec1367",
      "fileid": "https://r2.ropensci.org/abdbb07d553758b9fb5245e3d08a1b62888311795641a444ac5fdf2b617b42fa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39344018184"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-20T10:18:36.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/c7b0d8590069498dbff250143797309056ecf138b58cd20d6e0b0cca0af72b0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-20T10:18:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/38e28276d30d32bd839cc997618ae06a993008acb93ade52773341618262c1e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-20T10:18:35.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/6482b46650a480bb8ddaf624816b13e070d75ff17135a9ab3f2a8a3e2c00198f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-20T10:18:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/d0cdbc636ab4185ddf5c97f55f70b1aa6e0117a2e1efd944fdc81fdd11b2df57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-20T10:18:53.000Z",
      "arch": "aarch64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/bd7b310632ab134e7c2e85ac792bf2ca8ae8b67da851f3ed7564538a90d20a89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-20T10:20:11.000Z",
      "arch": "x86_64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/407ee8d6473bf2ad9da29d24e6802fda7335e67630c2e6da1ef25a8228f2f29f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-20T10:19:01.000Z",
      "arch": "aarch64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/c50737a9dcc41e044bf934fb48438392198171eb16b53698baff632f546ed7d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-20T10:20:58.000Z",
      "arch": "x86_64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/a409198274ad0932b2c6de170ce4e1d80f05fc14203184354d6c7c34511d22bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-20T10:20:12.000Z",
      "arch": "aarch64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/40aa8fa879f15694c6201942c96a737c8ee999137d4bf45219f8eb89a52213d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-20T10:18:03.000Z",
      "arch": "x86_64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/547c2c8411e2091344fcf5db700e056979083856738bd3701bf38ecda876a508",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-20T10:18:03.000Z",
      "arch": "x86_64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/538e0e64ee814307531d3abb25ec4fd5184e8e8cc7dca058ab8ee1a07b88cc01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-20T10:19:48.000Z",
      "arch": "aarch64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/19a966ed10ad18868cc17d748f119aeb7b3aa7e186ccf78d07b0ba2e9709d896",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-20T10:18:06.000Z",
      "arch": "x86_64",
      "commit": "7e889d4d663d906372e0b560e359c3acbf857101",
      "fileid": "https://r2.ropensci.org/88668c282bacce59ae9ef37a7071c49bc2bb9330c418da3aab2dee56d83fd642",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jmcurran/actions/runs/39406483377"
    }
  ]
}