{
  "_id": "6abe2b1599f7aa8c6aa5324b",
  "Package": "dqrng",
  "Type": "Package",
  "Title": "Fast Pseudo Random Number Generators",
  "Version": "0.4.1.1",
  "Authors@R": "c(\nperson(\"Ralf\", \"Stubner\", email = \"ralf.stubner@gmail.com\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0009-0009-1908-106X\")),\nperson(\"daqana GmbH\", role = \"cph\"),\nperson(\"David Blackman\", role = \"cph\", comment = \"Xoroshiro / Xoshiro family\"),\nperson(\"Melissa O'Neill\", email = \"oneill@pcg-random.org\", role = \"cph\", comment = \"PCG family\"),\nperson(\"Sebastiano Vigna\", email = \"vigna@acm.org\", role = \"cph\", comment = \"Xoroshiro / Xoshiro family\"),\nperson(\"Aaron\", \"Lun\", role=\"ctb\"),\nperson(\"Kyle\", \"Butts\", role = \"ctb\", email = \"kyle.butts@colorado.edu\"),\nperson(\"Henrik\", \"Sloot\", role = \"ctb\"),\nperson(\"Philippe\", \"Grosjean\", role = c(\"ctb\"), comment = c(ORCID = \"0000-0002-2694-9471\"))\n)",
  "Description": "Several fast random number generators are provided as C++\nheader only libraries: The PCG family by O'Neill (2014\n<https://www.cs.hmc.edu/tr/hmc-cs-2014-0905.pdf>) as well as\nthe Xoroshiro / Xoshiro family by Blackman and Vigna (2021\n<doi:10.1145/3460772>). In addition fast functions for\ngenerating random numbers according to a uniform, normal and\nexponential distribution are included. The latter two use the\nZiggurat algorithm originally proposed by Marsaglia and Tsang\n(2000, <doi:10.18637/jss.v005.i08>). The fast sampling methods\nsupport unweighted sampling both with and without replacement.\nThese functions are exported to R and as a C++ interface and\nare enabled for use with the default 64 bit generator from the\nPCG family, Xoroshiro128+/++/** and Xoshiro256+/++/** as well\nas the 64 bit version of the 20 rounds Threefry engine (Salmon\net al., 2011, <doi:10.1145/2063384.2063405>) as provided by the\npackage 'sitmo'.",
  "License": "AGPL-3",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "URL": "https://daqana.github.io/dqrng/, https://github.com/daqana/dqrng",
  "BugReports": "https://github.com/daqana/dqrng/issues",
  "Encoding": "UTF-8",
  "Config/build/compilation-database": "true",
  "Repository": "https://daqana.r-universe.dev",
  "Date/Publication": "2025-06-29 19:55:18 UTC",
  "RemoteUrl": "https://github.com/daqana/dqrng",
  "RemoteRef": "HEAD",
  "RemoteSha": "a47400129134ed514fd469c798a4d2359b5ee84c",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-01 09:33:49 UTC",
    "User": "root"
  },
  "Author": "Ralf Stubner [aut, cre] (ORCID:\n<https://orcid.org/0009-0009-1908-106X>),\ndaqana GmbH [cph],\nDavid Blackman [cph] (Xoroshiro / Xoshiro family),\nMelissa O'Neill [cph] (PCG family),\nSebastiano Vigna [cph] (Xoroshiro / Xoshiro family),\nAaron Lun [ctb],\nKyle Butts [ctb],\nHenrik Sloot [ctb],\nPhilippe Grosjean [ctb] (ORCID:\n<https://orcid.org/0000-0002-2694-9471>)",
  "Maintainer": "Ralf Stubner <ralf.stubner@gmail.com>",
  "_user": "daqana",
  "_type": "src",
  "_file": "dqrng_0.4.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/bbd24c5b14e7a79ca6d423629ab6c643969dfa541a49eb60430578a905ddaa11",
  "_filesize": 362711,
  "_sha256": "bbd24c5b14e7a79ca6d423629ab6c643969dfa541a49eb60430578a905ddaa11",
  "_expires": "2027-01-09T09:42:43.000Z",
  "_created": "2026-10-01T09:33:49.000Z",
  "_published": "2026-10-01T09:42:45.008Z",
  "_jobs": [
    {
      "job": 110308245194,
      "time": 151,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11152417608"
    },
    {
      "job": 110308245130,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11151749834"
    },
    {
      "job": 110308245183,
      "time": 141,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11152337723"
    },
    {
      "job": 110308245191,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11152256837"
    },
    {
      "job": 110308245297,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11152093121"
    },
    {
      "job": 110308245162,
      "time": 488,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11153150050"
    },
    {
      "job": 110308245419,
      "time": 248,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11152187324"
    },
    {
      "job": 110308245141,
      "time": 230,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11151953419"
    },
    {
      "job": 110306807156,
      "time": 229,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11152171886"
    },
    {
      "job": 110308245071,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11152013663"
    },
    {
      "job": 110308245179,
      "time": 379,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11152058769"
    },
    {
      "job": 110308245150,
      "time": 188,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11152058298"
    },
    {
      "job": 110308245222,
      "time": 151,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11152631436"
    },
    {
      "job": 110308245213,
      "time": 381,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11152352253"
    },
    {
      "job": 110308245158,
      "time": 139,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11151953229"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174",
  "_status": "success",
  "_upstream": "https://github.com/daqana/dqrng",
  "_commit": {
    "id": "a47400129134ed514fd469c798a4d2359b5ee84c",
    "author": "Ralf Stubner <ralf.stubner@gmail.com>",
    "committer": "Ralf Stubner <ralf.stubner@gmail.com>",
    "message": "Make random integer functions available in accessor class\n",
    "time": 1751226918
  },
  "_maintainer": {
    "name": "Ralf Stubner",
    "email": "ralf.stubner@gmail.com",
    "login": "rstub",
    "mastodon": "@rstub@digitalcourage.social",
    "orcid": "0009-0009-1908-106X",
    "description": "Software Engineer, Consultant, Physicist",
    "uuid": 27821131
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "version": ">= 1.64.0-1",
      "role": "LinkingTo"
    },
    {
      "package": "sitmo",
      "version": ">= 2.0.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.16",
      "role": "Imports"
    },
    {
      "package": "BH",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "version": ">= 1.2-3",
      "role": "Suggests"
    },
    {
      "package": "bench",
      "role": "Suggests"
    },
    {
      "package": "sitmo",
      "role": "Suggests"
    }
  ],
  "_owner": "daqana",
  "_selfowned": true,
  "_usedby": 261,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "random",
    "random-distributions",
    "random-generation",
    "random-sampling",
    "rng",
    "cpp"
  ],
  "_stars": 50,
  "_contributors": [
    {
      "user": "rstub",
      "count": 208,
      "uuid": 27821131
    },
    {
      "user": "kylebutts",
      "count": 9,
      "uuid": 19961439
    },
    {
      "user": "ltla",
      "count": 3,
      "uuid": 8166669
    },
    {
      "user": "hsloot",
      "count": 3,
      "uuid": 16246049
    },
    {
      "user": "fkohrt",
      "count": 1,
      "uuid": 12914806
    },
    {
      "user": "plietar",
      "count": 1,
      "uuid": 1489775
    }
  ],
  "_userbio": {
    "uuid": 38957446,
    "type": "organization",
    "name": "daqana",
    "followers": 2
  },
  "_downloads": {
    "count": 55310,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dqrng"
  },
  "_devurl": "https://github.com/daqana/dqrng",
  "_pkgdown": "https://daqana.github.io/dqrng/",
  "_searchresults": 345,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dqrng.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/daqana/dqrng",
  "_realowner": "daqana",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2018-05-11"
    },
    {
      "version": "0.0.3",
      "date": "2018-05-14"
    },
    {
      "version": "0.0.4",
      "date": "2018-06-08"
    },
    {
      "version": "0.0.5",
      "date": "2019-01-31"
    },
    {
      "version": "0.1.0",
      "date": "2019-03-05"
    },
    {
      "version": "0.1.1",
      "date": "2019-03-11"
    },
    {
      "version": "0.2.0",
      "date": "2019-04-22"
    },
    {
      "version": "0.2.1",
      "date": "2019-05-17"
    },
    {
      "version": "0.3.0",
      "date": "2021-05-01"
    },
    {
      "version": "0.3.1",
      "date": "2023-08-30"
    },
    {
      "version": "0.3.2",
      "date": "2023-11-29"
    },
    {
      "version": "0.4.0",
      "date": "2024-05-15"
    },
    {
      "version": "0.4.1",
      "date": "2024-05-28"
    }
  ],
  "_exports": [
    "dqrexp",
    "dqrmvnorm",
    "dqrng_get_state",
    "dqrng_set_state",
    "dqRNGkind",
    "dqrnorm",
    "dqrrademacher",
    "dqrunif",
    "dqsample",
    "dqsample.int",
    "dqset.seed",
    "generateSeedVectors",
    "register_methods",
    "restore_methods"
  ],
  "_help": [
    {
      "page": "dqrng-package",
      "title": "dqrng: Fast Pseudo Random Number Generators",
      "topics": [
        "dqrng-package",
        "dqrng"
      ]
    },
    {
      "page": "dqrmv",
      "title": "Multivariate Distributions",
      "topics": [
        "dqrmvnorm"
      ]
    },
    {
      "page": "dqrng-functions",
      "title": "R interface",
      "topics": [
        "dqrexp",
        "dqRNGkind",
        "dqrng_get_state",
        "dqrng_set_state",
        "dqrnorm",
        "dqrrademacher",
        "dqrunif",
        "dqset.seed"
      ]
    },
    {
      "page": "dqsample",
      "title": "Unbiased Random Samples and Permutations",
      "topics": [
        "dqsample",
        "dqsample.int"
      ]
    },
    {
      "page": "generateSeedVectors",
      "title": "Generate seed as a integer vector",
      "topics": [
        "generateSeedVectors"
      ]
    },
    {
      "page": "user-supplied-rng",
      "title": "Registering as user-supplied RNG",
      "topics": [
        "register_methods",
        "restore_methods"
      ]
    }
  ],
  "_readme": "https://github.com/daqana/dqrng/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "Rcpp",
    "sitmo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "cpp-api.Rmd",
      "filename": "cpp-api.html",
      "title": "C++ API",
      "author": "Ralf Stubner",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setting seed and RNG type",
        "Random variates with uniform distribution",
        "Random variates with normal distribution",
        "Random variates with exponential distribution",
        "Random variates with Rademacher distribution",
        "Random sampling",
        "Getting and setting the RNG state",
        "Accessing the global RNG"
      ],
      "created": "2019-04-22 11:25:08",
      "modified": "2024-05-12 20:10:26",
      "commits": 9
    },
    {
      "source": "dqrng.Rmd",
      "filename": "dqrng.html",
      "title": "Fast Pseudo Random Number Generators for R",
      "author": "Ralf Stubner",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Supported Random Number Generators",
        "Usage from R",
        "Usage from C++",
        "Using the compiled library functions",
        "Using the header only library",
        "Accessing the global RNG"
      ],
      "created": "2018-04-19 20:06:37",
      "modified": "2024-04-21 11:19:55",
      "commits": 27
    },
    {
      "source": "sample.Rmd",
      "filename": "sample.html",
      "title": "Fast sampling methods",
      "author": "Ralf Stubner",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Benchmarks",
        "Technicalities"
      ],
      "created": "2023-07-30 16:36:15",
      "modified": "2023-08-30 16:28:31",
      "commits": 3
    },
    {
      "source": "parallel.Rmd",
      "filename": "parallel.html",
      "title": "Parallel RNG usage",
      "author": "Ralf Stubner",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Threefry: usage from R",
        "Xo(ro)shiro: jump ahead with OpenMP",
        "PCG: multiple streams with RcppParallel",
        "Using the global RNG"
      ],
      "created": "2018-06-08 17:08:42",
      "modified": "2024-05-12 19:21:02",
      "commits": 18
    }
  ],
  "_score": 12.873354519936402,
  "_indexed": true,
  "_nocasepkg": "dqrng",
  "_universes": [
    "daqana",
    "rstub"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:36:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/acf81f194ec2a68a2dec3488d983de08291b5ee2dcbcf9ea45f56a3d39747fd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:36:07.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/df9e3ffa56cad50683908cdbaffcf4d6f3391346a0db93fec091dc8b7317a02c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:36:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/b0bb03e211509a3b517c8786db25ff15a15fad61ca5fd72c8a4438df3066f92d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:36:15.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/689ebbdd6be091952913d1a81b68c760d5e38e2eb12692452258f7f8a2e04d87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:36:40.000Z",
      "arch": "aarch64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/a466083f69d2195e03bfb6b9f41055395b7b62938639418fb63440f77dde933d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:39:42.000Z",
      "arch": "x86_64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/0dcf55e3d0e8d27310bf95ca9d8474ee6a23fb12f98c2e7a81ec3038be5bcf1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:36:45.000Z",
      "arch": "aarch64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/693fbd1cba471527e474f48345439cbd46629d6ea02ef94a92453c9c41dd67af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:36:30.000Z",
      "arch": "x86_64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/285f44ddfa95540f0c4a775102a921fb108a62802309065c569c4269d26aa04b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:36:11.000Z",
      "arch": "emscripten",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/047bc0d4dde0f27b6b8b103e5c579b229077a30280f3a2e07d0575d1fa2173b7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:38:51.000Z",
      "arch": "aarch64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/1a2a73c749621e09d8325bfe02b6438b88d1e38eb3dc2bada297eed177368bfb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:35:23.000Z",
      "arch": "x86_64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/e6815ca42d5783eb7abf374693e93b283d676ca378d35eaec649d5a0023c532c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:35:27.000Z",
      "arch": "x86_64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/cbf70e3a079900175b799de0382581b113bd0cf93ee54f66cb098d5d837d4c51",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:39:02.000Z",
      "arch": "aarch64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/a15d7372ae74b493d4915656160d4b955ed14356665de9431a27d113f40bd85e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.1.1",
      "date": "2026-10-01T09:35:15.000Z",
      "arch": "x86_64",
      "commit": "a47400129134ed514fd469c798a4d2359b5ee84c",
      "fileid": "https://r2.ropensci.org/65e52673efc89eb50e1a7bfd222356c357425e0651f5ee80483ec0894cba666f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daqana/actions/runs/36843109174"
    }
  ]
}