{
  "_id": "6aedd2b11e2c7b3a4f537cee",
  "Package": "rmcmc",
  "Title": "Robust Markov Chain Monte Carlo Methods",
  "Version": "0.1.2.9000",
  "Authors@R": "c(\nperson(c(\"Matthew\", \"M.\"), \"Graham\", , \"m.graham@ucl.ac.uk\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-9104-7960\")),\nperson(\"Samuel\", \"Livingstone\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-7277-086X\")),\nperson(c(\"Jenna\", \"Jia\"), \"Li\", role = \"aut\",\ncomment = c(ORCID = \"0009-0007-7364-6389\")),\nperson(\"University College London\", role = \"cph\"),\nperson(\"Engineering and Physical Sciences Research Council\", role = \"fnd\")\n)",
  "Description": "Functions for simulating Markov chains to compute Markov\nchain Monte Carlo (MCMC) estimates of expectations with respect\nto a target distribution on a real-valued vector space. The\npackage has built-in support for using Metropolis-Hastings\ntransitions with random-walk, Langevin, Hamiltonian or Barker\nproposals, and is designed to be easy to extend with additional\nalgorithms. Proposal shape and scale parameters can be\nautomatically adapted in an initial warm-up stage. The package\nhas a modular design allowing different algorithmic components\nsuch as proposals and adapters to be mixed and matched. If\n'BridgeStan's R interface\n<https://roualdes.us/bridgestan/latest/languages/r.html>,\navailable on GitHub <https://github.com/roualdes/bridgestan>,\nis installed, then it can be used to specify the target\ndistribution to sample from.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/Needs/bridgestan": "bridgestan=url::https://community.r-multiverse.org/src/contrib/bridgestan_2.9.0.tar.gz",
  "Config/Needs/check": "any::rcmdcheck",
  "Config/Needs/coverage": "any::covr, any::xml2",
  "Config/Needs/lint": "any::lintr, any::cyclocomp",
  "Config/Needs/style": "any::styler",
  "Config/Needs/website": "any::pkgdown, ggplot2, bayesplot, rjson, hexbin,\ngridExtra",
  "URL": "https://github.com/UCL/rmcmc, http://github-pages.ucl.ac.uk/rmcmc/",
  "BugReports": "https://github.com/UCL/rmcmc/issues",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://ucl.r-universe.dev",
  "Date/Publication": "2026-09-07 13:34:54 UTC",
  "RemoteUrl": "https://github.com/ucl/rmcmc",
  "RemoteRef": "HEAD",
  "RemoteSha": "8bd5c15cdf787bcef3f4c310e88738491d4b4dea",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-06 13:06:15 UTC",
    "User": "root"
  },
  "Author": "Matthew M. Graham [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9104-7960>),\nSamuel Livingstone [aut] (ORCID:\n<https://orcid.org/0000-0002-7277-086X>),\nJenna Jia Li [aut] (ORCID: <https://orcid.org/0009-0007-7364-6389>),\nUniversity College London [cph],\nEngineering and Physical Sciences Research Council [fnd]",
  "Maintainer": "Matthew M. Graham <m.graham@ucl.ac.uk>",
  "_user": "ucl",
  "_type": "src",
  "_file": "rmcmc_0.1.2.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/fb06cae480025aba348346a462d60ed8778a13871fb4c7cb7a87d8dbc9401fa2",
  "_filesize": 961249,
  "_sha256": "fb06cae480025aba348346a462d60ed8778a13871fb4c7cb7a87d8dbc9401fa2",
  "_expires": "2027-02-14T13:14:23.000Z",
  "_created": "2026-11-06T13:06:15.000Z",
  "_published": "2026-11-20T03:58:53.928Z",
  "_upstream": "https://github.com/ucl/rmcmc",
  "_status": "success",
  "_maintainer": {
    "name": "Matthew M. Graham",
    "email": "m.graham@ucl.ac.uk",
    "login": "matt-graham",
    "mastodon": "@matt@bayes.club",
    "orcid": "0000-0001-9104-7960",
    "description": "Research data scientist at UCL",
    "uuid": 6746980
  },
  "_jobs": [
    {
      "job": 127908850134,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13504278086"
    },
    {
      "job": 127908850260,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13504666712"
    },
    {
      "job": 127908850176,
      "time": 205,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13504706919"
    },
    {
      "job": 127908850500,
      "time": 174,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13505100778"
    },
    {
      "job": 127907374422,
      "time": 196,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13503409555"
    },
    {
      "job": 127908850124,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13503438724"
    },
    {
      "job": 127908850103,
      "time": 121,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13505010145"
    },
    {
      "job": 127908850436,
      "time": 135,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13504497300"
    },
    {
      "job": 127908850140,
      "time": 106,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13504512250"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ucl/actions/runs/42222301385",
  "_commit": {
    "id": "8bd5c15cdf787bcef3f4c310e88738491d4b4dea",
    "author": "dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Bump JamesIves/github-pages-deploy-action from 4.8.0 to 4.9.0 (#142)\n\nBumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.8.0 to 4.9.0.\n- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)\n- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.8.0...v4.9.0)\n\n---\nupdated-dependencies:\n- dependency-name: JamesIves/github-pages-deploy-action\n  dependency-version: 4.9.0\n  dependency-type: direct:production\n  update-type: version-update:semver-minor\n...\n\nSigned-off-by: dependabot[bot] <support@github.com>\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
    "time": 1788788094
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "bridgestan",
      "version": ">= 2.5.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "posterior",
      "role": "Suggests"
    },
    {
      "package": "progress",
      "role": "Suggests"
    },
    {
      "package": "ramcmc",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ucl",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2025-51",
      "n": 4
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-29",
      "n": 3
    },
    {
      "week": "2026-30",
      "n": 5
    },
    {
      "week": "2026-37",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "approximate-inference",
    "mcmc"
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "matt-graham",
      "count": 76,
      "uuid": 6746980
    },
    {
      "user": "jennajiali",
      "count": 3,
      "uuid": 139101659
    }
  ],
  "_userbio": {
    "uuid": 2951150,
    "type": "organization",
    "name": "University College London",
    "followers": 353,
    "description": "To join the organisation contact UCL's Advanced Research Computing Centre via MyServices"
  },
  "_downloads": {
    "count": 338,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rmcmc"
  },
  "_devurl": "https://github.com/ucl/rmcmc",
  "_pkgdown": "http://github-pages.ucl.ac.uk/rmcmc/",
  "_searchresults": 13,
  "_rbuild": "4.6.2",
  "_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/rmcmc.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/ucl/rmcmc",
  "_realowner": "ucl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2025-02-04"
    },
    {
      "version": "0.1.2",
      "date": "2025-10-17"
    }
  ],
  "_exports": [
    "adam_scale_adapter",
    "barker_proposal",
    "bimodal_barker_proposal",
    "chain_state",
    "covariance_shape_adapter",
    "dual_averaging_scale_adapter",
    "example_gaussian_stan_model",
    "hamiltonian_proposal",
    "langevin_proposal",
    "progressive_adaptation_schedule",
    "random_walk_proposal",
    "robust_shape_adapter",
    "sample_chain",
    "scale_adapter",
    "shape_adapter",
    "stochastic_approximation_scale_adapter",
    "target_distribution_from_log_density_formula",
    "target_distribution_from_stan_model",
    "variance_shape_adapter"
  ],
  "_help": [
    {
      "page": "adam_scale_adapter",
      "title": "Create object to adapt proposal scale to coerce average acceptance rate using the Adam optimizer of Kingma and Ba (2014).",
      "topics": [
        "adam_scale_adapter"
      ]
    },
    {
      "page": "barker_proposal",
      "title": "Create a new Barker proposal object.",
      "topics": [
        "barker_proposal"
      ]
    },
    {
      "page": "bimodal_barker_proposal",
      "title": "Create a new Barker proposal object with bimodal noise distribution.",
      "topics": [
        "bimodal_barker_proposal"
      ]
    },
    {
      "page": "chain_state",
      "title": "Construct a new chain state.",
      "topics": [
        "chain_state"
      ]
    },
    {
      "page": "covariance_shape_adapter",
      "title": "Create object to adapt proposal with shape based on estimate of target distribution covariance matrix.",
      "topics": [
        "covariance_shape_adapter"
      ]
    },
    {
      "page": "dual_averaging_scale_adapter",
      "title": "Create object to adapt proposal scale to coerce average acceptance rate using dual averaging scheme of Nesterov (2009) and Hoffman and Gelman (2014).",
      "topics": [
        "dual_averaging_scale_adapter"
      ]
    },
    {
      "page": "example_gaussian_stan_model",
      "title": "Construct an example BridgeStan 'StanModel' object for a Gaussian model.",
      "topics": [
        "example_gaussian_stan_model"
      ]
    },
    {
      "page": "hamiltonian_proposal",
      "title": "Create a new Hamiltonian proposal object.",
      "topics": [
        "hamiltonian_proposal"
      ]
    },
    {
      "page": "langevin_proposal",
      "title": "Create a new Langevin proposal object.",
      "topics": [
        "langevin_proposal"
      ]
    },
    {
      "page": "progressive_adaptation_schedule",
      "title": "Create a progressive adaptation schedule for use with 'sample_chain()'.",
      "topics": [
        "progressive_adaptation_schedule"
      ]
    },
    {
      "page": "random_walk_proposal",
      "title": "Create a new (Gaussian) random walk proposal object.",
      "topics": [
        "random_walk_proposal"
      ]
    },
    {
      "page": "robust_shape_adapter",
      "title": "Create object to adapt proposal shape (and scale) using robust adaptive Metropolis algorithm of Vihola (2012).",
      "topics": [
        "robust_shape_adapter"
      ]
    },
    {
      "page": "sample_chain",
      "title": "Sample a Markov chain",
      "topics": [
        "sample_chain"
      ]
    },
    {
      "page": "scale_adapter",
      "title": "Create object to adapt proposal scale to coerce average acceptance rate.",
      "topics": [
        "scale_adapter"
      ]
    },
    {
      "page": "shape_adapter",
      "title": "Create object to adapt proposal shape.",
      "topics": [
        "shape_adapter"
      ]
    },
    {
      "page": "stochastic_approximation_scale_adapter",
      "title": "Create object to adapt proposal scale to coerce average acceptance rate using a Robbins and Monro (1951) scheme.",
      "topics": [
        "stochastic_approximation_scale_adapter"
      ]
    },
    {
      "page": "target_distribution_from_log_density_formula",
      "title": "Construct target distribution from a formula specifying log density.",
      "topics": [
        "target_distribution_from_log_density_formula"
      ]
    },
    {
      "page": "target_distribution_from_stan_model",
      "title": "Construct target distribution from a BridgeStan 'StanModel' object.",
      "topics": [
        "target_distribution_from_stan_model"
      ]
    },
    {
      "page": "variance_shape_adapter",
      "title": "Create object to adapt proposal with per dimension scales based on estimates of target distribution variances.",
      "topics": [
        "variance_shape_adapter"
      ]
    }
  ],
  "_readme": "https://github.com/ucl/rmcmc/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "Matrix",
    "rlang",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "adjusting-noise-distribution.Rmd",
      "filename": "adjusting-noise-distribution.html",
      "title": "Adjusting the noise distribution in the Barker proposal",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example target distribution",
        "Creating Barker proposal with a custom noise distribution",
        "Sampling chains with proposals",
        "Comparing performance of proposals",
        "References"
      ],
      "created": "2025-01-06 16:58:45",
      "modified": "2025-02-17 16:30:06",
      "commits": 2
    },
    {
      "source": "barker-proposal.Rmd",
      "filename": "barker-proposal.html",
      "title": "Robust gradient-based MCMC with the Barker proposal",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example target distribution",
        "Creating proposal distribution",
        "Setting up adaptation of tuning parameters",
        "Sampling a chain",
        "Summarizing results using posterior package",
        "Sampling using a Langevin proposal",
        "Comparing adaptation using Barker and Langevin proposal",
        "References"
      ],
      "created": "2024-10-14 15:24:41",
      "modified": "2025-02-04 18:33:56",
      "commits": 12
    }
  ],
  "_score": 6.017033339298781,
  "_indexed": true,
  "_nocasepkg": "rmcmc",
  "_universes": [
    "ucl",
    "matt-graham"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2.9000",
      "date": "2026-11-06T13:08:31.000Z",
      "distro": "resolute",
      "commit": "8bd5c15cdf787bcef3f4c310e88738491d4b4dea",
      "fileid": "https://r2.ropensci.org/e8082320ee54ab6d93edf2ccb8e601a5b2fab91974cdf9b7912cd8b00fa47c69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/42222301385"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.2.9000",
      "date": "2026-11-06T13:08:15.000Z",
      "distro": "resolute",
      "commit": "8bd5c15cdf787bcef3f4c310e88738491d4b4dea",
      "fileid": "https://r2.ropensci.org/a9bb067dd01f735c5e7f8cab507f1d81b596a5fd5b60f9a224fbc020f9d9e3a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/42222301385"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2.9000",
      "date": "2026-11-06T13:10:17.000Z",
      "commit": "8bd5c15cdf787bcef3f4c310e88738491d4b4dea",
      "fileid": "https://r2.ropensci.org/cc6ad4028e6e8e38766e441032fcf9f7564cd0b765c8476bcc1ff675759164f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/42222301385"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.2.9000",
      "date": "2026-11-06T13:13:08.000Z",
      "commit": "8bd5c15cdf787bcef3f4c310e88738491d4b4dea",
      "fileid": "https://r2.ropensci.org/f12aa0b18d57b44193fb5972e164159fad21bcf1f093cc999a95477b324652f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/42222301385"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2.9000",
      "date": "2026-11-06T13:08:19.000Z",
      "commit": "8bd5c15cdf787bcef3f4c310e88738491d4b4dea",
      "fileid": "https://r2.ropensci.org/66fb86f38a947ae6a8b94dd069e932d4709d3e7d712640a32621b4ba0f6dc0af",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/42222301385"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-11-06T13:07:39.000Z",
      "commit": "8bd5c15cdf787bcef3f4c310e88738491d4b4dea",
      "fileid": "https://r2.ropensci.org/03f89ba49060b7ecb3d25e996a3bb15208d9cfe80a6615bcd1e9c9cbb7bd48e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/42222301385"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-11-06T13:07:54.000Z",
      "commit": "8bd5c15cdf787bcef3f4c310e88738491d4b4dea",
      "fileid": "https://r2.ropensci.org/fb5411dbdd60627793435ef93a04f4a65242088f9a120c1ec8bfb436ba9edf95",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/42222301385"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-11-06T13:07:34.000Z",
      "commit": "8bd5c15cdf787bcef3f4c310e88738491d4b4dea",
      "fileid": "https://r2.ropensci.org/ff48970bc9dbaed2363ae69ddea560a41eb6783c77f76ab6716cdca767a4e08e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ucl/actions/runs/42222301385"
    }
  ]
}