{
  "_id": "6ad0b317f55ded6d77dfa66d",
  "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-10-15 10:56:28 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",
  "_user": "cran",
  "_type": "src",
  "_file": "samplr_1.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/96bd8dace0c7916c2bb861b564871d0e71f33acbfbe0f20bc78397531ed3173d",
  "_filesize": 2859484,
  "_sha256": "96bd8dace0c7916c2bb861b564871d0e71f33acbfbe0f20bc78397531ed3173d",
  "_expires": "2027-01-23T11:03:49.000Z",
  "_created": "2026-10-15T10:56:28.000Z",
  "_published": "2026-10-15T11:03:51.040Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38723204046",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116385204982,
      "time": 184,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11966924623"
    },
    {
      "job": 116385204887,
      "time": 222,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11967069612"
    },
    {
      "job": 116385204856,
      "time": 221,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11967690776"
    },
    {
      "job": 116385204708,
      "time": 255,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11967336076"
    },
    {
      "job": 116382794034,
      "time": 373,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11966958937"
    },
    {
      "job": 116385204670,
      "time": 186,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11967685625"
    },
    {
      "job": 116385204897,
      "time": 325,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11967631068"
    },
    {
      "job": 116385204761,
      "time": 299,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11967094843"
    },
    {
      "job": 116385204598,
      "time": 301,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11967231420"
    },
    {
      "job": 116385204705,
      "time": 247,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11966639971"
    }
  ],
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 344,
    "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": 30,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/samplr.html"
  ],
  "_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",
    "otel",
    "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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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": "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.3222192947339195,
  "_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-10-15T10:59:34.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "https://r2.ropensci.org/e960841f43a227edd1b7be9ab064a27dd41e20479c8c5379aaee73e7cc8d45fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38723204046"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-10-15T10:59:57.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "https://r2.ropensci.org/6463a6e32107cc4fd8e9bf49e7c24c170361531f689217ee87f42c0ecbe8af69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38723204046"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-10-15T11:00:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "https://r2.ropensci.org/15d5485757dfc1f64ec77acbd2504656d18931f887eca6d41250a0a02453912b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38723204046"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-10-15T11:00:26.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "https://r2.ropensci.org/55254bb4e6daac6cb0599d9d7893cff50841a9de66cc15d11584ddf0eb908b83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38723204046"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-10-15T10:59:50.000Z",
      "arch": "emscripten",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "https://r2.ropensci.org/ec5f2206b2b8f23d663b03b037363c1d11280160ae5a7a8402afa72ae10ed65c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38723204046"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-10-15T11:01:02.000Z",
      "arch": "aarch64",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "https://r2.ropensci.org/a18948789b4d59efb44eca2fa40794b7d1f6c55a8d3daae140edc01baf7fee27",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38723204046"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-10-15T10:59:08.000Z",
      "arch": "x86_64",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "https://r2.ropensci.org/5b187bc6131aabbbbd59d53c3acf5b270d79cee8b7e981bccb13f7f6d75e107c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38723204046"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-10-15T11:00:43.000Z",
      "arch": "aarch64",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "https://r2.ropensci.org/77322f46dbcdfe0003637ce5177258a4b5ce8d81f619e5b01c4907f8d9983bdf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38723204046"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-10-15T10:59:03.000Z",
      "arch": "x86_64",
      "commit": "8c380f83b21beed0c602e4552528f3145f99e9ee",
      "fileid": "https://r2.ropensci.org/0559e73f05253beb108fe6dff3a4cfb3825aefb13a8b98fceb3958597d6d4939",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38723204046"
    }
  ]
}