{
  "_id": "6afc45cb69eab6fdff2d7a44",
  "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-11-17 11:33:25 UTC",
    "User": "root"
  },
  "_user": "randy3k",
  "_type": "src",
  "_file": "iterpc_0.4.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/81e4efd24fcc6b2a068f83a94e43691873c0b4e831e390ab3193ac417c899906",
  "_filesize": 131795,
  "_sha256": "81e4efd24fcc6b2a068f83a94e43691873c0b4e831e390ab3193ac417c899906",
  "_expires": "2027-02-25T12:17:13.000Z",
  "_created": "2026-11-17T11:33:25.000Z",
  "_published": "2026-11-17T12:17:15.094Z",
  "_upstream": "https://github.com/randy3k/iterpc",
  "_status": "success",
  "_maintainer": {
    "name": "Randy Lai",
    "email": "randy.cs.lai@gmail.com",
    "login": "randy3k",
    "description": "",
    "uuid": 1690993
  },
  "_jobs": [
    {
      "job": 134011044908,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14324148616"
    },
    {
      "job": 134011044826,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14325295304"
    },
    {
      "job": 134011044841,
      "time": 111,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14326353806"
    },
    {
      "job": 134011045129,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14327156891"
    },
    {
      "job": 134009487015,
      "time": 178,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14325185538"
    },
    {
      "job": 134011045092,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14325555163"
    },
    {
      "job": 134011044875,
      "time": 58,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14324616350"
    },
    {
      "job": 134011044984,
      "time": 59,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14324771236"
    },
    {
      "job": 134011045216,
      "time": 64,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14324746072"
    }
  ],
  "_buildurl": "https://github.com/r-universe/randy3k/actions/runs/44074612238",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 570
  },
  "_downloads": {
    "count": 3948,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/iterpc"
  },
  "_devurl": "https://github.com/randy3k/iterpc",
  "_pkgdown": "https://randy3k.github.io/iterpc",
  "_rbuild": "4.6.2",
  "_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": 6.726710912492606,
  "_indexed": true,
  "_nocasepkg": "iterpc",
  "_universes": [
    "randy3k"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-11-17T11:35:22.000Z",
      "distro": "resolute",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/5fb67b96c3d972a7179227ec4637c1ed6cb0aefa5173718f9056e5d035988c34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/44074612238"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-11-17T11:35:23.000Z",
      "distro": "resolute",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/6a8a3c364fcedcc6228ca0691b4eb43c4dce35552dfe130db32007e186c99ce6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/44074612238"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-11-17T12:13:21.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/767762faae4d7fd7a80e204974a53b5735c18b39801e2ad5617bf30bdfeb0a31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/44074612238"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-11-17T12:16:36.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/0eec3daf9a2e7c705cd4e73f1ecf253c595f9de0e27e5d1fb312758cc3a80c1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/44074612238"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-11-17T11:35:08.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/54c900fd953fca37b82a3cf75614e2be158a070e8614531f7f00090edf7a017a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/44074612238"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-11-17T11:34:26.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/25382ec5c77cb1b97b53547ab7950dc9ccd24cc11af1e1e47c4da056114c8c92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/44074612238"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-11-17T11:34:27.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/885326a5ca024314fa929ba8f5b4cc7d0afa82917ae5b860b81ed642f54d4b9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/44074612238"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-11-17T11:34:30.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/a24a5c37e81e8e226fe7d2f0387dc7151e665ff34af04ac0b7dd03cd7177303b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/44074612238"
    }
  ]
}