{
  "_id": "6ab3c3503d719c1f84093964",
  "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-09-23 08:15:24 UTC",
  "RemoteUrl": "https://github.com/robinhankin/partitions",
  "RemoteRef": "HEAD",
  "RemoteSha": "a7aaf4796459de44369d6957063f7d9508fe4c91",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-23 12:03:05 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/015ee994fcc795e8fca0f0aef582a5fd3082943208d76697e5a776e7ddfd84a4",
  "_filesize": 1744205,
  "_sha256": "015ee994fcc795e8fca0f0aef582a5fd3082943208d76697e5a776e7ddfd84a4",
  "_expires": "2027-01-01T12:17:18.000Z",
  "_created": "2026-09-23T12:03:05.000Z",
  "_published": "2026-09-23T12:17:20.667Z",
  "_jobs": [
    {
      "job": 107171474211,
      "time": 119,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10747514549"
    },
    {
      "job": 107171473956,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10748705567"
    },
    {
      "job": 107171474114,
      "time": 122,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10748381821"
    },
    {
      "job": 107171473987,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10747799181"
    },
    {
      "job": 107171473876,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10749131218"
    },
    {
      "job": 107171473877,
      "time": 188,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10748962117"
    },
    {
      "job": 107171473837,
      "time": 75,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10749135657"
    },
    {
      "job": 107171474023,
      "time": 231,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10749900024"
    },
    {
      "job": 107169746363,
      "time": 317,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10747579027"
    },
    {
      "job": 107171473756,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10748726097"
    },
    {
      "job": 107171474077,
      "time": 197,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10748204802"
    },
    {
      "job": 107171473922,
      "time": 129,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10748570802"
    },
    {
      "job": 107171474026,
      "time": 74,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10748169520"
    },
    {
      "job": 107171473993,
      "time": 235,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10748259575"
    },
    {
      "job": 107171473885,
      "time": 138,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10747898579"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635",
  "_status": "success",
  "_upstream": "https://github.com/robinhankin/partitions",
  "_commit": {
    "id": "a7aaf4796459de44369d6957063f7d9508fe4c91",
    "author": "RobinHankin <hankin.robin@gmail.com>",
    "committer": "RobinHankin <hankin.robin@gmail.com>",
    "message": ".Dim -> dim; .Dimnames -> dimnames\n",
    "time": 1790151324
  },
  "_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
  },
  "_distro": "resolute",
  "_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": 81,
  "_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
    }
  ],
  "_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
    }
  ],
  "_userbio": {
    "uuid": 13262034,
    "type": "user",
    "name": "Robin Hankin",
    "followers": 70,
    "description": "pushing the boundaries of R in non-statistical contexts"
  },
  "_downloads": {
    "count": 13772,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/partitions"
  },
  "_devurl": "https://github.com/robinhankin/partitions",
  "_searchresults": 2080,
  "_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/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"
    }
  ],
  "_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.060150566807616,
  "_indexed": true,
  "_nocasepkg": "partitions",
  "_universes": [
    "robinhankin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.11-1",
      "date": "2026-09-23T12:05:17.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/ba4182fffc63ee4183386b39cdaa4cc90ccafb4204c415c6c633e0695a5ac2c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.11-1",
      "date": "2026-09-23T12:06:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/0cd6d3cd99e8572fc15c4e6ee64cf6766fe7e99f5a2594da19386f169d73d80a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.11-1",
      "date": "2026-09-23T12:05:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/f3d839b7192ee88428cdfc630d6175dd75206a43bc69b22129e5eb96b5ccf879",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.11-1",
      "date": "2026-09-23T12:05:59.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/4e3b1c7ad5d523590f7008803f0549752612f7160fd532c77d4c1a65ba97eed4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.11-1",
      "date": "2026-09-23T12:13:27.000Z",
      "arch": "aarch64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/e081eaa159cdabba251267280eb74960143a8f03557f54fa670824390477a711",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.11-1",
      "date": "2026-09-23T12:15:20.000Z",
      "arch": "x86_64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/8c75cba06f977f6c6c5febbe042f4b3c431ed7c9889fe6ebb218ea8b0c941033",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.11-1",
      "date": "2026-09-23T12:11:15.000Z",
      "arch": "aarch64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/fddeb028a59038613f8e9d5c042cbcc625f1571ba1beee3feeddc054486e08c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.11-1",
      "date": "2026-09-23T12:16:12.000Z",
      "arch": "x86_64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/fcf863af6a6f0c3d65b9724d96d34e2cc728dd1660d58c72c7ada978b369aa25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.11-1",
      "date": "2026-09-23T12:06:07.000Z",
      "arch": "emscripten",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/96e7626b3b13dac87629233ca65258efcb95444c3dc4945130741ddb903e66d8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.11-1",
      "date": "2026-09-23T12:06:23.000Z",
      "arch": "aarch64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/0c7d87c770bee2babc5dc3b4c1491c4ac84478b0832d4b16c511f0a0d4d7c0bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.11-1",
      "date": "2026-09-23T12:04:48.000Z",
      "arch": "x86_64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/d26a14cba99e520b16b62b0aa1619d8851f18b1ef46bc6b3f858ca0aeb6843fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.11-1",
      "date": "2026-09-23T12:04:51.000Z",
      "arch": "x86_64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/7cf91591bec27df29e1ef4ad8fb6ec00e1bc0a2e8ca9da11edc233ae31dd6337",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.11-1",
      "date": "2026-09-23T12:07:06.000Z",
      "arch": "aarch64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/d7b5f8cfa15e089d29c06fae2cfe5932eaa0b20d6e052885e895f074a22c60f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.11-1",
      "date": "2026-09-23T12:05:05.000Z",
      "arch": "x86_64",
      "commit": "a7aaf4796459de44369d6957063f7d9508fe4c91",
      "fileid": "https://r2.ropensci.org/41cd345f08c54192a832b4fdb72787574664f2b4e48e43e238aeb4a4e139b1f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinhankin/actions/runs/35857577635"
    }
  ]
}