{
  "_id": "6a49cf1b1b0c6c282ca7d8f6",
  "Package": "bridgesampling",
  "Type": "Package",
  "Title": "Bridge Sampling for Marginal Likelihoods and Bayes Factors",
  "Version": "1.2-1",
  "Authors@R": "c(person(given=\"Quentin F.\", family=\"Gronau\", role=c(\"aut\", \"cre\"),\nemail=\"Quentin.F.Gronau@gmail.com\",\ncomment=c(ORCID=\"0000-0001-5510-6943\")),\nperson(given=\"Henrik\", family=\"Singmann\", role=\"aut\",\ncomment=c(ORCID=\"0000-0002-4842-3657\")),\nperson(given=\"Jonathan J.\", family=\"Forster\", role=\"ctb\"),\nperson(given=\"Eric-Jan\", family=\"Wagenmakers\", role=\"ths\"),\nperson(family=\"The JASP Team\", role=\"ctb\"),\nperson(\"Jiqiang\", \"Guo\", role = \"ctb\"),\nperson(\"Jonah\", \"Gabry\", role = \"ctb\"),\nperson(\"Ben\", \"Goodrich\", role = c(\"ctb\")),\nperson(\"Kees\", \"Mulder\", role = c(\"ctb\")),\nperson(\"Perry\", \"de Valpine\", role = c(\"ctb\")),\nperson(given=\"Aki\", family=\"Vehtari\", role = c(\"ctb\")),\nperson(given=\"Giorgio\", family=\"Micaletto\", role = c(\"ctb\"))\n)",
  "Description": "Provides functions for estimating marginal likelihoods,\nBayes factors, posterior model probabilities, and normalizing\nconstants in general, via different versions of bridge sampling\n(Meng & Wong, 1996,\n<https://www3.stat.sinica.edu.tw/statistica/j6n4/j6n43/j6n43.htm>).\nGronau, Singmann, & Wagenmakers (2020)\n<doi:10.18637/jss.v092.i10>.",
  "Additional_repositories": "https://stan-dev.r-universe.dev/",
  "License": "GPL (>=2)",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr, R.rsp",
  "URL": "https://github.com/quentingronau/bridgesampling",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://quentingronau.r-universe.dev",
  "Date/Publication": "2025-11-18 11:40:18 UTC",
  "RemoteUrl": "https://github.com/quentingronau/bridgesampling",
  "RemoteRef": "HEAD",
  "RemoteSha": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-16 09:11:34 UTC",
    "User": "root"
  },
  "Author": "Quentin F. Gronau [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5510-6943>),\nHenrik Singmann [aut] (ORCID: <https://orcid.org/0000-0002-4842-3657>),\nJonathan J. Forster [ctb],\nEric-Jan Wagenmakers [ths],\nThe JASP Team [ctb],\nJiqiang Guo [ctb],\nJonah Gabry [ctb],\nBen Goodrich [ctb],\nKees Mulder [ctb],\nPerry de Valpine [ctb],\nAki Vehtari [ctb],\nGiorgio Micaletto [ctb]",
  "Maintainer": "Quentin F. Gronau <Quentin.F.Gronau@gmail.com>",
  "_user": "quentingronau",
  "_type": "src",
  "_file": "bridgesampling_1.2-1.tar.gz",
  "_fileid": "https://r2.ropensci.org/45f83365ddbdde61e949f2338ed84a3093791a9986bbb56d53ec0330bb9d73b7",
  "_filesize": 1794763,
  "_sha256": "45f83365ddbdde61e949f2338ed84a3093791a9986bbb56d53ec0330bb9d73b7",
  "_expires": "2026-10-13T03:27:21.000Z",
  "_created": "2026-06-16T09:11:34.000Z",
  "_published": "2026-07-05T03:27:23.548Z",
  "_jobs": [
    {
      "job": 85189264997,
      "time": 266,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7662392229"
    },
    {
      "job": 85189264995,
      "time": 270,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662393777"
    },
    {
      "job": 85189264946,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7662348362"
    },
    {
      "job": 85189264920,
      "time": 186,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7662359122"
    },
    {
      "job": 85189264897,
      "time": 321,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662287538"
    },
    {
      "job": 85189264890,
      "time": 216,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662372505"
    },
    {
      "job": 85189264993,
      "time": 139,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7662343234"
    },
    {
      "job": 85189264925,
      "time": 183,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7662359053"
    },
    {
      "job": 85189264960,
      "time": 130,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662338429"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/quentingronau/actions/runs/27606716840",
  "_status": "success",
  "_upstream": "https://github.com/quentingronau/bridgesampling",
  "_commit": {
    "id": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
    "author": "Henrik Singmann <singmann@gmail.com>",
    "committer": "Henrik Singmann <singmann@gmail.com>",
    "message": "version bump, revdep rerun\n",
    "time": 1763466018
  },
  "_maintainer": {
    "name": "Quentin F. Gronau",
    "email": "quentin.f.gronau@gmail.com",
    "login": "quentingronau",
    "description": "",
    "uuid": 8697436,
    "orcid": "0000-0001-5510-6943"
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "Brobdingnag",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "Rcpp",
      "role": "Suggests"
    },
    {
      "package": "RcppEigen",
      "role": "Suggests"
    },
    {
      "package": "R2jags",
      "role": "Suggests"
    },
    {
      "package": "rjags",
      "role": "Suggests"
    },
    {
      "package": "runjags",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    },
    {
      "package": "BayesFactor",
      "role": "Suggests"
    },
    {
      "package": "rstan",
      "role": "Suggests"
    },
    {
      "package": "rstanarm",
      "role": "Suggests"
    },
    {
      "package": "nimble",
      "role": "Suggests"
    },
    {
      "package": "MCMCpack",
      "role": "Suggests"
    },
    {
      "package": "cmdstanr",
      "version": ">= 0.6.0",
      "role": "Suggests"
    }
  ],
  "_owner": "quentingronau",
  "_selfowned": true,
  "_usedby": 66,
  "_updates": [
    {
      "week": "2025-37",
      "n": 20
    },
    {
      "week": "2025-45",
      "n": 3
    },
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-47",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 35,
  "_contributors": [
    {
      "user": "singmann",
      "count": 165,
      "uuid": 1902102
    },
    {
      "user": "quentingronau",
      "count": 146,
      "uuid": 8697436
    },
    {
      "user": "keesmulder",
      "count": 42,
      "uuid": 7806295
    },
    {
      "user": "giorgiomb",
      "count": 2,
      "uuid": 122452088
    },
    {
      "user": "bgoodri",
      "count": 1,
      "uuid": 3386282
    },
    {
      "user": "fbartos",
      "count": 1,
      "uuid": 38475991
    },
    {
      "user": "martynplummer",
      "count": 1,
      "uuid": 3372481
    }
  ],
  "_userbio": {
    "uuid": 8697436,
    "type": "user",
    "name": "Quentin F. Gronau",
    "followers": 24
  },
  "_downloads": {
    "count": 56360,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bridgesampling"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/quentingronau/bridgesampling",
  "_searchresults": 519,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bridgesampling.html",
    "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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/quentingronau/bridgesampling",
  "_realowner": "quentingronau",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-1",
      "date": "2017-03-24"
    },
    {
      "version": "0.2-2",
      "date": "2017-06-27"
    },
    {
      "version": "0.3-0",
      "date": "2017-10-22"
    },
    {
      "version": "0.4-0",
      "date": "2017-12-19"
    },
    {
      "version": "0.5-2",
      "date": "2018-08-19"
    },
    {
      "version": "0.6-0",
      "date": "2018-10-21"
    },
    {
      "version": "0.7-2",
      "date": "2019-07-22"
    },
    {
      "version": "0.8-1",
      "date": "2020-01-16"
    },
    {
      "version": "1.0-0",
      "date": "2020-02-26"
    },
    {
      "version": "1.1-2",
      "date": "2021-04-16"
    },
    {
      "version": "1.2-1",
      "date": "2025-11-19"
    }
  ],
  "_exports": [
    "bayes_factor",
    "bf",
    "bridge_sampler",
    "error_measures",
    "logml",
    "post_prob"
  ],
  "_datasets": [
    {
      "name": "ier",
      "title": "Standardized International Exchange Rate Changes from 1975 to 1986",
      "object": "ier",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "us_dollar",
        "canadian_dollar",
        "yen",
        "franc",
        "lira",
        "mark"
      ],
      "rows": 143,
      "table": true,
      "tojson": true
    },
    {
      "name": "turtles",
      "title": "Turtles Data from Janzen, Tucker, and Paukstis (2000)",
      "object": "turtles",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x",
        "clutch"
      ],
      "rows": 244,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bf",
      "title": "Bayes Factor(s) from Marginal Likelihoods",
      "topics": [
        "bayes_factor",
        "bayes_factor.default",
        "bf",
        "bf.bridge",
        "bf.bridge_list",
        "bf.default"
      ]
    },
    {
      "page": "bridge_sampler",
      "title": "Log Marginal Likelihood via Bridge Sampling",
      "topics": [
        "bridge_sampler",
        "bridge_sampler.CmdStanMCMC",
        "bridge_sampler.matrix",
        "bridge_sampler.mcmc",
        "bridge_sampler.mcmc.list",
        "bridge_sampler.MCMC_refClass",
        "bridge_sampler.rjags",
        "bridge_sampler.runjags",
        "bridge_sampler.stanfit",
        "bridge_sampler.stanreg"
      ]
    },
    {
      "page": "bridge-methods",
      "title": "Methods for bridge and bridge_list objects",
      "topics": [
        "bridge-methods",
        "print.bridge",
        "print.bridge_list",
        "print.summary.bridge",
        "print.summary.bridge_list",
        "summary.bridge",
        "summary.bridge_list"
      ]
    },
    {
      "page": "error_measures",
      "title": "Error Measures for Estimated Marginal Likelihood",
      "topics": [
        "error_measures",
        "error_measures.bridge",
        "error_measures.bridge_list"
      ]
    },
    {
      "page": "ier",
      "title": "Standardized International Exchange Rate Changes from 1975 to 1986",
      "topics": [
        "ier"
      ]
    },
    {
      "page": "logml",
      "title": "Log Marginal Likelihoods from Bridge Objects",
      "topics": [
        "logml",
        "logml.bridge",
        "logml.bridge_list"
      ]
    },
    {
      "page": "post_prob",
      "title": "Posterior Model Probabilities from Marginal Likelihoods",
      "topics": [
        "post_prob",
        "post_prob.bridge",
        "post_prob.bridge_list",
        "post_prob.default"
      ]
    },
    {
      "page": "turtles",
      "title": "Turtles Data from Janzen, Tucker, and Paukstis (2000)",
      "topics": [
        "turtles"
      ]
    }
  ],
  "_readme": "https://github.com/quentingronau/bridgesampling/raw/HEAD/README.md",
  "_rundeps": [
    "Brobdingnag",
    "cli",
    "coda",
    "farver",
    "glue",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mvtnorm",
    "R6",
    "RColorBrewer",
    "rlang",
    "scales",
    "stringi",
    "stringr",
    "vctrs",
    "viridisLite"
  ],
  "_vignettes": [
    {
      "source": "bridgesampling_tutorial.pdf.asis",
      "filename": "bridgesampling_tutorial.pdf",
      "title": "A Tutorial on Bridge Sampling",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2017-03-23 15:47:27",
      "modified": "2017-03-23 15:47:27",
      "commits": 1
    },
    {
      "source": "bridgesampling_stan_ttest.Rmd",
      "filename": "bridgesampling_stan_ttest.html",
      "title": "Bayesian One-Sample T-Test (Stan)",
      "author": "Quentin F. Gronau",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model",
        "Data",
        "Specifying the Models",
        "Fitting the Models",
        "Computing the (Log) Marginal Likelihoods",
        "Computing the Bayes Factor",
        "One-sided Test",
        "References"
      ],
      "created": "2017-04-25 14:52:30",
      "modified": "2018-10-10 16:40:41",
      "commits": 7
    },
    {
      "source": "bridgesampling_paper_extended.pdf.asis",
      "filename": "bridgesampling_paper_extended.pdf",
      "title": "bridgesampling: An R Package for Estimating Normalizing Constants (Extended)",
      "engine": "R.rsp::asis",
      "headings": [
        "Introduction",
        "Bridge sampling: the algorithm",
        "Toy example: Bayesian t-test",
        "A ``black box'' Stan interface",
        "Discussion",
        "Acknowledgements"
      ],
      "created": "2018-10-16 08:09:23",
      "modified": "2018-10-16 08:09:23",
      "commits": 1
    },
    {
      "source": "bridgesampling_paper.pdf.asis",
      "filename": "bridgesampling_paper.pdf",
      "title": "bridgesampling: An R Package for Estimating Normalizing Constants (JSS version)",
      "engine": "R.rsp::asis",
      "headings": [
        "Introduction",
        "Bridge sampling: the algorithm",
        "Toy example: Bayesian t-test",
        "A ``black box'' Stan interface",
        "Discussion",
        "Acknowledgements"
      ],
      "created": "2017-10-18 18:04:53",
      "modified": "2018-10-21 13:23:18",
      "commits": 2
    },
    {
      "source": "bridgesampling_example_jags.Rmd",
      "filename": "bridgesampling_example_jags.html",
      "title": "Hierarchical Normal Example (JAGS)",
      "author": "Quentin F. Gronau",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model and Data",
        "Fitting the Models",
        "Specifying the Unnormalized Log Posterior Function",
        "Specifying the Parameter Bounds",
        "Computing the (Log) Marginal Likelihoods",
        "Bayesian Model Comparison"
      ],
      "created": "2017-04-25 14:52:30",
      "modified": "2018-08-19 18:01:57",
      "commits": 4
    },
    {
      "source": "bridgesampling_example_nimble.Rmd",
      "filename": "bridgesampling_example_nimble.html",
      "title": "Hierarchical Normal Example (nimble)",
      "author": "Quentin F. Gronau, Henrik Singmann & Perry de Valpine",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model and Data",
        "Specifying the Models",
        "Fitting the Models",
        "Computing the (Log) Marginal Likelihoods",
        "Bayesian Model Comparison"
      ],
      "created": "2018-08-21 13:20:57",
      "modified": "2025-09-09 12:47:24",
      "commits": 4
    },
    {
      "source": "bridgesampling_example_stan.Rmd",
      "filename": "bridgesampling_example_stan.html",
      "title": "Hierarchical Normal Example (Stan)",
      "author": "Quentin F. Gronau",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model and Data",
        "Specifying the Models",
        "Fitting the Models",
        "Computing the (Log) Marginal Likelihoods",
        "Bayesian Model Comparison"
      ],
      "created": "2017-04-25 14:52:30",
      "modified": "2018-08-19 18:01:57",
      "commits": 4
    }
  ],
  "_score": 13.70827211767913,
  "_indexed": true,
  "_nocasepkg": "bridgesampling",
  "_universes": [
    "quentingronau"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2-1",
      "date": "2026-06-16T09:15:37.000Z",
      "distro": "noble",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/a51a00792ebc5df1eb30de8fb6b9c8320fdd9dafb2a35c04338b59ebe2910e98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/27606716840"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2-1",
      "date": "2026-06-16T09:15:43.000Z",
      "distro": "noble",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/6900d383a6021f4f9e124cfdc134f9bc06785c44c797c1ae4003e96442eb2c9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/27606716840"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2-1",
      "date": "2026-06-16T09:13:48.000Z",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/d215f43493249b258dff9a2aaf545bc7882f301d4336b8afd3735eb7e4d87696",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/27606716840"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2-1",
      "date": "2026-06-16T09:14:09.000Z",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/f471e2373e693955b93bc091ad412ed0b868b664aa58a7a8f2f23803165e155e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/27606716840"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2-1",
      "date": "2026-06-16T09:15:34.000Z",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/0ed05ffa177aef4b30884afb589b704ddce9144c786bc95fe1c2049ffbef6473",
      "status": "success",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/27606716840"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2-1",
      "date": "2026-06-16T09:13:18.000Z",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/1da76e7008a4ebc8fdbd55a233b9fc9895b17818a168ba6b71a9b6b17aabbdac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/27606716840"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2-1",
      "date": "2026-06-16T09:13:56.000Z",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/d1fac4faf8e341c1ade06e32e692f7a2de6b2a0121a81b906c24ae5e18688e4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/27606716840"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2-1",
      "date": "2026-06-16T09:13:08.000Z",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/aff9005d4ade18606604c3630203c5f0012b87fb2da5ef0c37c7b04a05d9dbf8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/27606716840"
    }
  ]
}