{
  "_id": "6a0f782aacfb0bcc41c623f6",
  "Package": "iterpc",
  "Type": "Package",
  "Title": "Efficient Iterator for Permutations and Combinations",
  "Version": "0.4.2",
  "Date": "2020-01-08",
  "Author": "Randy Lai [aut, cre]",
  "Maintainer": "Randy Lai <randy.cs.lai@gmail.com>",
  "Authors@R": "c(\nperson(\"Randy\", \"Lai\", , \"randy.cs.lai@gmail.com\", role = c(\"aut\", \"cre\"))\n)",
  "Description": "Iterator for generating permutations and combinations.\nThey can be either drawn with or without replacement, or with\ndistinct/ non-distinct items (multiset). The generated\nsequences are in lexicographical order (dictionary order). The\nalgorithms to generate permutations and combinations are memory\nefficient. These iterative algorithms enable users to process\nall sequences without putting all results in the memory at the\nsame time. The algorithms are written in C/C++ for faster\nperformance. Note: 'iterpc' is no longer being maintained.\nUsers are recommended to switch to 'arrangements'.",
  "URL": "https://randy3k.github.io/iterpc",
  "License": "GPL-2",
  "ByteCompile": "yes",
  "RoxygenNote": "6.1.1",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libgmp3-dev",
  "Repository": "https://randy3k.r-universe.dev",
  "Date/Publication": "2020-01-08 23:04:52 UTC",
  "RemoteUrl": "https://github.com/randy3k/iterpc",
  "RemoteRef": "HEAD",
  "RemoteSha": "a97e58b0511558801f9cbd39304cfb64f176febc",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 06:01:04 UTC",
    "User": "root"
  },
  "MD5sum": "61678e897d7e48d2248bad052601b665",
  "_user": "randy3k",
  "_type": "src",
  "_file": "iterpc_0.4.2.tar.gz",
  "_fileid": "fc3965b365135219060b9d5e3935b31a6baa9df468c8d1d1aefb301d868675a3",
  "_filesize": 130898,
  "_sha256": "fc3965b365135219060b9d5e3935b31a6baa9df468c8d1d1aefb301d868675a3",
  "_created": "2026-05-21T06:01:04.000Z",
  "_published": "2026-05-21T21:24:58.924Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77271743970,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7128373146"
    },
    {
      "job": 77271744356,
      "time": 122,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7128369890"
    },
    {
      "job": 77271744047,
      "time": 101,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7128365304"
    },
    {
      "job": 77271744308,
      "time": 81,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7128360742"
    },
    {
      "job": 77271743326,
      "time": 169,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7128341713"
    },
    {
      "job": 77271742939,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7147554687"
    },
    {
      "job": 77271743455,
      "time": 64,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7128356783"
    },
    {
      "job": 77271743943,
      "time": 71,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7128358212"
    },
    {
      "job": 77271744159,
      "time": 68,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7128358355"
    }
  ],
  "_buildurl": "https://github.com/r-universe/randy3k/actions/runs/26208360678",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/randy3k/iterpc",
  "_commit": {
    "id": "a97e58b0511558801f9cbd39304cfb64f176febc",
    "author": "Randy Lai <randy.cs.lai@gmail.com>",
    "committer": "Randy Lai <randy.cs.lai@gmail.com>",
    "message": "update with arrangements\n",
    "time": 1578524692
  },
  "_maintainer": {
    "name": "Randy Lai",
    "email": "randy.cs.lai@gmail.com",
    "login": "randy3k",
    "description": "",
    "uuid": 1690993
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "iterators",
      "role": "Imports"
    },
    {
      "package": "gmp",
      "version": ">= 0.5-12",
      "role": "Imports"
    },
    {
      "package": "arrangements",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "randy3k",
  "_selfowned": true,
  "_usedby": 5,
  "_updates": [],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "randy3k",
      "count": 172,
      "uuid": 1690993
    }
  ],
  "_userbio": {
    "uuid": 1690993,
    "type": "user",
    "name": "Randy Lai"
  },
  "_downloads": {
    "count": 2727,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/iterpc"
  },
  "_devurl": "https://github.com/randy3k/iterpc",
  "_pkgdown": "https://randy3k.github.io/iterpc",
  "_searchresults": 59,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/iterpc.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/randy3k/iterpc",
  "_realowner": "randy3k",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.2",
      "date": "2014-03-29"
    },
    {
      "version": "0.2.3",
      "date": "2014-04-07"
    },
    {
      "version": "0.2.4",
      "date": "2014-05-25"
    },
    {
      "version": "0.2.5",
      "date": "2014-06-12"
    },
    {
      "version": "0.2.6",
      "date": "2014-11-14"
    },
    {
      "version": "0.2.7",
      "date": "2015-04-16"
    },
    {
      "version": "0.2.8",
      "date": "2016-01-28"
    },
    {
      "version": "0.2.9",
      "date": "2016-04-09"
    },
    {
      "version": "0.2.9-1",
      "date": "2016-04-20"
    },
    {
      "version": "0.3.0",
      "date": "2016-05-31"
    },
    {
      "version": "0.3.1",
      "date": "2017-08-28"
    },
    {
      "version": "0.3.3",
      "date": "2017-09-12"
    },
    {
      "version": "0.3.4",
      "date": "2017-12-06"
    },
    {
      "version": "0.4.0",
      "date": "2018-04-24"
    },
    {
      "version": "0.4.1",
      "date": "2018-08-08"
    },
    {
      "version": "0.4.2",
      "date": "2020-01-10"
    }
  ],
  "_exports": [
    "getall",
    "getcurrent",
    "getlength",
    "getnext",
    "iter_wrapper",
    "iterpc",
    "multichoose",
    "nc_multiset",
    "np_multiset"
  ],
  "_help": [
    {
      "page": "getall",
      "title": "Get all permutations/combinations for a iterator",
      "topics": [
        "getall"
      ]
    },
    {
      "page": "getcurrent",
      "title": "Get the current element of a iterator",
      "topics": [
        "getcurrent"
      ]
    },
    {
      "page": "getlength",
      "title": "Get the length for a iterator",
      "topics": [
        "getlength"
      ]
    },
    {
      "page": "getnext",
      "title": "Get the next permutation(s)/combination(s) for a iterator",
      "topics": [
        "getnext"
      ]
    },
    {
      "page": "iter_wrapper",
      "title": "Wrap iterpc objects by iterators::iter",
      "topics": [
        "iter_wrapper"
      ]
    },
    {
      "page": "iterpc",
      "title": "Efficient Iterator for Permutations and Combinations",
      "topics": [
        "iterpc-package",
        "iterpc"
      ]
    },
    {
      "page": "multichoose",
      "title": "Calculate multinomial coefficient",
      "topics": [
        "multichoose"
      ]
    },
    {
      "page": "nc_multiset",
      "title": "Calculate the number of r-combinations of a multiset",
      "topics": [
        "nc_multiset"
      ]
    },
    {
      "page": "np_multiset",
      "title": "Calculate the number of r-permutations of a multiset",
      "topics": [
        "np_multiset"
      ]
    }
  ],
  "_readme": "https://github.com/randy3k/iterpc/raw/HEAD/README.md",
  "_rundeps": [
    "arrangements",
    "gmp",
    "iterators",
    "R6"
  ],
  "_vignettes": [
    {
      "source": "combinations.Rmd",
      "filename": "combinations.html",
      "title": "Examples of generating combinations",
      "author": "Randy Lai",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2016-12-03 20:43:10",
      "modified": "2016-12-03 21:26:12",
      "commits": 2
    },
    {
      "source": "permutations.Rmd",
      "filename": "permutations.html",
      "title": "Examples of generating permutations",
      "author": "Randy Lai",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2016-12-03 20:43:10",
      "modified": "2016-12-03 21:26:12",
      "commits": 2
    }
  ],
  "_score": 7.33687091807878,
  "_indexed": true,
  "_nocasepkg": "iterpc",
  "_universes": [
    "randy3k"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-05-21T06:03:28.000Z",
      "distro": "noble",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "fc10a03b3f165766900ad7ee8bbac0f298552691009513d8f57e14de6cbb6c9a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/26208360678"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-05-21T06:03:14.000Z",
      "distro": "noble",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "a3aaeaeedcb9eb6116364d6a36b10c800d4251607888ee1251bbeb17c573655e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/26208360678"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-05-21T06:02:54.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "fa47ced031778e89ee35a1f7df6c8fd933b959a389f29b8ba8659e365e9b5d85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/26208360678"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-05-21T06:02:36.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "f27facd16e784a1b4b01ec4ddcc973d0cd9921f8fb0c3975d798d46be2638a7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/26208360678"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-05-21T21:24:39.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "78fa6fdfe4dce4470f1ec21a414e043ed0ca6b11f57d61c46fc466b70fc03ea5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/26208360678"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-05-21T06:02:15.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "1e0c992e42ed7c1a96c5a3509693621f3cb68978a47634b6d71f199d6dbfbac0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/26208360678"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-05-21T06:02:19.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "0fcc66f40d7b0ef4aed11c8c4979650deee10ce67a8a450ff8f722f8b391aa54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/26208360678"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-05-21T06:02:18.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "b978793b2f359fc871e0ec8c5edc3e67db9be1e067d3188ef8a90bc2e8c006b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/26208360678"
    }
  ]
}