{
  "_id": "6a1e9f471d7bb097a0a701c6",
  "Package": "samplr",
  "Type": "Package",
  "Title": "Compare Human Performance to Sampling Algorithms",
  "Version": "1.1.2",
  "Authors@R": "c(\nperson(given = \"Lucas\",\nfamily = \"Castillo\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"lucas.castillo@warwick.ac.uk\",\ncomment = c(ORCID = \"0000-0003-0274-0777\")),\nperson(given = \"Yun-Xiao\",\nfamily = \"Li\",\nrole = c(\"aut\", \"cph\"),\nemail = \"yunxiao.li@warwick.ac.uk\",\ncomment = c(ORCID = \"0000-0002-3509-6618\")),\nperson(given = \"Adam N\",\nfamily = \"Sanborn\",\nrole = c(\"aut\", \"cph\"),\nemail = \"a.n.sanborn@warwick.ac.uk\",\ncomment = c(ORCID = \"0000-0003-0442-4372\")),\nperson(\"European Research Council (ERC)\",\nrole = c(\"fnd\"))\n)",
  "Maintainer": "Lucas Castillo <lucas.castillo@warwick.ac.uk>",
  "Description": "Understand human performance from the perspective of\nsampling, both looking at how people generate samples and how\npeople use the samples they have generated. A longer overview\nand other resources can be found at\n<https://sampling.warwick.ac.uk>.",
  "License": "CC BY 4.0",
  "RdMacros": "Rdpack",
  "RoxygenNote": "7.3.1",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://lucas-castillo.github.io/samplr/",
  "BugReports": "https://github.com/lucas-castillo/samplr/issues",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-02 09:09:43 UTC",
    "User": "root"
  },
  "Author": "Lucas Castillo [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-0274-0777>), Yun-Xiao Li [aut,\ncph] (ORCID: <https://orcid.org/0000-0002-3509-6618>), Adam N\nSanborn [aut, cph] (ORCID:\n<https://orcid.org/0000-0003-0442-4372>), European Research\nCouncil (ERC) [fnd]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-03-26 12:04:55 UTC",
  "RemoteUrl": "https://github.com/cran/samplr",
  "RemoteRef": "HEAD",
  "RemoteSha": "8c380f83b21beed0c602e4552528f3145f99e9ee",
  "MD5sum": "bb3d8a3ab72cc735703fb2ba3a51bf63",
  "_user": "cran",
  "_type": "src",
  "_file": "samplr_1.1.2.tar.gz",
  "_fileid": "f741a70d574ea4ce7339b4d48d96b6c5a2a898d9f6d5cbda6bfe62a238f82d9b",
  "_filesize": 2861370,
  "_sha256": "f741a70d574ea4ce7339b4d48d96b6c5a2a898d9f6d5cbda6bfe62a238f82d9b",
  "_created": "2026-06-02T09:09:43.000Z",
  "_published": "2026-06-02T09:15:51.159Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79037555332,
      "time": 233,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7353672600"
    },
    {
      "job": 79037555298,
      "time": 267,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7353683814"
    },
    {
      "job": 79037555384,
      "time": 219,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353667845"
    },
    {
      "job": 79037555318,
      "time": 213,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353664021"
    },
    {
      "job": 79036654989,
      "time": 319,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353589633"
    },
    {
      "job": 79037555283,
      "time": 205,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353661449"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26809589213",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/samplr",
  "_commit": {
    "id": "8c380f83b21beed0c602e4552528f3145f99e9ee",
    "author": "Lucas Castillo <lucas.castillo@warwick.ac.uk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.2\n",
    "time": 1774526695
  },
  "_maintainer": {
    "name": "Lucas Castillo",
    "email": "lucas.castillo@warwick.ac.uk",
    "orcid": "0000-0003-0274-0777"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppDist",
      "role": "LinkingTo"
    },
    {
      "package": "testthat",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.6",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "bench",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "samplrData",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1.1",
      "date": "2026-02-20"
    },
    {
      "name": "1.1.2",
      "date": "2026-03-26"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lucas-castillo",
      "count": 3,
      "uuid": 73661062
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 486,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/samplr"
  },
  "_devurl": "https://github.com/lucas-castillo/samplr",
  "_pkgdown": "https://lucas-castillo.github.io/samplr/",
  "_searchresults": 25,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_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/samplr.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lucas-castillo/samplr",
  "_realowner": "lucas-castillo",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-08-01"
    },
    {
      "version": "1.0.1",
      "date": "2024-08-19"
    },
    {
      "version": "1.1.0",
      "date": "2025-03-31"
    },
    {
      "version": "1.1.1",
      "date": "2026-02-20"
    },
    {
      "version": "1.1.2",
      "date": "2026-03-26"
    }
  ],
  "_exports": [
    "Bayesian_Sampler",
    "calc_all",
    "calc_autocorr",
    "calc_levy",
    "calc_PSD",
    "calc_qqplot",
    "calc_sigma_scaling",
    "Mean_Variance",
    "plot_2d_density",
    "plot_series",
    "sampler_hmc",
    "sampler_mc3",
    "sampler_mchmc",
    "sampler_mcrec",
    "sampler_mh",
    "sampler_rec",
    "Z_identities",
    "Zhu23ABS"
  ],
  "_help": [
    {
      "page": "Bayesian_Sampler",
      "title": "Bayesian Sampler Model",
      "topics": [
        "Bayesian_Sampler"
      ]
    },
    {
      "page": "calc_all",
      "title": "Diagnostics Wrapper",
      "topics": [
        "calc_all"
      ]
    },
    {
      "page": "calc_autocorr",
      "title": "Autocorrelation Calculator",
      "topics": [
        "calc_autocorr"
      ]
    },
    {
      "page": "calc_levy",
      "title": "Levy Flights Calculator",
      "topics": [
        "calc_levy"
      ]
    },
    {
      "page": "calc_PSD",
      "title": "Power Spectral Density Calculator",
      "topics": [
        "calc_PSD"
      ]
    },
    {
      "page": "calc_qqplot",
      "title": "QQ-Plot Calculator",
      "topics": [
        "calc_qqplot"
      ]
    },
    {
      "page": "calc_sigma_scaling",
      "title": "Sigma Scaling Calculator",
      "topics": [
        "calc_sigma_scaling"
      ]
    },
    {
      "page": "Mean_Variance",
      "title": "Mean Variance Estimates",
      "topics": [
        "Mean_Variance"
      ]
    },
    {
      "page": "plot_2d_density",
      "title": "Density Plotter",
      "topics": [
        "plot_2d_density"
      ]
    },
    {
      "page": "plot_series",
      "title": "Series Plotter",
      "topics": [
        "plot_series"
      ]
    },
    {
      "page": "sampler_hmc",
      "title": "Hamiltonian Monte-Carlo Sampler (HMC)",
      "topics": [
        "sampler_hmc"
      ]
    },
    {
      "page": "sampler_mc3",
      "title": "Metropolis-coupled MCMC sampler (MC3)",
      "topics": [
        "sampler_mc3"
      ]
    },
    {
      "page": "sampler_mchmc",
      "title": "Metropolis-Coupled Hamiltonian Monte Carlo (MCHMC)",
      "topics": [
        "sampler_mchmc"
      ]
    },
    {
      "page": "sampler_mcrec",
      "title": "Metropolis-Coupled Recycled-Momentum HMC Sampler (MCREC)",
      "topics": [
        "sampler_mcrec"
      ]
    },
    {
      "page": "sampler_mh",
      "title": "Metropolis-Hastings (MH) Sampler",
      "topics": [
        "sampler_mh"
      ]
    },
    {
      "page": "sampler_rec",
      "title": "Recycled-Momentum HMC Sampler (REC)",
      "topics": [
        "sampler_rec"
      ]
    },
    {
      "page": "Z_identities",
      "title": "Z Identities",
      "topics": [
        "Z_identities"
      ]
    },
    {
      "page": "Zhu23ABS",
      "title": "Auto-correlated Bayesian Sampler by Zhu (2023)",
      "topics": [
        "Zhu23ABS"
      ]
    }
  ],
  "_readme": "https://github.com/cran/samplr/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "brio",
    "callr",
    "cli",
    "cpp11",
    "crayon",
    "desc",
    "diffobj",
    "evaluate",
    "farver",
    "fs",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "pkgbuild",
    "pkgload",
    "pracma",
    "praise",
    "processx",
    "ps",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppDist",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rprojroot",
    "S7",
    "scales",
    "testthat",
    "vctrs",
    "viridisLite",
    "waldo",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "custom-density-functions.Rmd",
      "filename": "custom-density-functions.html",
      "title": "Custom Density Functions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "On Timing"
      ],
      "created": "2024-08-02 02:46:27",
      "modified": "2024-08-02 02:46:27",
      "commits": 1
    },
    {
      "source": "how-to-sample.Rmd",
      "filename": "how-to-sample.html",
      "title": "How to Sample From a Distribution",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Choosing a distibution",
        "Different Sampling Algorithms",
        "Mixture Distributions"
      ],
      "created": "2024-08-02 02:46:27",
      "modified": "2024-08-02 02:46:27",
      "commits": 1
    },
    {
      "source": "multivariate-mixtures.Rmd",
      "filename": "multivariate-mixtures.html",
      "title": "Multivariate Mixtures",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup",
        "Metropolis Hastings",
        "MC3",
        "Hamiltonian"
      ],
      "created": "2024-08-02 02:46:27",
      "modified": "2024-08-02 02:46:27",
      "commits": 1
    },
    {
      "source": "samplr.Rmd",
      "filename": "samplr.html",
      "title": "The samplr package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Package Overview",
        "Sampling Algorithms",
        "Diagnostic Tools",
        "Models",
        "References"
      ],
      "created": "2024-08-02 02:46:27",
      "modified": "2026-03-26 12:04:55",
      "commits": 3
    },
    {
      "source": "abs-simulations.Rmd",
      "filename": "abs-simulations.html",
      "title": "Simulations of the Autocorrelated Bayesian Sampler",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Fixed stopping rule",
        "A normal distribution for posterior of hypothesis",
        "A custom posterior of hypotheses",
        "Relative stopping rule",
        "References"
      ],
      "created": "2024-08-02 02:46:27",
      "modified": "2025-03-31 15:30:02",
      "commits": 2
    },
    {
      "source": "supported-distributions.Rmd",
      "filename": "supported-distributions.html",
      "title": "Supported Distributions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Univariate Distributions",
        "Continuous Distributions",
        "Discrete Distributions",
        "Multivariate Distributions",
        "Examples",
        "Univariate distribution",
        "Multivariate distribution"
      ],
      "created": "2024-08-02 02:46:27",
      "modified": "2024-08-02 02:46:27",
      "commits": 1
    },
    {
      "source": "time-comparisons.Rmd",
      "filename": "time-comparisons.html",
      "title": "Time Comparisons",
      "engine": "knitr::rmarkdown",
      "headings": [
        "C++",
        "MATLAB"
      ],
      "created": "2024-08-02 02:46:27",
      "modified": "2024-08-02 02:46:27",
      "commits": 1
    }
  ],
  "_score": 4.243038048686294,
  "_indexed": false,
  "_nocasepkg": "samplr",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://lucas-castillo.r-universe.dev/samplr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-06-02T09:13:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "79b645bccc9f23ee22b6f3ef02fe4409aa77f11904baa4f970a4f616a63ab532",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26809589213"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-06-02T09:13:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "fa57fa826e617e8b833a2f315a6220e708dc203fa485dec719ffbb4314b8d9d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26809589213"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-06-02T09:12:53.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "ed163c15300639506a533bdeb6befe9545453273e560efa64641ea2ee3aa7953",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26809589213"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-06-02T09:13:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "7bbff395ffa0eb9e6d0eeffca1ab484c26b4bceae955cbc88f3228efd4972df3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26809589213"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-06-02T09:13:09.000Z",
      "arch": "emscripten",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "839fc1763d4966251baceb8aff7077b7db2eaff35aca4fc4fc91542f56821b0c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26809589213"
    }
  ]
}