{
  "_id": "6accba3fa14063b82c3a86f7",
  "Package": "stors",
  "Type": "Package",
  "Title": "Step Optimised Rejection Sampling",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(\"Ahmad\", \"ALQabandi\", email = \"ahmad.alqabandi@durham.ac.uk\",\nrole = c(\"cre\", \"aut\", \"cph\"),\ncomment = c(ORCID = \"0009-0006-0055-3846\")),\nperson(\"Louis\", \"Aslett\", email = \"louis.aslett@durham.ac.uk\",\nrole = c(\"aut\", \"ths\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-2211-233X\")))",
  "Maintainer": "Ahmad ALQabandi <ahmad.alqabandi@durham.ac.uk>",
  "Description": "Fast and efficient sampling from general univariate\nprobability density functions. Implements a rejection sampling\napproach designed to take advantage of modern CPU caches and\nminimise evaluation of the target density for most samples.\nMany standard densities are internally implemented in 'C' for\nhigh performance, with general user defined densities also\nsupported. A paper describing the methodology will be released\nsoon.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://ahmad-alqabandi.github.io/stors/",
  "Repository": "https://ahmad-alqabandi.r-universe.dev",
  "Date/Publication": "2025-03-10 14:25:13 UTC",
  "RemoteUrl": "https://github.com/ahmad-alqabandi/stors",
  "RemoteRef": "HEAD",
  "RemoteSha": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-12 10:38:51 UTC",
    "User": "root"
  },
  "Author": "Ahmad ALQabandi [cre, aut, cph] (ORCID:\n<https://orcid.org/0009-0006-0055-3846>),\nLouis Aslett [aut, ths, cph] (ORCID:\n<https://orcid.org/0000-0003-2211-233X>)",
  "_user": "ahmad-alqabandi",
  "_type": "src",
  "_file": "stors_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/4cfd39f6f695cb8d32b608059243e3b743c7d3fb7062f48c2d08d4ce2b4dd358",
  "_filesize": 3221180,
  "_sha256": "4cfd39f6f695cb8d32b608059243e3b743c7d3fb7062f48c2d08d4ce2b4dd358",
  "_expires": "2027-01-20T10:45:17.000Z",
  "_created": "2026-10-12T10:38:51.000Z",
  "_published": "2026-10-12T10:45:19.719Z",
  "_buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114772248220,
      "time": 104,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11740823750"
    },
    {
      "job": 114772248086,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11741747432"
    },
    {
      "job": 114772248135,
      "time": 134,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11741722474"
    },
    {
      "job": 114772248103,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11741783290"
    },
    {
      "job": 114772248140,
      "time": 244,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11740858934"
    },
    {
      "job": 114772248176,
      "time": 300,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11741618432"
    },
    {
      "job": 114772248124,
      "time": 226,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11740584373"
    },
    {
      "job": 114772248104,
      "time": 321,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11740814125"
    },
    {
      "job": 114770959773,
      "time": 222,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11741153039"
    },
    {
      "job": 114772248044,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11740658898"
    },
    {
      "job": 114772248114,
      "time": 338,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11740799265"
    },
    {
      "job": 114772248186,
      "time": 156,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11741597898"
    },
    {
      "job": 114772248193,
      "time": 104,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11740674034"
    },
    {
      "job": 114772248158,
      "time": 340,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11741518544"
    },
    {
      "job": 114772248147,
      "time": 86,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11741183217"
    }
  ],
  "_upstream": "https://github.com/ahmad-alqabandi/stors",
  "_commit": {
    "id": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
    "author": "Ahmad ALQabandi <ppxb24@durham.ac.uk>",
    "committer": "Ahmad ALQabandi <ppxb24@durham.ac.uk>",
    "message": "- CRAN resubmission following manual review.\n",
    "time": 1741616713
  },
  "_maintainer": {
    "name": "Ahmad ALQabandi",
    "email": "ahmad.alqabandi@durham.ac.uk",
    "orcid": "0009-0006-0055-3846"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "microbenchmark",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "ahmad-alqabandi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "ahmad-alqabandi",
      "count": 112,
      "uuid": 122688579
    },
    {
      "user": "louisaslett",
      "count": 20,
      "uuid": 5246125
    }
  ],
  "_userbio": {
    "uuid": 122688579,
    "type": "user",
    "name": "Ahmad ALQabandi",
    "followers": 0
  },
  "_downloads": {
    "count": 304,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stors"
  },
  "_devurl": "https://github.com/ahmad-alqabandi/stors",
  "_pkgdown": "https://ahmad-alqabandi.github.io/stors/",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/stors.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/ahmad-alqabandi/stors",
  "_realowner": "ahmad-alqabandi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2025-03-11"
    }
  ],
  "_exports": [
    "build_proposal",
    "build_sampler",
    "delete_built_in_proposal",
    "delete_proposal",
    "load_proposal",
    "print_proposals",
    "save_proposal",
    "srbeta_custom",
    "srbeta_optimize",
    "srchisq_custom",
    "srchisq_optimize",
    "srexp",
    "srexp_custom",
    "srexp_optimize",
    "srgamma_custom",
    "srgamma_optimize",
    "srlaplace",
    "srlaplace_custom",
    "srlaplace_optimize",
    "srnorm",
    "srnorm_custom",
    "srnorm_optimize",
    "srpareto_custom",
    "srpareto_optimize"
  ],
  "_help": [
    {
      "page": "build_proposal",
      "title": "Build Proposal",
      "topics": [
        "build_proposal"
      ]
    },
    {
      "page": "build_sampler",
      "title": "Sampling Function for User Defined Density",
      "topics": [
        "build_sampler"
      ]
    },
    {
      "page": "delete_built_in_proposal",
      "title": "Delete Built-in Proposal",
      "topics": [
        "delete_built_in_proposal"
      ]
    },
    {
      "page": "delete_proposal",
      "title": "Delete Proposal",
      "topics": [
        "delete_proposal"
      ]
    },
    {
      "page": "load_proposal",
      "title": "Load Stored Proposal",
      "topics": [
        "load_proposal"
      ]
    },
    {
      "page": "plot.proposal",
      "title": "Plot Method for Proposal Objects",
      "topics": [
        "plot.proposal"
      ]
    },
    {
      "page": "print_proposals",
      "title": "Print proposals",
      "topics": [
        "print_proposals"
      ]
    },
    {
      "page": "print.proposal",
      "title": "Print Method for proposal Objects",
      "topics": [
        "print.proposal"
      ]
    },
    {
      "page": "save_proposal",
      "title": "Save User Proposal",
      "topics": [
        "save_proposal"
      ]
    },
    {
      "page": "srbeta_custom",
      "title": "Sampling from Beta Distribution",
      "topics": [
        "srbeta_custom"
      ]
    },
    {
      "page": "srbeta_optimize",
      "title": "Optimizing Beta Distribution proposal",
      "topics": [
        "srbeta_optimize"
      ]
    },
    {
      "page": "srchisq_custom",
      "title": "Sampling from Chi-squared Distribution",
      "topics": [
        "srchisq_custom"
      ]
    },
    {
      "page": "srchisq_optimize",
      "title": "Optimizing Chi-squared Distribution proposal",
      "topics": [
        "srchisq_optimize"
      ]
    },
    {
      "page": "srexp",
      "title": "Sampling from Exponential Distribution",
      "topics": [
        "srexp",
        "srexp_custom"
      ]
    },
    {
      "page": "srexp_optimize",
      "title": "Optimizing Exponential Distribution proposal",
      "topics": [
        "srexp_optimize"
      ]
    },
    {
      "page": "srgamma_custom",
      "title": "Sampling from Gamma Distribution",
      "topics": [
        "srgamma_custom"
      ]
    },
    {
      "page": "srgamma_optimize",
      "title": "Optimizing Gamma Distribution proposal",
      "topics": [
        "srgamma_optimize"
      ]
    },
    {
      "page": "srlaplace",
      "title": "Sampling from Laplace Distribution",
      "topics": [
        "srlaplace",
        "srlaplace_custom"
      ]
    },
    {
      "page": "srlaplace_optimize",
      "title": "Optimizing Laplace Distribution proposal",
      "topics": [
        "srlaplace_optimize"
      ]
    },
    {
      "page": "srnorm",
      "title": "Sampling from Normal Distribution",
      "topics": [
        "srnorm",
        "srnorm_custom"
      ]
    },
    {
      "page": "srnorm_optimize",
      "title": "Optimizing Normal Distribution proposal",
      "topics": [
        "srnorm_optimize"
      ]
    },
    {
      "page": "srpareto_custom",
      "title": "Sampling from Pareto Distribution",
      "topics": [
        "srpareto_custom"
      ]
    },
    {
      "page": "srpareto_optimize",
      "title": "Optimizing Pareto Distribution proposal",
      "topics": [
        "srpareto_optimize"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ahmad-alqabandi/stors/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/ahmad-alqabandi/stors/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "digest",
    "microbenchmark",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "Sampling_Built_in_distributions.Rmd",
      "filename": "Sampling_Built_in_distributions.html",
      "title": "Sampling from Built-in Distributions using stors",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction"
      ],
      "created": "2024-10-07 19:04:12",
      "modified": "2025-03-03 16:35:14",
      "commits": 14
    },
    {
      "source": "Sampling_user_distributions.Rmd",
      "filename": "Sampling_user_distributions.html",
      "title": "Sampling from User-Defined Distributions using stors",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Sampling from User-Defined Distributions",
        "Saving, Loading and Deleting Users' Proposals"
      ],
      "created": "2024-10-07 19:04:12",
      "modified": "2025-03-02 19:59:34",
      "commits": 11
    },
    {
      "source": "stors_package.Rmd",
      "filename": "stors_package.html",
      "title": "stors package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Sampling from Built-in Distributions",
        "Sampling from Users' Distributions",
        "Saving, Loading and Deleting Users' Proposals"
      ],
      "created": "2023-11-27 22:21:18",
      "modified": "2025-03-03 16:46:09",
      "commits": 20
    }
  ],
  "_score": 4.653212513775344,
  "_indexed": true,
  "_nocasepkg": "stors",
  "_universes": [
    "ahmad-alqabandi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-12T10:40:29.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/72fd37cb0e27aa5866c4be4c78f20fddb7e29ca7617ab97a71f89d5bed7fe9bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-12T10:40:59.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/ae7fe1ea2743372c999818e2983d2d3386e7de3f4928efb50611c31ef9bffd70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-12T10:41:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/c8327ae01a5737deb4f5f77da700967c019ae390ac56b6b457b51922af2b5319",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-12T10:40:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/1fb68ac3aeb8ed6cefdc62ad9ed056ebcfad8c3c2370a0c6e9c83c50f1277a72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-12T10:41:54.000Z",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/30f33a05675ff5bedd3f9c3e8f2a9f7a37277b66642477960f25e147c0184a21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-12T10:43:05.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/fd3267f234a93fe71449326a3d9a34388957f65e4eb74958fab554a901a8c307",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-12T10:41:34.000Z",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/7c04b3ac108fc0cf2dd22d04ec55646434e42f3a2e3a6633d2acbac2f5dbc04c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-12T10:42:44.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/da4e4fc05f8b5eb94b2f0ac209db48bde7e9a581b2161c23fc26760f0b8611a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-10-12T10:40:36.000Z",
      "arch": "emscripten",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/4b21f00793b6283bb00bc128ce4432925c4b05f4e8ffee16c801fa4b8f50a15a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-12T10:43:27.000Z",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/43266af7e06fbd58607e8eba9941c451a974060015dfb42ad0898706615e124a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-12T10:40:14.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/299db8699145918a1ddba80255eff94ea880f9fe431b6a58c6ff4fd39b4473a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-12T10:40:01.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/4ac26a51459b1e423f0d33aab33c9e10597c554cc5edd630c3390500a02640ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-12T10:43:38.000Z",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/efc38685bd9efb7cdb2330d07a3637dcc7e95162f8736d5d19e352a35dbb2c70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-12T10:39:52.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/95cad455dda39f1eabd29db85ba53604d90f97a962182acbcb343fbb8c11c3f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/38237243413"
    }
  ]
}