{
  "_id": "6ad481e3dc7ca4d810c6d0a0",
  "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-10-18 08:15:25 UTC",
    "User": "root"
  },
  "_user": "randy3k",
  "_type": "src",
  "_file": "iterpc_0.4.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/a1a04fe45af2e8732030e857a9d9178ad30bab7b0878ff33744e3320c389a253",
  "_filesize": 132055,
  "_sha256": "a1a04fe45af2e8732030e857a9d9178ad30bab7b0878ff33744e3320c389a253",
  "_expires": "2027-01-26T08:22:58.000Z",
  "_created": "2026-10-18T08:15:25.000Z",
  "_published": "2026-10-18T08:22:59.588Z",
  "_buildurl": "https://github.com/r-universe/randy3k/actions/runs/39110561093",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117626216665,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12130123361"
    },
    {
      "job": 117626216832,
      "time": 107,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12130022185"
    },
    {
      "job": 117626216646,
      "time": 80,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12129444846"
    },
    {
      "job": 117626216647,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12130482647"
    },
    {
      "job": 117625672674,
      "time": 168,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12129863272"
    },
    {
      "job": 117626216715,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12130731035"
    },
    {
      "job": 117626216664,
      "time": 71,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12130158127"
    },
    {
      "job": 117626216686,
      "time": 73,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12130203014"
    },
    {
      "job": 117626216666,
      "time": 71,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12130491949"
    }
  ],
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 568
  },
  "_downloads": {
    "count": 3371,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/iterpc"
  },
  "_devurl": "https://github.com/randy3k/iterpc",
  "_pkgdown": "https://randy3k.github.io/iterpc",
  "_searchresults": 79,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/iterpc.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.55571961230642,
  "_indexed": true,
  "_nocasepkg": "iterpc",
  "_universes": [
    "randy3k"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-10-18T08:17:19.000Z",
      "distro": "resolute",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/7aa9a915f550218356a53e079e3041a504c44077a21357b6bf333f81fcd229d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/39110561093"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-10-18T08:17:16.000Z",
      "distro": "resolute",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/f0b922aa5867bfbdade995a9dbce7f46696aebf4936e23ec29a0adc3c49a692d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/39110561093"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-10-18T08:22:26.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/876bb0613490bff4941ce321ca02db1cfdd827b5edaf091e816708dac68e1a12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/39110561093"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-10-18T08:22:05.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/d5a71ce062192adc166add355d906384e633487299cd9ad0b18984b4f8215207",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/39110561093"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-10-18T08:17:05.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/eb934f762e640cdabf6f94465ab81642c796f216aea810361044936048e5b637",
      "status": "success",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/39110561093"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-10-18T08:16:34.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/59ef6a5cf9a465b8abf7cc39775751fe9a8910ce834f059551f144d5c5773d1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/39110561093"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-10-18T08:16:36.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/e17d6d3506379203af6d5abecdbffb64f291ee43e16988345a0be7426cb32b72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/39110561093"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-10-18T08:16:34.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/fdb4e5975c03f9623292abf395284182dae95a6cd9043380cd496732eba0b080",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/39110561093"
    }
  ]
}