{
  "_id": "6acf516cd9de2f3f33fcad75",
  "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-10-14 09:07:14 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/29d67ae5ecfa119b6e2cdec7199521f703d237abe57be4b078f84aaf93d659f7",
  "_filesize": 1793755,
  "_sha256": "29d67ae5ecfa119b6e2cdec7199521f703d237abe57be4b078f84aaf93d659f7",
  "_expires": "2027-01-22T09:54:50.000Z",
  "_created": "2026-10-14T09:07:14.000Z",
  "_published": "2026-10-14T09:54:52.218Z",
  "_buildurl": "https://github.com/r-universe/quentingronau/actions/runs/38537484243",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115772356431,
      "time": 1298,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11882708678"
    },
    {
      "job": 115772356410,
      "time": 1252,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11882823226"
    },
    {
      "job": 115772356723,
      "time": 222,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11884327518"
    },
    {
      "job": 115772356625,
      "time": 240,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11883239308"
    },
    {
      "job": 115763942936,
      "time": 1260,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11882385266"
    },
    {
      "job": 115772356630,
      "time": 1258,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11882788312"
    },
    {
      "job": 115772356449,
      "time": 158,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11881732686"
    },
    {
      "job": 115772356697,
      "time": 134,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11882405610"
    },
    {
      "job": 115772356481,
      "time": 106,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11881662657"
    }
  ],
  "_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": "resolute",
  "_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": 71,
  "_updates": [
    {
      "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": 40510,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bridgesampling"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/quentingronau/bridgesampling",
  "_searchresults": 516,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/bridgesampling.html",
    "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"
  ],
  "_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.469121396773057,
  "_indexed": true,
  "_nocasepkg": "bridgesampling",
  "_universes": [
    "quentingronau"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2-1",
      "date": "2026-10-14T09:27:36.000Z",
      "distro": "resolute",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/f9bc2fb0900c427f322eb45f214f6c9a65a800700a24cdca10d7b008ff292483",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/38537484243"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2-1",
      "date": "2026-10-14T09:26:56.000Z",
      "distro": "resolute",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/814771c7f262cfc758af4b3e064d883f51d2f8465a67e37fc522231cf30b3121",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/38537484243"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2-1",
      "date": "2026-10-14T09:52:49.000Z",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/2780c9df7dadfe965f3cb4fac3cdf2cf70b80d2efd5e12b0f6d7df75a1a1ada3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/38537484243"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2-1",
      "date": "2026-10-14T09:44:59.000Z",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/ed1bdfdfde16cc82d400ccd5da79287f6500642d4784ef4c938e6ef405564f8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/38537484243"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2-1",
      "date": "2026-10-14T09:28:39.000Z",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/32d5635fc8349bc3a0489304cac8122643628c23dd194e9ffd395eed941e92e8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/38537484243"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2-1",
      "date": "2026-10-14T09:09:28.000Z",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/7e77d354d63e53d3918c13a0977b7fc9dec94695b1c701c83bb256cfb3a152cd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/38537484243"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2-1",
      "date": "2026-10-14T09:09:02.000Z",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/a3684c6ad2b925b041378e06f484d996e9af8dcbd3dae5b1d496ab4dd3286f6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/38537484243"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2-1",
      "date": "2026-10-14T09:08:47.000Z",
      "commit": "76627bf9be4b8d4b297ef773f8c67d65fd19dfb0",
      "fileid": "https://r2.ropensci.org/0fd2db71cf64e620afd35fb7746902076ae43d53446c34cc356a2be010bcabe1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/quentingronau/actions/runs/38537484243"
    }
  ]
}