{
  "_id": "6aacfc253d719c1f84074224",
  "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-09-18 08:14:22 UTC",
    "User": "root"
  },
  "_user": "randy3k",
  "_type": "src",
  "_file": "iterpc_0.4.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/17c78aa452be98218c41235ce358a52e3135a04c3b5541e89b02d0df73607fa1",
  "_filesize": 133318,
  "_sha256": "17c78aa452be98218c41235ce358a52e3135a04c3b5541e89b02d0df73607fa1",
  "_expires": "2026-12-27T08:53:55.000Z",
  "_created": "2026-09-18T08:14:22.000Z",
  "_published": "2026-09-18T08:53:57.370Z",
  "_jobs": [
    {
      "job": 105530762642,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10537224967"
    },
    {
      "job": 105530762415,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10537789607"
    },
    {
      "job": 105530762486,
      "time": 82,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10538044595"
    },
    {
      "job": 105530762527,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10538209487"
    },
    {
      "job": 105529891178,
      "time": 188,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10538510007"
    },
    {
      "job": 105530762452,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10538025715"
    },
    {
      "job": 105530762511,
      "time": 64,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10537589772"
    },
    {
      "job": 105530762514,
      "time": 59,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10537649629"
    },
    {
      "job": 105530762665,
      "time": 67,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10537958681"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/randy3k/actions/runs/35323075727",
  "_status": "success",
  "_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": 566
  },
  "_downloads": {
    "count": 3322,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/iterpc"
  },
  "_devurl": "https://github.com/randy3k/iterpc",
  "_pkgdown": "https://randy3k.github.io/iterpc",
  "_searchresults": 78,
  "_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.543827999300862,
  "_indexed": true,
  "_nocasepkg": "iterpc",
  "_universes": [
    "randy3k"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-09-18T08:16:33.000Z",
      "distro": "resolute",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/8d23f023b20f762fd48e1a95d1f07d9cc330214dec08d979ce2e18e7134bd1ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/35323075727"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-09-18T08:17:23.000Z",
      "distro": "resolute",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/7d23e7f2b4712896315f7937306500232e7fe46908a70e01f2cb83e0786c91ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/35323075727"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-09-18T08:50:23.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/0965c844eccfffacd221eff5575011971ffc40da56229d837d6b340ad94f247c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/35323075727"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-09-18T08:53:25.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/7891443145c633f10d669a92be525a1bbab3fb338b7b0755c46cc8f26746e896",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/35323075727"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-09-18T08:16:31.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/3ac66d814229452095e4ee09ff40683f355d7f1cc0303c2ac2f882787b6c4119",
      "status": "success",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/35323075727"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-09-18T08:15:30.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/6ae82dd42f3844753da3609ee8cabc89b3645e1ceb5c13673d2e1e78ddbbb6ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/35323075727"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-09-18T08:15:25.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/6a1d99241e3997612d31af31494d98ed01b949867ee0b8f9ed984d57622f61a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/35323075727"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-09-18T08:15:30.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "https://r2.ropensci.org/35cbc4143e4da860a900cd7a3ef80ce523ae907a9d9de3a8b8a1387296b23883",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/35323075727"
    }
  ]
}