{
  "_id": "6a43c5a358db26aa3c359bdc",
  "Package": "ernest",
  "Title": "A Toolkit for Nested Sampling",
  "Version": "1.2.4",
  "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\"),\nperson(\"Michael\", \"Hughes\", role = \"cph\")\n)",
  "Description": "Bayesian evidence estimation and posterior inference with\nthe nested sampling algorithm, described in Skilling (2006)\n<doi:10.1214/06-BA127> and Buchner (2023)\n<doi:10.1214/23-SS144>, along with S3 methods for simulating\nuncertainty 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",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-30 13:26:46 UTC",
    "User": "root"
  },
  "Author": "Kyle Dewsnap [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-2132-8083>), TJ Mahr [rev], Robert\nKubinec [rev], Michael Hughes [cph]",
  "Maintainer": "Kyle Dewsnap <kyle.dewsnap@ubc.ca>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-30 11:57:36 UTC",
  "RemoteUrl": "https://github.com/cran/ernest",
  "RemoteRef": "HEAD",
  "RemoteSha": "1940c7cc45749b0d12253554c64e4259a7dffb34",
  "MD5sum": "39b3489248fecb4a817f2c51adea4818",
  "_user": "cran",
  "_type": "src",
  "_file": "ernest_1.2.4.tar.gz",
  "_fileid": "d21d3186aab31e92c0d28c20c4dbc39b68a33c1dbb0f80c1c6d4668e56ad4630",
  "_filesize": 2598239,
  "_sha256": "d21d3186aab31e92c0d28c20c4dbc39b68a33c1dbb0f80c1c6d4668e56ad4630",
  "_created": "2026-06-30T13:26:46.000Z",
  "_published": "2026-06-30T13:33:23.640Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 84302164584,
      "time": 312,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7982124660"
    },
    {
      "job": 84302164493,
      "time": 308,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7982121563"
    },
    {
      "job": 84302164414,
      "time": 283,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7982112370"
    },
    {
      "job": 84302164517,
      "time": 303,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7982119281"
    },
    {
      "job": 84300613674,
      "time": 414,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7981978521"
    },
    {
      "job": 84302164410,
      "time": 221,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7982081130"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28447468528",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/ernest",
  "_commit": {
    "id": "1940c7cc45749b0d12253554c64e4259a7dffb34",
    "author": "Kyle Dewsnap <kyle.dewsnap@ubc.ca>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.4\n",
    "time": 1782820656
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.2.4",
      "date": "2026-06-30"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 614,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_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,
  "_topics": [
    "cpp"
  ],
  "_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"
  ],
  "_realowner": "ropensci",
  "_cranurl": false,
  "_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/cran/ernest/raw/HEAD/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": "2026-06-30 11:57:36",
      "modified": "2026-06-30 11:57:36",
      "commits": 1
    },
    {
      "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": "2026-06-30 11:57:36",
      "modified": "2026-06-30 11:57:36",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "ernest",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://ropensci.r-universe.dev/ernest",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.4",
      "date": "2026-06-30T13:30:39.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1940c7cc45749b0d12253554c64e4259a7dffb34",
      "fileid": "0dff8452af07c469fcc8b7f6a3eb025be791d9a01c51c167544801e284045bda",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28447468528"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.4",
      "date": "2026-06-30T13:30:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1940c7cc45749b0d12253554c64e4259a7dffb34",
      "fileid": "d3ecc28a9c1ff8d9c4a1a9681a4fd99270f5495e68b79a11df29d13ff074be7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28447468528"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.4",
      "date": "2026-06-30T13:30:22.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1940c7cc45749b0d12253554c64e4259a7dffb34",
      "fileid": "78db4d120c1c44c4b733a6a9fd5517ec3bc95d944b8f40f0fe75bb254fdb9fd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28447468528"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.4",
      "date": "2026-06-30T13:30:10.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1940c7cc45749b0d12253554c64e4259a7dffb34",
      "fileid": "4d20cc98b41771c1267570426bef67f7f664b074d08a2b53078d482cafcf0b72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28447468528"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.4",
      "date": "2026-06-30T13:30:51.000Z",
      "arch": "emscripten",
      "commit": "1940c7cc45749b0d12253554c64e4259a7dffb34",
      "fileid": "95d6903a1549d15b5194ad58644c50c1d9860071667941826037bafacc1ae7bc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28447468528"
    }
  ]
}