{
  "_id": "6a36661f3efcd9bda440707c",
  "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-06-20 10:03:52 UTC",
    "User": "root"
  },
  "MD5sum": "de2b1203c815e1ec0d32d8b82122b387",
  "_user": "randy3k",
  "_type": "src",
  "_file": "iterpc_0.4.2.tar.gz",
  "_fileid": "643b89bad66284efeab7c8c715617345d7e75f6769839e5ec0aefbd541e75b5c",
  "_filesize": 133674,
  "_sha256": "643b89bad66284efeab7c8c715617345d7e75f6769839e5ec0aefbd541e75b5c",
  "_created": "2026-06-20T10:03:52.000Z",
  "_published": "2026-06-20T10:06:23.078Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82474765206,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7764366640"
    },
    {
      "job": 82474765196,
      "time": 104,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764364328"
    },
    {
      "job": 82474765197,
      "time": 90,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7764362606"
    },
    {
      "job": 82474765201,
      "time": 73,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764360491"
    },
    {
      "job": 82474577101,
      "time": 174,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764351297"
    },
    {
      "job": 82474765200,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764364070"
    },
    {
      "job": 82474765214,
      "time": 64,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7764359496"
    },
    {
      "job": 82474765211,
      "time": 62,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7764359220"
    },
    {
      "job": 82474765205,
      "time": 67,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764359872"
    }
  ],
  "_buildurl": "https://github.com/r-universe/randy3k/actions/runs/27867763351",
  "_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",
    "followers": 566
  },
  "_downloads": {
    "count": 2906,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/iterpc"
  },
  "_devurl": "https://github.com/randy3k/iterpc",
  "_pkgdown": "https://randy3k.github.io/iterpc",
  "_searchresults": 87,
  "_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.533148631075628,
  "_indexed": true,
  "_nocasepkg": "iterpc",
  "_universes": [
    "randy3k"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-20T10:05:54.000Z",
      "distro": "noble",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "5368284804abdd595d71fceaa31cd4302b36465f130f1399bebc99410f73e0a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/27867763351"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-20T10:05:38.000Z",
      "distro": "noble",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "c3058baab0edaa7201a3ec1b99640b4badcc69c8e5941ecb2e0385fc7b5b9b3d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/27867763351"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-06-20T10:05:25.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "e4b84e60975b6a4f8b2d125a7f60f57cbc3bbb1903e5ba0f7c11acf82b5a1dc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/27867763351"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-06-20T10:05:10.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "79f5154bb6aa50fd54d41f3fbfe4a48b7927e9b4d6574aa988232736a27c57ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/27867763351"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-06-20T10:05:46.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "c4cb5aba618554c11036a11c0c73ba78ab5c2d9ef2f4fb13640a4e03a6a38124",
      "status": "success",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/27867763351"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-06-20T10:04:55.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "a0c35261e689769a48a855e53b5a349ab0a0d178e2d1a42bd200b5287e315b43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/27867763351"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-06-20T10:04:52.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "9c467a78cb5694e48a0d9406cf8d40032358f6cd6736013fe2a9a2567277c7c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/27867763351"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-06-20T10:04:55.000Z",
      "commit": "a97e58b0511558801f9cbd39304cfb64f176febc",
      "fileid": "ed734da1311d5ea72511cd644a6d0e0bd74df327d40192127555bd882b1ec308",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/randy3k/actions/runs/27867763351"
    }
  ]
}