{
  "_id": "6a29ef3f7b7a29ca60034361",
  "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-06-10 22:59:04 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>",
  "MD5sum": "2d3e5ae6fc50f44222488d55fa3c49e5",
  "_user": "ropensci",
  "_type": "src",
  "_file": "ernest_1.2.1.tar.gz",
  "_fileid": "1478ffb29f6c3f08ff7d6860f5408450cfc4dd8b528f82bb2e7fa9c01caae4fa",
  "_filesize": 2601268,
  "_sha256": "1478ffb29f6c3f08ff7d6860f5408450cfc4dd8b528f82bb2e7fa9c01caae4fa",
  "_created": "2026-06-10T22:59:04.000Z",
  "_published": "2026-06-10T23:11:59.432Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80683638525,
      "time": 329,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7550581380"
    },
    {
      "job": 80683638523,
      "time": 306,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7550575038"
    },
    {
      "job": 80683638663,
      "time": 322,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7550579537"
    },
    {
      "job": 80683638672,
      "time": 278,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7550567862"
    },
    {
      "job": 80683638515,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7550530712"
    },
    {
      "job": 80683638532,
      "time": 667,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7550675825"
    },
    {
      "job": 80683638557,
      "time": 263,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7550563350"
    },
    {
      "job": 80683638637,
      "time": 546,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7550642617"
    },
    {
      "job": 80682616471,
      "time": 337,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7550456411"
    },
    {
      "job": 80682616451,
      "time": 444,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7550485266"
    },
    {
      "job": 80683638477,
      "time": 198,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7550544699"
    },
    {
      "job": 80683638507,
      "time": 333,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7550582602"
    },
    {
      "job": 80683638559,
      "time": 298,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7550572692"
    },
    {
      "job": 80683638535,
      "time": 309,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7550576184"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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",
    "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.0",
  "_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"
  ],
  "_realowner": "ropensci",
  "_cranurl": false,
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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": 4.431363764158988,
  "_indexed": true,
  "_nocasepkg": "ernest",
  "_universes": [
    "ropensci"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-06-10T23:03:11.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "7838dcfa98295d1cec2b68a15b59ac1318cb79ce7b32713845fc57ab3d07c19d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-06-10T23:02:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "a2705a7c086211ac34c59ce6cb2589f2afb9dbe086ba41fa8cdcd82864d73873",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-06-10T23:03:03.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "d38ed1d1b322e0f3074e9b04c1079bb13b7e321b36f1bff177aad10a34f3be1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-06-10T23:02:33.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "2da744fc1bf7a7beef4af0c8405c81fda9ff00580d9c14fdab9a129b1ca7e4fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-06-10T23:01:20.000Z",
      "arch": "aarch64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "b5a17e417904b0148be377cdcb16b43c1be38d275b1e3116c57024637fe760ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-06-10T23:04:22.000Z",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "b3029fc63f4e8ec6ce3a1668d948cdbd6430e1475929e387b36d8a75a9878c70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-06-10T23:02:04.000Z",
      "arch": "aarch64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "505e8e8d97e24b9c6a933bbcf8d124728f8905d2fcf3e572b20efa036eea0588",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-06-10T23:03:13.000Z",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "f833e238a004a947042095174b5b57bc35c3e66c5cc7ee8cf2ff9c2b12ad743c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-06-10T23:03:01.000Z",
      "arch": "emscripten",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "b00a3a3baff17320fba874ed718fd2f3c2d9044ba28f67bddcc8cb5dad039d8c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-06-10T23:01:41.000Z",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "43ddfc1c5e693c34b005949079e9cb73946bc159d0e70d2e112ac2f2542ac2eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-06-10T23:01:39.000Z",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "ba806a8e0de5862c9ea888e32c3351584300c48461f24cd1e3c976f06c4aa2ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-06-10T23:01:30.000Z",
      "arch": "x86_64",
      "commit": "1a6824166c4e23bc7303ab396ae3dca053261b53",
      "fileid": "8d5cda4e17e82a424419f80b985871db298c526bc4f48bff60067816e34b70de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27311522031"
    }
  ]
}