{
  "_id": "6b06032235d1c7861e96e789",
  "Package": "partitions",
  "Type": "Package",
  "Title": "Additive Partitions of Integers",
  "Version": "1.11-1",
  "Authors@R": "c(\nperson(given=c(\"Robin\", \"K. S.\"), family=\"Hankin\", role = c(\"aut\",\"cre\"), email=\"hankin.robin@gmail.com\", comment = c(ORCID = \"0000-0001-5982-0415\")),\nperson(\"Paul\", \"Egeler\", email = \"paulegeler@gmail.com\", role = c(\"ctb\"), comment = c(ORCID = \"0000-0001-6948-9498\"))\n)",
  "Maintainer": "Robin K. S. Hankin <hankin.robin@gmail.com>",
  "Description": "Additive partitions of integers.  Enumerates the\npartitions, unequal partitions, and restricted partitions of an\ninteger; the three corresponding partition functions are also\ngiven. Set partitions and now compositions and riffle shuffles\nare included.",
  "License": "GPL",
  "URL": "https://github.com/RobinHankin/partitions",
  "BugReports": "https://github.com/RobinHankin/partitions/issues",
  "RdMacros": "Rdpack",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "libgmp3-dev",
  "Repository": "https://robinhankin.r-universe.dev",
  "Date/Publication": "2026-11-24 20:47:43 UTC",
  "RemoteUrl": "https://github.com/robinhankin/partitions",
  "RemoteRef": "HEAD",
  "RemoteSha": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-24 21:30:18 UTC",
    "User": "root"
  },
  "Author": "Robin K. S. Hankin [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5982-0415>),\nPaul Egeler [ctb] (ORCID: <https://orcid.org/0000-0001-6948-9498>)",
  "_user": "robinhankin",
  "_type": "src",
  "_file": "partitions_1.11-1.tar.gz",
  "_fileid": "https://r2.ropensci.org/d3e2ca4f6f50ceb700e3a32f6d491998b4e5a9b859620ec00aca0342c6a48bea",
  "_filesize": 1747214,
  "_sha256": "d3e2ca4f6f50ceb700e3a32f6d491998b4e5a9b859620ec00aca0342c6a48bea",
  "_expires": "2027-03-04T21:35:27.000Z",
  "_created": "2026-11-24T21:30:18.000Z",
  "_published": "2026-11-24T21:35:29.908Z",
  "_upstream": "https://github.com/robinhankin/partitions",
  "_status": "success",
  "_maintainer": {
    "name": "Robin K. S. Hankin",
    "email": "hankin.robin@gmail.com",
    "login": "robinhankin",
    "orcid": "0000-0001-5982-0415",
    "description": "pushing the boundaries of R in non-statistical contexts",
    "uuid": 13262034
  },
  "_jobs": [
    {
      "job": 138791882287,
      "time": 141,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14965814491"
    },
    {
      "job": 138791882366,
      "time": 112,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14967430776"
    },
    {
      "job": 138791882222,
      "time": 123,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14967720256"
    },
    {
      "job": 138791882253,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14966647194"
    },
    {
      "job": 138791883145,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14965799359"
    },
    {
      "job": 138791882268,
      "time": 261,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14967545971"
    },
    {
      "job": 138791882235,
      "time": 136,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14966353158"
    },
    {
      "job": 138791882198,
      "time": 189,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14967485710"
    },
    {
      "job": 138788978715,
      "time": 294,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14967380611"
    },
    {
      "job": 138791881997,
      "time": 87,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14965892795"
    },
    {
      "job": 138791882428,
      "time": 218,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14966147721"
    },
    {
      "job": 138791882209,
      "time": 131,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14966467382"
    },
    {
      "job": 138791882390,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14965614746"
    },
    {
      "job": 138791882257,
      "time": 186,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14967710407"
    },
    {
      "job": 138791882187,
      "time": 81,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14966802621"
    }
  ],
  "_buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400",
  "_commit": {
    "id": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
    "author": "Michael Chirico <michaelchirico4@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "correct return type",
    "time": 1795553263
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "gmp",
      "role": "Imports"
    },
    {
      "package": "polynom",
      "role": "Imports"
    },
    {
      "package": "sets",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "robinhankin",
  "_selfowned": true,
  "_usedby": 82,
  "_updates": [
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-11",
      "n": 8
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-29",
      "n": 1
    },
    {
      "week": "2026-39",
      "n": 4
    },
    {
      "week": "2026-48",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.11-1",
      "date": "2026-09-23"
    }
  ],
  "_stars": 11,
  "_contributors": [
    {
      "user": "robinhankin",
      "count": 151,
      "uuid": 13262034
    },
    {
      "user": "pegeler",
      "count": 2,
      "uuid": 32426645
    },
    {
      "user": "d-torrance",
      "count": 1,
      "uuid": 1992248
    },
    {
      "user": "michaelchirico",
      "count": 1,
      "uuid": 7606389
    }
  ],
  "_userbio": {
    "uuid": 13262034,
    "type": "user",
    "name": "Robin Hankin",
    "followers": 72,
    "description": "pushing the boundaries of R in non-statistical contexts"
  },
  "_downloads": {
    "count": 13406,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/partitions"
  },
  "_devurl": "https://github.com/robinhankin/partitions",
  "_searchresults": 1968,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/partitions.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/robinhankin/partitions",
  "_realowner": "robinhankin",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1-2",
      "date": "2006-05-30"
    },
    {
      "version": "1.3-2",
      "date": "2006-08-22"
    },
    {
      "version": "1.3-3",
      "date": "2007-04-13"
    },
    {
      "version": "1.3-4",
      "date": "2007-05-10"
    },
    {
      "version": "1.4-1",
      "date": "2007-06-22"
    },
    {
      "version": "1.7-3",
      "date": "2007-09-03"
    },
    {
      "version": "1.7-4",
      "date": "2007-10-04"
    },
    {
      "version": "1.7-5",
      "date": "2008-08-22"
    },
    {
      "version": "1.8-2",
      "date": "2008-11-13"
    },
    {
      "version": "1.9-3",
      "date": "2009-02-15"
    },
    {
      "version": "1.9-6",
      "date": "2009-05-05"
    },
    {
      "version": "1.9-8",
      "date": "2010-04-02"
    },
    {
      "version": "1.9-10",
      "date": "2011-08-11"
    },
    {
      "version": "1.9-12",
      "date": "2011-12-27"
    },
    {
      "version": "1.9-13",
      "date": "2013-01-21"
    },
    {
      "version": "1.9-15",
      "date": "2013-12-08"
    },
    {
      "version": "1.9-18",
      "date": "2015-08-06"
    },
    {
      "version": "1.9-19",
      "date": "2017-07-07"
    },
    {
      "version": "1.9-22",
      "date": "2019-10-21"
    },
    {
      "version": "1.10-1",
      "date": "2021-02-12"
    },
    {
      "version": "1.10-2",
      "date": "2021-02-23"
    },
    {
      "version": "1.10-4",
      "date": "2021-10-23"
    },
    {
      "version": "1.10-7",
      "date": "2022-07-21"
    },
    {
      "version": "1.10-9",
      "date": "2025-04-30"
    },
    {
      "version": "1.11-1",
      "date": "2026-09-23"
    }
  ],
  "_authors": [
    {
      "name": "Robin K. S. Hankin",
      "email": "hankin.robin@gmail.com",
      "orcid": "0000-0001-5982-0415",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "Paul Egeler",
      "email": "paulegeler@gmail.com",
      "orcid": "0000-0001-6948-9498",
      "role": [
        "ctb"
      ]
    }
  ],
  "_exports": [
    "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",
    "nextblockpart",
    "nextcomposition",
    "nextdiffpart",
    "nextpart",
    "nextrestrictedpart",
    "P",
    "parts",
    "perms",
    "plainperms",
    "Q",
    "R",
    "restrictedparts",
    "restrictedsetparts",
    "restrictedsetparts2",
    "riffle",
    "S",
    "setparts",
    "tobin",
    "todec",
    "vec_to_eq",
    "vec_to_set"
  ],
  "_help": [
    {
      "page": "partitions.package",
      "title": "Integer partitions",
      "topics": [
        "partitions-package",
        "partitions"
      ]
    },
    {
      "page": "as.matrix.partition",
      "title": "Coerce partitions to matrices and vice versa",
      "topics": [
        "as.matrix.partition",
        "as.partition"
      ]
    },
    {
      "page": "bin",
      "title": "Sundry binary functionality",
      "topics": [
        "bin",
        "bintocomp",
        "comptobin",
        "tobin",
        "todec"
      ]
    },
    {
      "page": "condense",
      "title": "Condensed form for partitions",
      "topics": [
        "condense"
      ]
    },
    {
      "page": "conjugate",
      "title": "Conjugate partitions and Durfee squares",
      "topics": [
        "conjugate",
        "Durfee",
        "durfee",
        "durfee_sorted"
      ]
    },
    {
      "page": "nextpart",
      "title": "Next partition",
      "topics": [
        "firstblockpart",
        "firstcomposition",
        "firstdiffpart",
        "firstpart",
        "firstrestrictedpart",
        "islastblockpart",
        "islastcomposition",
        "islastdiffpart",
        "islastpart",
        "islastrestrictedpart",
        "nextblockpart",
        "nextcomposition",
        "nextdiffpart",
        "nextpart",
        "nextrestrictedpart"
      ]
    },
    {
      "page": "P",
      "title": "Number of partitions of an integer",
      "topics": [
        "P",
        "Q",
        "R",
        "S"
      ]
    },
    {
      "page": "parts",
      "title": "Enumerate the partitions of an integer",
      "topics": [
        "allbinom",
        "blockparts",
        "compositions",
        "c_allblockparts",
        "c_alldiffparts",
        "c_allparts",
        "c_allperms",
        "c_allrestrictedparts",
        "c_bintocomp",
        "c_comptobin",
        "c_conjugate",
        "c_durfee",
        "c_multiset",
        "c_nextblockpart",
        "c_nextdiffpart",
        "c_nextpart",
        "c_nextrestrictedpart",
        "c_numbdiffparts",
        "c_numbparts",
        "c_plainperms",
        "c_tobin",
        "c_wrap",
        "diffparts",
        "mset",
        "multinomial",
        "multiset",
        "numbrestrictedparts_R",
        "parts",
        "restrictedparts"
      ]
    },
    {
      "page": "perms",
      "title": "Enumerate the permutations of a vector",
      "topics": [
        "perms",
        "plainperms"
      ]
    },
    {
      "page": "print.partition",
      "title": "Print methods for partition objects and equivalence objects",
      "topics": [
        "print",
        "print.equivalence",
        "print.partition",
        "print.summary.partition"
      ]
    },
    {
      "page": "riffle",
      "title": "Riffle shuffles",
      "topics": [
        "allriffles",
        "genrif",
        "riffle"
      ]
    },
    {
      "page": "setparts",
      "title": "Set partitions",
      "topics": [
        "listParts",
        "restrictedsetparts",
        "restrictedsetparts2",
        "setparts",
        "vec_to_eq",
        "vec_to_set"
      ]
    },
    {
      "page": "summary.partition",
      "title": "Provides a summary of a partition",
      "topics": [
        "summary.partition"
      ]
    }
  ],
  "_readme": "https://github.com/robinhankin/partitions/raw/HEAD/README.md",
  "_rundeps": [
    "gmp",
    "polynom",
    "rbibutils",
    "Rdpack",
    "sets"
  ],
  "_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"
    }
  ],
  "_vignettes": [
    {
      "source": "partitions.Rnw",
      "filename": "partitions.pdf",
      "title": "Additive Integer Partitions",
      "engine": "utils::Sweave",
      "headings": [
        "Introduction",
        "Package partitions in use",
        "Conclusions"
      ],
      "created": "2024-02-24 19:11:55",
      "modified": "2024-02-24 19:11:55",
      "commits": 1
    },
    {
      "source": "setpartitions.Rnw",
      "filename": "setpartitions.pdf",
      "title": "Set partitions in R",
      "engine": "utils::Sweave",
      "headings": [
        "Introduction",
        "Algorithms",
        "Applications",
        "Note: a gotcha",
        "Conclusions"
      ],
      "created": "2017-08-21 03:41:10",
      "modified": "2026-09-23 08:15:24",
      "commits": 9
    },
    {
      "source": "scrabble.Rnw",
      "filename": "scrabble.pdf",
      "title": "Urn sampling without replacement",
      "engine": "utils::Sweave",
      "headings": [
        "Introduction",
        "Examples",
        "Conclusions"
      ],
      "created": "2017-08-21 03:41:10",
      "modified": "2024-02-24 19:11:55",
      "commits": 7
    }
  ],
  "_score": 12.285015865573623,
  "_indexed": true,
  "_nocasepkg": "partitions",
  "_universes": [
    "robinhankin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.11-1",
      "date": "2026-11-24T21:32:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/41120e7b41cae18339f13cf796a1ee4883e2986201c90462af2f3d15312090bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.11-1",
      "date": "2026-11-24T21:32:20.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/a2dc0b2e5a2be74b739245be1a9355e9fbc8fb88debafc815f1525bf7262e4b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.11-1",
      "date": "2026-11-24T21:32:35.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/6848e1f67be1f9d82d63f8d86802872ad6562f85e9735affa989774412d908d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.11-1",
      "date": "2026-11-24T21:32:26.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/cf314948fcdb28e460c18493986cc44c2dbed67a4393e2caefb7a5fdcd9f7e33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.11-1",
      "date": "2026-11-24T21:32:00.000Z",
      "arch": "aarch64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/6808d1caf44a6fe7cfe02ad8c165d072bade9fe27bad6984b0b894e84fc0957a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.11-1",
      "date": "2026-11-24T21:33:34.000Z",
      "arch": "x86_64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/ade6f8d55527fa9a5748fa0c8e49caf1426fa4bca5a599d54ce614edd581be4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.11-1",
      "date": "2026-11-24T21:32:37.000Z",
      "arch": "aarch64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/7f92d6ef45637c62006308062cbdf9677fdb8c471087139c70381b42f5be2e9b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.11-1",
      "date": "2026-11-24T21:33:23.000Z",
      "arch": "x86_64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/41038f3ef3351055ee001cfb8d55fb02baab04f7c1744626bc65df72b3e51f8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.11-1",
      "date": "2026-11-24T21:32:07.000Z",
      "arch": "emscripten",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/c640d92d832154035ae4d34b492d385fba9e07b712fdfac742332a62734d2dfe",
      "status": "success",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.11-1",
      "date": "2026-11-24T21:33:54.000Z",
      "arch": "aarch64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/7d95cf65908aac18977367c226dff558cc34ded8b02f4c6d70fdbe0484ad0abb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.11-1",
      "date": "2026-11-24T21:31:32.000Z",
      "arch": "x86_64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/b1e280949e6884b761effcc63cf9bf881709bc9ec8c9933d49505e0ce4b6e5f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.11-1",
      "date": "2026-11-24T21:31:28.000Z",
      "arch": "x86_64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/3fd5528544e772c717c58bf6f7e1e668dab19d535f26ae93c29733e82dec0916",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.11-1",
      "date": "2026-11-24T21:33:23.000Z",
      "arch": "aarch64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/db5896417bd4ed6a12b460c1da88868d8a6cb06ea40d54a6bac2d4f5bf0fe48d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.11-1",
      "date": "2026-11-24T21:31:27.000Z",
      "arch": "x86_64",
      "commit": "d6b2e446a2299c5c400bc644a807bbd498c01aea",
      "fileid": "https://r2.ropensci.org/76b26d435613f4c56fc9a0746cc3215ace45a8b3e6006b56b75649738a8067bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/45490962400"
    }
  ]
}