{
  "_id": "6a44d7916ff6f2357551c8fd",
  "Package": "ernest",
  "Title": "A Toolkit for Nested Sampling",
  "Version": "1.2.1",
  "Authors@R": "c(\nperson(\"Kyle\", \"Dewsnap\", , \"kyle.dewsnap@ubc.ca\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-2132-8083\")),\nperson(\"TJ\", \"Mahr\", role = \"rev\"),\nperson(\"Robert\", \"Kubinec\", role = \"rev\")\n)",
  "Description": "Bayesian evidence estimation and posterior inference with\nthe nested sampling algorithm, along with S3 methods for\nsimulating uncertainty and creating visualisations.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/ropensci/ernest,\nhttps://docs.ropensci.org/ernest/",
  "BugReports": "https://github.com/ropensci/ernest/issues",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Config/testthat/start-first": "nested_sampling_impl, plot",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE, roclets = c (\"namespace\", \"rd\",\n\"srr::srr_stats_roclet\"))",
  "Config/pak/sysreqs": "cmake make libuv1-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2026-06-10 22:21:19 UTC",
  "RemoteUrl": "https://github.com/ropensci/ernest",
  "RemoteRef": "main",
  "RemoteSha": "1a6824166c4e23bc7303ab396ae3dca053261b53",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-01 08:30:01 UTC",
    "User": "root"
  },
  "Author": "Kyle Dewsnap [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-2132-8083>),\nTJ Mahr [rev],\nRobert Kubinec [rev]",
  "Maintainer": "Kyle Dewsnap <kyle.dewsnap@ubc.ca>",
  "_user": "ropensci",
  "_type": "src",
  "_file": "ernest_1.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/822036dbb2634184c6564ca23476d9615555555c18660c69a042febcee4b2e54",
  "_filesize": 2599245,
  "_sha256": "822036dbb2634184c6564ca23476d9615555555c18660c69a042febcee4b2e54",
  "_expires": "2026-10-09T09:02:08.000Z",
  "_created": "2026-07-01T08:30:01.000Z",
  "_published": "2026-07-01T09:02:09.192Z",
  "_jobs": [
    {
      "job": 84489007648,
      "time": 307,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8004474417"
    },
    {
      "job": 84489007627,
      "time": 346,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8004487481"
    },
    {
      "job": 84489007641,
      "time": 284,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004466023"
    },
    {
      "job": 84489007645,
      "time": 326,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004480246"
    },
    {
      "job": 84489007656,
      "time": 237,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8005057560"
    },
    {
      "job": 84489007622,
      "time": 412,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8004621179"
    },
    {
      "job": 84489007639,
      "time": 253,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8005064541"
    },
    {
      "job": 84489007636,
      "time": 512,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004661340"
    },
    {
      "job": 84487700189,
      "time": 335,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8004339326"
    },
    {
      "job": 84487700168,
      "time": 363,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004350899"
    },
    {
      "job": 84489007640,
      "time": 220,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8004440027"
    },
    {
      "job": 84489007626,
      "time": 325,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8004479734"
    },
    {
      "job": 84489007653,
      "time": 301,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8004471972"
    },
    {
      "job": 84489007629,
      "time": 314,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8004476777"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507",
  "_status": "success",
  "_upstream": "https://github.com/ropensci/ernest",
  "_commit": {
    "id": "1a6824166c4e23bc7303ab396ae3dca053261b53",
    "author": "Kyle Dewsnap <30324420+kylesnap@users.noreply.github.com>",
    "committer": "Kyle Dewsnap <30324420+kylesnap@users.noreply.github.com>",
    "message": ".onLoad function now sets CRAN OMP_THREAD_LIMIT.\n",
    "time": 1781130079
  },
  "_maintainer": {
    "name": "Kyle Dewsnap",
    "email": "kyle.dewsnap@ubc.ca",
    "orcid": "0000-0003-2132-8083"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cpp11",
      "role": "LinkingTo"
    },
    {
      "package": "cpp11eigen",
      "role": "LinkingTo"
    },
    {
      "package": "testthat",
      "role": "LinkingTo"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "brms",
      "role": "Suggests"
    },
    {
      "package": "distributional",
      "role": "Suggests"
    },
    {
      "package": "extraDistr",
      "role": "Suggests"
    },
    {
      "package": "ggdist",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyselect",
      "role": "Suggests"
    },
    {
      "package": "uniformly",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-35",
      "n": 6
    },
    {
      "week": "2025-38",
      "n": 3
    },
    {
      "week": "2025-40",
      "n": 7
    },
    {
      "week": "2025-46",
      "n": 3
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 5
    },
    {
      "week": "2026-24",
      "n": 6
    }
  ],
  "_tags": [],
  "_topics": [
    "bayesian-inference",
    "nested-sampling",
    "ropensci",
    "statistics",
    "cpp"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "kylesnap",
      "count": 351,
      "uuid": 30324420
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "followers": 1106,
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ernest"
  },
  "_devurl": "https://github.com/ropensci/ernest",
  "_pkgdown": "https://docs.ropensci.org/ernest",
  "_searchresults": 10,
  "_metadata": {
    "review": {
      "id": 730,
      "status": "reviewed",
      "version": "1.1.0",
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/730"
    }
  },
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ernest.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropensci/ernest",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.2.4",
      "date": "2026-06-30"
    }
  ],
  "_exports": [
    "as_draws",
    "as_draws_matrix",
    "as_draws_rvars",
    "calculate",
    "compile",
    "create_likelihood",
    "create_normal_prior",
    "create_prior",
    "create_uniform_prior",
    "ernest_sampler",
    "generate",
    "multi_ellipsoid",
    "new_ernest_lrps",
    "propose",
    "rwmh_cube",
    "slice_rectangle",
    "unif_cube",
    "unif_ellipsoid",
    "update_lrps",
    "visualize"
  ],
  "_datasets": [
    {
      "name": "example_run",
      "title": "Example Nested Sampling Run with Ernest",
      "object": "example_run",
      "class": [
        "ernest_run",
        "ernest_sampler"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "as_draws.ernest_run",
      "title": "Transform nested sampling runs to 'draws' objects",
      "topics": [
        "as_draws.ernest_run",
        "as_draws_matrix.ernest_run",
        "as_draws_rvars.ernest_run"
      ]
    },
    {
      "page": "calculate.ernest_run",
      "title": "Estimate Evidence using a Nested Sampling Run",
      "topics": [
        "calculate.ernest_run",
        "ernest_estimate"
      ]
    },
    {
      "page": "compile-ernest",
      "title": "Compile the live set of points for nested sampling",
      "topics": [
        "compile.ernest_run",
        "compile.ernest_sampler"
      ]
    },
    {
      "page": "create_likelihood",
      "title": "Prepare a likelihood function for nested sampling",
      "topics": [
        "create_likelihood",
        "ernest_likelihood"
      ]
    },
    {
      "page": "special_priors",
      "title": "Uniform distribution",
      "concept": [
        "priors"
      ],
      "topics": [
        "create_normal_prior",
        "create_uniform_prior"
      ]
    },
    {
      "page": "create_prior",
      "title": "Prepare a prior transformation for nested sampling",
      "concept": [
        "priors"
      ],
      "topics": [
        "+.ernest_prior",
        "create_prior",
        "ernest_prior"
      ]
    },
    {
      "page": "ernest_sampler",
      "title": "Prepare a new nested sampling run",
      "topics": [
        "ernest_sampler"
      ]
    },
    {
      "page": "example_run",
      "title": "Example Nested Sampling Run with Ernest",
      "topics": [
        "example_run"
      ]
    },
    {
      "page": "generate-ernest",
      "title": "Run nested sampling to estimate Bayesian evidence",
      "topics": [
        "ernest_run",
        "generate.ernest_run",
        "generate.ernest_sampler"
      ]
    },
    {
      "page": "multi_ellipsoid",
      "title": "Generate new points from multiple spanning ellipsoids",
      "concept": [
        "ernest_lrps"
      ],
      "topics": [
        "multi_ellipsoid"
      ]
    },
    {
      "page": "plot-ernest",
      "title": "Plot diagnostics from nested sampling results",
      "concept": [
        "visualizations"
      ],
      "topics": [
        "plot.ernest_estimate",
        "plot.ernest_run",
        "summary.ernest_estimate"
      ]
    },
    {
      "page": "rwmh_cube",
      "title": "Generate new points with a random walk",
      "concept": [
        "ernest_lrps"
      ],
      "topics": [
        "rwmh_cube"
      ]
    },
    {
      "page": "slice_rectangle",
      "title": "Generate new points with slice sampling",
      "concept": [
        "ernest_lrps"
      ],
      "topics": [
        "slice_rectangle"
      ]
    },
    {
      "page": "summary.ernest_run",
      "title": "Summarize a nested sampling run",
      "topics": [
        "summary.ernest_run"
      ]
    },
    {
      "page": "unif_cube",
      "title": "Generate new points from the unconstrained prior distribution",
      "concept": [
        "ernest_lrps"
      ],
      "topics": [
        "unif_cube"
      ]
    },
    {
      "page": "unif_ellipsoid",
      "title": "Generate new points from the spanning ellipsoid",
      "concept": [
        "ernest_lrps"
      ],
      "topics": [
        "unif_ellipsoid"
      ]
    },
    {
      "page": "visualize.ernest_run",
      "title": "Visualize posterior distributions or traces from a nested sampling run",
      "concept": [
        "visualizations"
      ],
      "topics": [
        "visualize.ernest_run"
      ]
    },
    {
      "page": "weights.ernest_run",
      "title": "Extract the posterior sample weights from a nested sampling run",
      "topics": [
        "weights.ernest_run"
      ]
    }
  ],
  "_readme": "https://github.com/ropensci/ernest/raw/main/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "brio",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "cpp11eigen",
    "crayon",
    "desc",
    "diffobj",
    "distributional",
    "evaluate",
    "farver",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "posterior",
    "praise",
    "processx",
    "ps",
    "R6",
    "RColorBrewer",
    "rlang",
    "rprojroot",
    "S7",
    "scales",
    "tensorA",
    "testthat",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "waldo",
    "withr"
  ],
  "_sysdeps": [
    {
      "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": "more-ernest-runs.Rmd",
      "filename": "more-ernest-runs.html",
      "title": "More Examples with ernest",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Multimodal Bivariate Gaussian \"Blobs\"",
        "Eggbox Distribution",
        "Incorporating Data within Likelihood Functions"
      ],
      "created": "2025-08-25 23:54:16",
      "modified": "2026-06-10 22:04:07",
      "commits": 11
    },
    {
      "source": "nested-sampling-with-ernest.Rmd",
      "filename": "nested-sampling-with-ernest.html",
      "title": "Nested Sampling with ernest",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Bayes' Theorem and Model Evidence",
        "Estimating Evidence with Nested Sampling",
        "Nested Sampling with ernest",
        "Initialization",
        "Likelihood",
        "Prior Distributions",
        "Likelihood-Restricted Prior Sampler",
        "Generating Samples",
        "Properties of Nested Sampling Runs",
        "Robustness",
        "Complexity",
        "Stopping Criteria",
        "Uncertainty",
        "Posterior Distributions",
        "Conclusion"
      ],
      "created": "2025-03-06 22:36:54",
      "modified": "2026-06-10 22:04:07",
      "commits": 13
    }
  ],
  "_score": 5.431363764158988,
  "_indexed": true,
  "_nocasepkg": "ernest",
  "_universes": [
    "ropensci"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-07-01T08:33:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "https://r2.ropensci.org/e83b391c30f18d83cab978e5bff2dc85085f4b30b3c303a7b676bec80b0c6d4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-07-01T08:33:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "https://r2.ropensci.org/57f7a6baf8c1cb00aa3af5093029aed80e5fa7424ef8d9df6ae048199676cb1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-07-01T08:33:41.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "https://r2.ropensci.org/cb089c9563ffb7703a30231c01b92706c9887a1a690ffe5f5561d29c9c8c94e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-07-01T08:33:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "https://r2.ropensci.org/331b41bdc22d0805afc936ccda5f735a13fd3b1dac9324a944e4f6086a86f581",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-07-01T08:58:34.000Z",
      "arch": "aarch64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "https://r2.ropensci.org/1fa53c8a0f4db7915636a540bfe793a975944a9f8d1303ff724a514946bd09d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-07-01T08:38:54.000Z",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "https://r2.ropensci.org/7c3e1467bbb7160b637238adce7fac65602d4583516f4c4f70b3daf428ea837d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-07-01T08:59:14.000Z",
      "arch": "aarch64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "https://r2.ropensci.org/1d9c1d39871b57a8bb0c494f8aac5c228252642165c77a64f4d3345b472b6bf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-07-01T08:39:43.000Z",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "https://r2.ropensci.org/836956b91e89b25dd8d39a6c6a909edc5df523854ef33af69fe6a9ba5ad842ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-07-01T08:34:07.000Z",
      "arch": "emscripten",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "https://r2.ropensci.org/c4b3121803c643640cc1c6ab143ced30d952a73985a376b82583562119c54438",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-07-01T08:32:33.000Z",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "https://r2.ropensci.org/eae74e9d069e9f0a8a9955db7ab1d978c0a41d992711fe159fc6e5e38e3f26a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-07-01T08:32:47.000Z",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "https://r2.ropensci.org/76774d04b7de38d56cee60ea7d0c7c7a6c073ef9f425904b98b04c8a254eac8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-07-01T08:32:23.000Z",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "https://r2.ropensci.org/193b85058c09f90630a525cba070e7772e29948882543b0ab901390f26f93419",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503791507"
    }
  ]
}