{
  "_id": "6a1150baacfb0bcc41cea52e",
  "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-05-23 06:54:04 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>)",
  "MD5sum": "63882ce74365097762bdccce21d889e4",
  "_user": "ahmad-alqabandi",
  "_type": "src",
  "_file": "stors_1.0.1.tar.gz",
  "_fileid": "42bcc4feb9a6d4ae1897695f4f3378fec8c9bfd5786da1aa8967cfadd7353d9d",
  "_filesize": 3219120,
  "_sha256": "42bcc4feb9a6d4ae1897695f4f3378fec8c9bfd5786da1aa8967cfadd7353d9d",
  "_created": "2026-05-23T06:54:04.000Z",
  "_published": "2026-05-23T07:01:14.552Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77504471959,
      "time": 130,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175095612"
    },
    {
      "job": 77504471960,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175097468"
    },
    {
      "job": 77504471988,
      "time": 141,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175096788"
    },
    {
      "job": 77504471947,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175097824"
    },
    {
      "job": 77504471993,
      "time": 144,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175094978"
    },
    {
      "job": 77504471987,
      "time": 394,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175119367"
    },
    {
      "job": 77504471991,
      "time": 158,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175094614"
    },
    {
      "job": 77504472009,
      "time": 256,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175106673"
    },
    {
      "job": 77504267616,
      "time": 232,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175079443"
    },
    {
      "job": 77504471937,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175092854"
    },
    {
      "job": 77504471941,
      "time": 115,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175093832"
    },
    {
      "job": 77504471945,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175090526"
    },
    {
      "job": 77504471962,
      "time": 109,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175093181"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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"
  },
  "_downloads": {
    "count": 170,
    "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": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/stors.html",
    "manual.pdf"
  ],
  "_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-05-23T06:56:03.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "98d9adbcca778b19b81a8a4e796656e66337c29d4ab62321106440d9808a9301",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-23T06:56:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "973a1d232bb7cca8c1a77dd3c068d50597cc9578128e88229ddbf2eb0e756c09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-23T06:56:10.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "38ed4d54ffeda29038196b4939708cb6f7ddc329b383f094700ecb8cd9bc20d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-23T06:56:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "fc9815112b5c62532a616b341b418be5f7391f910745480cd03b584d9769bbad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-23T06:56:00.000Z",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "32e326b4a162a24053cd6c09162727052c3e845434cee4f486d2fca4991c65c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-23T06:58:24.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "8c2fc8d3202a49a14112924a251a8bbf3135af8848f6b4e5aef2549373228d41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-23T06:55:53.000Z",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "e1b22522434e5cca5dff70a9054372fbf5182ca581304dc156ed9debce454e67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-23T06:57:26.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "aaa48e64ebeae7bb710c0740503c835df8b796ebf87037314934ba146ed62770",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-05-23T06:56:02.000Z",
      "arch": "emscripten",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "846f8a0eebef67c854b22084ecbaa79b2d24c9cedff254ab4ee713d097320813",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-23T06:55:21.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "ab0f832ac83d37d61435f47b4c65e75625c996e6c49be9c873be3df851ffc1ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-23T06:55:02.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "873cd8df4af443e3c93f407ed96c364acc5bcd4b6bd2f48edac756ddf5b1a223",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-23T06:55:13.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "90a8102a1a5e378ceeed936bac81c5939af6b271fe611564cab8eac68350ae0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ahmad-alqabandi/actions/runs/26326188833"
    }
  ]
}