{
  "_id": "6a50c97d89c83ec243a30c38",
  "Package": "Rpgen",
  "Title": "Vendored 'PLINK 2' pgenlib with a C-Callable Genotype Reader API",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(given = \"Sounkou Mahamane\", family = \"Toure\", email = \"sounkoutoure@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(given = \"Christopher\", family = \"Chang\", role = \"cph\", comment = \"Author of the vendored pgenlib library and plink2 program\"),\nperson(given = \"Shaun\", family = \"Purcell\", role = \"cph\", comment = \"Co-author of the vendored plink2 program (VcfToPgen import closure)\"),\nperson(given = \"Eric\", family = \"Biggers\", role = \"cph\", comment = \"Author of included libdeflate library\"),\nperson(given = \"Yann Collet\", family = \"\", role = \"cph\", comment = \"Author of included Zstd library\"),\nperson(given = \"Meta Platforms, Inc.\", role = \"cph\", comment = \"Zstd library\"),\nperson(given = \"Evan\", family = \"Nemerson\", role = \"cph\", comment = \"Author of included SIMDe library\"),\nperson(given = \"Mutsuo\", family = \"Saito\", role = \"cph\", comment = \"Co-author of included SFMT library\"),\nperson(given = \"Makoto\", family = \"Matsumoto\", role = \"cph\", comment = \"Co-author of included SFMT library\")\n)",
  "Description": "Vendors the read subset of 'PLINK 2's pgenlib library\n(<https://github.com/chrchang/plink-ng>), the same subset the\nCRAN package 'pgenlibr' vendors and builds, as a static library\nand exposes it through 'R_RegisterCCallable' C-callable entry\npoints. Also vendors plink2's own import closure ('VcfToPgen',\n'BcfToPgen', 'OxBgenToPgen', 'OxGenToPgen',\n'OxHapslegendToPgen', 'Plink1DosageToPgen') so a VCF, BCF,\nBGEN, Oxford .gen, Oxford .haps/.legend, or legacy PLINK 1\n--import-dosage file can be converted to a '.pgen' and read\nback through this package's own reader, without a separate\n'htslib'-based parser. This is a carrier package: it has no\nhigh-level R modeling API of its own beyond a milestone smoke\ntest that opens a '.pgen' file and reports its sample and\nvariant counts. Other R packages link to it ('LinkingTo') to\nread 'PLINK 2' genotype files natively from their own C or C++\ncode, which 'pgenlibr' does not expose, since it only offers an\nR-level interface.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Remotes": [
    "sounkou-bioinfo/Rfmalloc/packages/Rfmalloc"
  ],
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/sounkou-bioinfo/Rfmalloc,\nhttps://sounkou-bioinfo.github.io/Rfmalloc/Rpgen/",
  "BugReports": "https://github.com/sounkou-bioinfo/Rfmalloc/issues",
  "Config/pak/sysreqs": "make",
  "Repository": "https://sounkou-bioinfo.r-universe.dev",
  "Date/Publication": "2026-07-10 06:12:39 UTC",
  "RemoteUrl": "https://github.com/sounkou-bioinfo/Rfmalloc",
  "RemoteRef": "HEAD",
  "RemoteSha": "921d01f6786a2db38d90a2629c39f56a244b7875",
  "RemoteSubdir": "packages/Rpgen",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-10 10:09:41 UTC",
    "User": "root"
  },
  "Author": "Sounkou Mahamane Toure [aut, cre],\nChristopher Chang [cph] (Author of the vendored pgenlib library and\nplink2 program),\nShaun Purcell [cph] (Co-author of the vendored plink2 program\n(VcfToPgen import closure)),\nEric Biggers [cph] (Author of included libdeflate library),\nYann Collet [cph] (Author of included Zstd library),\nMeta Platforms, Inc. [cph] (Zstd library),\nEvan Nemerson [cph] (Author of included SIMDe library),\nMutsuo Saito [cph] (Co-author of included SFMT library),\nMakoto Matsumoto [cph] (Co-author of included SFMT library)",
  "Maintainer": "Sounkou Mahamane Toure <sounkoutoure@gmail.com>",
  "_user": "sounkou-bioinfo",
  "_type": "src",
  "_file": "Rpgen_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/002cca3fad4ce8b879201bdcaa0af33b662ccd74774872359602b6be6e3271fc",
  "_filesize": 2152202,
  "_sha256": "002cca3fad4ce8b879201bdcaa0af33b662ccd74774872359602b6be6e3271fc",
  "_expires": "2026-10-18T10:29:15.000Z",
  "_created": "2026-07-10T10:09:41.000Z",
  "_published": "2026-07-10T10:29:17.566Z",
  "_jobs": [
    {
      "job": 86338120112,
      "time": 193,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8224615343"
    },
    {
      "job": 86338120203,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8224599222"
    },
    {
      "job": 86338120113,
      "time": 161,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8224604442"
    },
    {
      "job": 86338120141,
      "time": 191,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8224615802"
    },
    {
      "job": 86338120189,
      "time": 145,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8224843044"
    },
    {
      "job": 86338120116,
      "time": 264,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8224883378"
    },
    {
      "job": 86338120137,
      "time": 139,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8224799540"
    },
    {
      "job": 86338120159,
      "time": 218,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8224930395"
    },
    {
      "job": 86337449375,
      "time": 220,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8224538470"
    },
    {
      "job": 86338120013,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 86338120091,
      "time": 205,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8224618519"
    },
    {
      "job": 86338120156,
      "time": 175,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8224606880"
    },
    {
      "job": 86338120219,
      "time": 187,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8224612529"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/29085272650",
  "_status": "success",
  "_upstream": "https://github.com/sounkou-bioinfo/Rfmalloc",
  "_commit": {
    "id": "921d01f6786a2db38d90a2629c39f56a244b7875",
    "author": "sounkou-bioinfo <sounkoutoure@gmail.com>",
    "committer": "sounkou-bioinfo <sounkoutoure@gmail.com>",
    "message": "Rggml: opt-in GGML_VK_ALLOW_128_PUSH for 128-byte-push-constant GPUs\n\nUpstream ggml refuses any Vulkan device with maxPushConstantsSize < 256 B,\nrejecting the whole device at init. In this 5D fork that 256 B is needed by\nexactly one op - the 5D non-contiguous tensor copy, already guarded at its\ndispatch in ggml-vulkan-elemwise.cpp - while vk_mat_mat_push_constants is\n68 B and every <=4D op fits in 128 B. A GPU reached only through a D3D12\ntranslation layer (Mesa dzn under WSL - the sole Vulkan path to the GPU\nthere) exposes just 128 B push constants, a D3D12 root-signature limit, so\na real GPU is rejected though it can run GEMM and all <=4D ops.\n\nGGML_VK_ALLOW_128_PUSH=1 opts in to devices with >= 128 B push constants:\nmatmul and <=4D ops run; the 5D-copy path still errors at its own dispatch.\nOff by default, so default behaviour is byte-for-byte upstream's (the error\nmessage now also points at the flag when the device has >= 128 B). Extends\nthe existing patches/ggml-vulkan_ggml-vulkan-misc.cpp.patch (regenerated;\nvendorggml.R drift guard green) exactly like the GGML_VK_ALLOW_CPU gate.\n\nVerified on an RTX 5050 via dzn (GGML_VK_DEVICE=0): flag unset -> device\nrejected with the guidance message; GGML_VK_ALLOW_128_PUSH=1 -> vulkan\nmul_mat runs, fp32-correct, 2-2.6x OpenBLAS through 4096^3 (6144^3 hits a\ndzn large-dispatch correctness cliff - a dzn limit, not this gate).\n\nShips with the public rggml_mul_mat(A, B, backend) so callers reach the\nvulkan GEMM without the RC_*_test_* symbol; RfmallocStatgen's coloc GEMM\ndispatches through it.\n",
    "time": 1783663959
  },
  "_maintainer": {
    "name": "Sounkou Mahamane Toure",
    "email": "sounkoutoure@gmail.com",
    "login": "sounkou-bioinfo",
    "mastodon": "@bioinfhotep@genomic.social",
    "description": "Sequences and Consequences.",
    "uuid": 56392505
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "Rfmalloc",
      "role": "Depends"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "sounkou-bioinfo",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-37",
      "n": 29
    },
    {
      "week": "2026-19",
      "n": 50
    },
    {
      "week": "2026-20",
      "n": 6
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 83
    }
  ],
  "_tags": [],
  "_topics": [
    "altrep",
    "blas",
    "genomics",
    "ggml",
    "gguf",
    "llm",
    "llm-inference",
    "malloc",
    "memory-mapped",
    "mmap",
    "out-of-core",
    "quantization",
    "simd",
    "libzstd",
    "libdeflate",
    "zlib"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "sounkou-bioinfo",
      "count": 191,
      "uuid": 56392505
    }
  ],
  "_userbio": {
    "uuid": 56392505,
    "type": "user",
    "name": "Sounkou Mahamane Toure",
    "followers": 48,
    "description": "Sequences and Consequences."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/Rpgen"
  },
  "_devurl": "https://github.com/sounkou-bioinfo/rfmalloc",
  "_searchresults": 9,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/Rpgen.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "rpgen_bed",
    "rpgen_bed_info",
    "rpgen_dosage",
    "rpgen_import_bcf",
    "rpgen_import_bed",
    "rpgen_import_bgen",
    "rpgen_import_gen",
    "rpgen_import_haps",
    "rpgen_import_plink1_dosage",
    "rpgen_import_vcf",
    "rpgen_info",
    "rpgen_read_bed_hardcalls",
    "rpgen_read_dosages",
    "rpgen_read_hardcalls"
  ],
  "_help": [
    {
      "page": "rpgen_bed",
      "title": "Read a .pgen or PLINK 1 .bed fileset into an Rfmalloc bed tensor",
      "topics": [
        "rpgen_bed"
      ]
    },
    {
      "page": "rpgen_bed_info",
      "title": "Report a PLINK 1 .bed fileset's sample and variant counts",
      "topics": [
        "rpgen_bed_info"
      ]
    },
    {
      "page": "rpgen_dosage",
      "title": "Read a .pgen file into an Rfmalloc dosage tensor",
      "topics": [
        "rpgen_dosage"
      ]
    },
    {
      "page": "rpgen_import_bcf",
      "title": "Convert a BCF to a .pgen using plink2's own importer",
      "topics": [
        "rpgen_import_bcf"
      ]
    },
    {
      "page": "rpgen_import_bed",
      "title": "Convert a VCF straight into an Rfmalloc bed tensor",
      "topics": [
        "rpgen_import_bed"
      ]
    },
    {
      "page": "rpgen_import_bgen",
      "title": "Convert a BGEN file to a .pgen using plink2's own importer",
      "topics": [
        "rpgen_import_bgen"
      ]
    },
    {
      "page": "rpgen_import_gen",
      "title": "Convert an Oxford-format .gen + .sample to a .pgen using plink2's own importer",
      "topics": [
        "rpgen_import_gen"
      ]
    },
    {
      "page": "rpgen_import_haps",
      "title": "Convert Oxford-format phased haplotypes (.haps/.legend/.sample) to a .pgen",
      "topics": [
        "rpgen_import_haps"
      ]
    },
    {
      "page": "rpgen_import_plink1_dosage",
      "title": "Convert a legacy PLINK 1 -import-dosage file to a .pgen",
      "topics": [
        "rpgen_import_plink1_dosage"
      ]
    },
    {
      "page": "rpgen_import_vcf",
      "title": "Convert a VCF to a .pgen using plink2's own importer",
      "topics": [
        "rpgen_import_vcf"
      ]
    },
    {
      "page": "rpgen_info",
      "title": "Open a .pgen file and report its sample and variant counts",
      "topics": [
        "rpgen_info"
      ]
    },
    {
      "page": "rpgen_read_bed_hardcalls",
      "title": "Read genotypes from a PLINK 1 .bed fileset as a dense R matrix",
      "topics": [
        "rpgen_read_bed_hardcalls"
      ]
    },
    {
      "page": "rpgen_read_hardcalls",
      "title": "Read genotypes from a .pgen file as a dense R matrix",
      "topics": [
        "rpgen_read_dosages",
        "rpgen_read_hardcalls"
      ]
    }
  ],
  "_readme": "https://github.com/sounkou-bioinfo/Rfmalloc/raw/HEAD/packages/Rpgen/README.md",
  "_rundeps": [
    "Rfmalloc"
  ],
  "_sysdeps": [
    {
      "shlib": "libzstd",
      "package": "libzstd1",
      "headers": "libzstd-dev",
      "source": "libzstd",
      "version": "1.5.7+dfsg-3",
      "name": "libzstd",
      "homepage": "https://github.com/facebook/zstd",
      "description": "fast lossless compression algorithm"
    },
    {
      "shlib": "libdeflate",
      "package": "libdeflate0",
      "headers": "libdeflate-dev",
      "source": "libdeflate",
      "version": "1.23-2ubuntu1",
      "name": "libdeflate",
      "homepage": "https://github.com/ebiggers/libdeflate",
      "description": "fast, whole-buffer DEFLATE-based compression and decompression"
    },
    {
      "shlib": "libz",
      "package": "zlib1g",
      "headers": "zlib1g-dev",
      "source": "zlib",
      "version": "1:1.3.dfsg+really1.3.1-1ubuntu3",
      "name": "zlib",
      "homepage": "http://zlib.net/",
      "description": "compression library - runtime"
    }
  ],
  "_score": 2.8750612633917,
  "_indexed": true,
  "_nocasepkg": "rpgen",
  "_universes": [
    "sounkou-bioinfo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-10T10:13:11.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "921d01f6786a2db38d90a2629c39f56a244b7875",
      "fileid": "https://r2.ropensci.org/609985de19f33e29acee69a6bef572a7f02e7084dea60d4f07c1d6193f3b21bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/29085272650"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-10T10:12:26.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "921d01f6786a2db38d90a2629c39f56a244b7875",
      "fileid": "https://r2.ropensci.org/bdd2785f1230fbe6ca8f21a78f46c37c410cba113f5330d0045b2864cb7b8bd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/29085272650"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-10T10:12:40.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "921d01f6786a2db38d90a2629c39f56a244b7875",
      "fileid": "https://r2.ropensci.org/20083ffe1667afdd05245e087991e1bd606fd251edeb88e0e4a0fbec6011e029",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/29085272650"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-10T10:13:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "921d01f6786a2db38d90a2629c39f56a244b7875",
      "fileid": "https://r2.ropensci.org/47eeedc54d11e3a86de02b6ad608033bbb65599aea894bf925f3dd381ba20d02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/29085272650"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-10T10:23:43.000Z",
      "arch": "aarch64",
      "commit": "921d01f6786a2db38d90a2629c39f56a244b7875",
      "fileid": "https://r2.ropensci.org/d0a89c8351a3c8ec6e1533856fa69fac757da6852a7c2d802a6eaeebb9e6c601",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/29085272650"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-10T10:24:59.000Z",
      "arch": "x86_64",
      "commit": "921d01f6786a2db38d90a2629c39f56a244b7875",
      "fileid": "https://r2.ropensci.org/b012c726308b51b49667aad1fd020c91d88301093b68efda9a3eb4db49da6969",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/29085272650"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-10T10:21:44.000Z",
      "arch": "aarch64",
      "commit": "921d01f6786a2db38d90a2629c39f56a244b7875",
      "fileid": "https://r2.ropensci.org/54824f34729aa1a31d2bbcdad12c5ec2fdf8c174bb035dd0de9d7d29ab8a7019",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/29085272650"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-10T10:27:30.000Z",
      "arch": "x86_64",
      "commit": "921d01f6786a2db38d90a2629c39f56a244b7875",
      "fileid": "https://r2.ropensci.org/cff898bf61c39bf078ccd42ad0f4e95d3b24c4a84cddf5d28ab100f2363f8069",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/29085272650"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-10T10:11:28.000Z",
      "arch": "x86_64",
      "commit": "921d01f6786a2db38d90a2629c39f56a244b7875",
      "fileid": "https://r2.ropensci.org/94c181ee0531605ee8df160eee4b29b3b2c5771f8b35d78fdcd8aafe43810e6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/29085272650"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-10T10:11:27.000Z",
      "arch": "x86_64",
      "commit": "921d01f6786a2db38d90a2629c39f56a244b7875",
      "fileid": "https://r2.ropensci.org/74b22ee3c2087cb358b4d10f311e0383c1fccc7925c1b418a3e20ad052a426e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/29085272650"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-10T10:11:29.000Z",
      "arch": "x86_64",
      "commit": "921d01f6786a2db38d90a2629c39f56a244b7875",
      "fileid": "https://r2.ropensci.org/0415dcb1a4197bfa639650c5bbcfa1be7f1a2be69bad567a629d048f1752c873",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sounkou-bioinfo/actions/runs/29085272650"
    }
  ]
}