{
  "_id": "6acdffb4a14063b82c3ae3aa",
  "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://louisaslett.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-13 09:47:06 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": "louisaslett",
  "_type": "src",
  "_file": "stors_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/a50ddaaa64e498aa2e2d6490a9b7178c495d502e9fe2610e31a2b207cdecb625",
  "_filesize": 3220278,
  "_sha256": "a50ddaaa64e498aa2e2d6490a9b7178c495d502e9fe2610e31a2b207cdecb625",
  "_expires": "2027-01-21T09:53:53.000Z",
  "_created": "2026-10-13T09:47:06.000Z",
  "_published": "2026-10-13T09:53:56.025Z",
  "_buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115233880226,
      "time": 122,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11803050526"
    },
    {
      "job": 115233880273,
      "time": 180,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11802456557"
    },
    {
      "job": 115233880168,
      "time": 115,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801849849"
    },
    {
      "job": 115233880142,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11802631036"
    },
    {
      "job": 115233880160,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11802103303"
    },
    {
      "job": 115233880203,
      "time": 321,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11803231334"
    },
    {
      "job": 115233880373,
      "time": 148,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11802586465"
    },
    {
      "job": 115233880130,
      "time": 251,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11802601643"
    },
    {
      "job": 115232195986,
      "time": 251,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801619981"
    },
    {
      "job": 115233880051,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11803130524"
    },
    {
      "job": 115233880163,
      "time": 229,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11802143141"
    },
    {
      "job": 115233880136,
      "time": 162,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11802960707"
    },
    {
      "job": 115233880207,
      "time": 97,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11802651001"
    },
    {
      "job": 115233880233,
      "time": 258,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11802756378"
    },
    {
      "job": 115233880146,
      "time": 121,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801839773"
    }
  ],
  "_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": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "ahmad-alqabandi",
      "count": 112,
      "uuid": 122688579
    },
    {
      "user": "louisaslett",
      "count": 20,
      "uuid": 5246125
    }
  ],
  "_userbio": {
    "uuid": 5246125,
    "type": "user",
    "name": "Louis Aslett",
    "followers": 40,
    "description": "Professor of Statistics, Department of Mathematical Sciences, Durham University, UK"
  },
  "_downloads": {
    "count": 312,
    "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": false,
  "_nocasepkg": "stors",
  "_universes": [
    "louisaslett"
  ],
  "_indexurl": "https://ahmad-alqabandi.r-universe.dev/stors",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-13T09:49:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/384d8b6db993e76d0c2e2a6e03c779bcf3d0d2422f7603fa359fc3a9d553e23d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-13T09:49:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/a3ee6975a2e389700f258709db80a9526c1747dae2efaa037e0cb37a5b459859",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-13T09:48:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/0c18d44a4046966db0d8ac85eb20038aa1ee5ae2a32f1e24c448ef6297dd7051",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-13T09:48:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/1f2aeced40ee714bf5de07c95540957212f9e149af5dfd46abe84042d06e29b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-13T09:49:48.000Z",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/eb0e935bcc604dc74ba9a12878af96a31c77c1b35772792975703cb4b2eb12c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-13T09:52:25.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/378c08fd38b3ea2e13812e5c040dde511caff799b754d3aad4bd093834e5c02d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-13T09:50:50.000Z",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/d27b3f3c97fd16d3cefa36e95ad7225235f4e01d5f919609ff332b97d2bfb448",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-13T09:50:40.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/ad15f47bffc0a3d0c5d4cd7b1584c7b1857731a572e973ef345a950be702f6ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-10-13T09:48:59.000Z",
      "arch": "emscripten",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/e7386011c51e3db3adb9bf68fd6cf051b08d574d26195e3e92bcff7840a1ac5f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-13T09:50:25.000Z",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/3777b977f37dc93ae74aa07c50f0803f12b6d7959020a3195e95fe246f6798d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-13T09:48:23.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/fce60d574d041b56c08eb42e667f495a494424fffecbaf46f371f4939fbd7613",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-13T09:48:14.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/19291cc081b3396dbd034292c59540a89a01c2c9beafb658293962f1d8f07b5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-13T09:50:55.000Z",
      "arch": "aarch64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/ca135a89bca132a4b9f2e27d544f2f6f218724b185563dc524f3e610c8a96745",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-13T09:48:27.000Z",
      "arch": "x86_64",
      "commit": "6f6711c068d03d19d6b47eb2dde6938393f4b005",
      "fileid": "https://r2.ropensci.org/23079908688fe9881e1bf40d427870a3f010ec528a2fe08608cc86466f51f8d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/louisaslett/actions/runs/38378291682"
    }
  ]
}