{
  "_id": "6a212bd0cd65a98ecbd235c2",
  "Package": "HuraultMisc",
  "Title": "Guillem Hurault Functions' Library",
  "Version": "1.2.1.9000",
  "Authors@R": "person(given = \"Guillem\",\nfamily = \"Hurault\",\nrole = c(\"aut\", \"cre\"),\nemail = \"ghurault.dev@outlook.com\",\ncomment = c(ORCID = \"0000-0002-1052-3564\"))",
  "Description": "Contains various functions for data analysis, notably\nhelpers and diagnostics for Bayesian modelling using Stan.",
  "URL": "https://ghurault.github.io/HuraultMisc/,\nhttps://github.com/ghurault/HuraultMisc",
  "BugReports": "https://github.com/ghurault/HuraultMisc/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://ghurault.r-universe.dev",
  "Date/Publication": "2026-03-06 19:25:29 UTC",
  "RemoteUrl": "https://github.com/ghurault/huraultmisc",
  "RemoteRef": "HEAD",
  "RemoteSha": "631f04133c3434b2f531730375d7c8da8b954bcf",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 07:36:05 UTC",
    "User": "root"
  },
  "Author": "Guillem Hurault [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1052-3564>)",
  "Maintainer": "Guillem Hurault <ghurault.dev@outlook.com>",
  "MD5sum": "a867ef8a7790c8366ca6b7404cec91d5",
  "_user": "ghurault",
  "_type": "src",
  "_file": "HuraultMisc_1.2.1.9000.tar.gz",
  "_fileid": "4d3321ae30ca989898798ea15ecde7015e399aba31a182b446c7cb1f5db9ce93",
  "_filesize": 1480780,
  "_sha256": "4d3321ae30ca989898798ea15ecde7015e399aba31a182b446c7cb1f5db9ce93",
  "_created": "2026-06-04T07:36:05.000Z",
  "_published": "2026-06-04T07:40:00.837Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79471642040,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7405681802"
    },
    {
      "job": 79471642018,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405685949"
    },
    {
      "job": 79471642061,
      "time": 195,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7405680285"
    },
    {
      "job": 79471642054,
      "time": 151,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405670913"
    },
    {
      "job": 79471131052,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405629824"
    },
    {
      "job": 79471642045,
      "time": 151,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405676782"
    },
    {
      "job": 79471642043,
      "time": 139,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7405673389"
    },
    {
      "job": 79471642080,
      "time": 131,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7405671064"
    },
    {
      "job": 79471642037,
      "time": 131,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7405670288"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ghurault/actions/runs/26937633077",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ghurault/huraultmisc",
  "_commit": {
    "id": "631f04133c3434b2f531730375d7c8da8b954bcf",
    "author": "Guillem Hurault <39564817+ghurault@users.noreply.github.com>",
    "committer": "Guillem Hurault <39564817+ghurault@users.noreply.github.com>",
    "message": "Update CITATION.cff\n",
    "time": 1772825129
  },
  "_maintainer": {
    "name": "Guillem Hurault",
    "email": "ghurault.dev@outlook.com",
    "orcid": "0000-0002-1052-3564"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "HDInterval",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "ghurault",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-36",
      "n": 3
    },
    {
      "week": "2025-37",
      "n": 3
    },
    {
      "week": "2026-10",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.2.1",
      "date": "2025-09-05"
    }
  ],
  "_topics": [
    "bayesian-statistics",
    "data-analysis",
    "statistical-models"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ghurault",
      "count": 280,
      "uuid": 39564817
    }
  ],
  "_userbio": {
    "uuid": 39564817,
    "type": "user",
    "name": "Guillem Hurault",
    "description": "Data Scientist | PhD | Engineer"
  },
  "_downloads": {
    "count": 529,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/HuraultMisc"
  },
  "_devurl": "https://github.com/ghurault/huraultmisc",
  "_pkgdown": "https://ghurault.github.io/HuraultMisc/",
  "_searchresults": 19,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/HuraultMisc.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ghurault/huraultmisc",
  "_realowner": "ghurault",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1.1",
      "date": "2021-09-06"
    },
    {
      "version": "1.2.1",
      "date": "2025-09-07"
    }
  ],
  "_exports": [
    "%>%",
    "%~%",
    "approx_equal",
    "change_colnames",
    "check_model_sensitivity",
    "combine_prior_posterior",
    "compute_calibration",
    "compute_coverage",
    "compute_prior_influence",
    "compute_resolution",
    "compute_RPS",
    "compute_rsquared",
    "empirical_pval",
    "extract_ci",
    "extract_distribution",
    "extract_draws",
    "extract_index_nd",
    "extract_parameters_from_draw",
    "extract_pdf",
    "extract_pmf",
    "factor_to_numeric",
    "inv_logit",
    "is_scalar",
    "is_scalar_wholenumber",
    "is_stanfit",
    "is_wholenumber",
    "logit",
    "plot_coverage",
    "plot_prior_influence",
    "plot_prior_posterior",
    "post_pred_pval",
    "PPC_group_distribution",
    "process_replications",
    "summary_statistics"
  ],
  "_datasets": [
    {
      "name": "cbbPalette",
      "title": "A colour blind friendly palette (with black)",
      "object": "cbbPalette",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "approx_equal",
      "title": "Approximate equal",
      "topics": [
        "%~%",
        "approx_equal"
      ]
    },
    {
      "page": "cbbPalette",
      "title": "A colour blind friendly palette (with black)",
      "topics": [
        "cbbPalette"
      ]
    },
    {
      "page": "compute_calibration",
      "title": "Estimate calibration given forecasts and corresponding outcomes",
      "topics": [
        "compute_calibration"
      ]
    },
    {
      "page": "compute_resolution",
      "title": "Compute resolution of forecasts, normalised by the uncertainty",
      "topics": [
        "compute_resolution"
      ]
    },
    {
      "page": "compute_RPS",
      "title": "Compute RPS for a single forecast",
      "topics": [
        "compute_RPS"
      ]
    },
    {
      "page": "compute_rsquared",
      "title": "Compute Bayesian R-squared from matrix of posterior replications",
      "topics": [
        "compute_rsquared"
      ]
    },
    {
      "page": "coverage",
      "title": "Coverage probability",
      "topics": [
        "compute_coverage",
        "coverage",
        "plot_coverage"
      ]
    },
    {
      "page": "empirical_pval",
      "title": "Compute empirical p-values",
      "topics": [
        "empirical_pval"
      ]
    },
    {
      "page": "extract_ci",
      "title": "Extract confidence intervals from a vector of samples",
      "topics": [
        "extract_ci"
      ]
    },
    {
      "page": "extract_distribution",
      "title": "Extract a distribution represented by samples",
      "topics": [
        "extract_distribution"
      ]
    },
    {
      "page": "extract_draws",
      "title": "Extract parameters' draws",
      "topics": [
        "extract_draws"
      ]
    },
    {
      "page": "extract_index_nd",
      "title": "Extract multiple indices inside bracket(s) as a list",
      "topics": [
        "extract_index_nd"
      ]
    },
    {
      "page": "extract_pdf",
      "title": "Extract probability density function from vector of samples",
      "topics": [
        "extract_pdf"
      ]
    },
    {
      "page": "extract_pmf",
      "title": "Extract probability mass function from vector of samples",
      "topics": [
        "extract_pmf"
      ]
    },
    {
      "page": "factor_to_numeric",
      "title": "Change the type of the column of a dataframe from factor to numeric",
      "topics": [
        "factor_to_numeric"
      ]
    },
    {
      "page": "is_scalar",
      "title": "Test whether x is of length 1",
      "topics": [
        "is_scalar"
      ]
    },
    {
      "page": "is_stanfit",
      "title": "Test whether an object is of class \"stanfit\"",
      "topics": [
        "is_stanfit"
      ]
    },
    {
      "page": "is_wholenumber",
      "title": "Test whether x is a whole number",
      "topics": [
        "is_scalar_wholenumber",
        "is_wholenumber"
      ]
    },
    {
      "page": "logit",
      "title": "Logit and Inverse logit",
      "topics": [
        "inv_logit",
        "logit"
      ]
    },
    {
      "page": "post_pred_pval",
      "title": "Posterior Predictive p-value",
      "topics": [
        "post_pred_pval"
      ]
    },
    {
      "page": "PPC_group_distribution",
      "title": "Posterior Predictive Check for Stan model",
      "topics": [
        "PPC_group_distribution"
      ]
    },
    {
      "page": "prior_posterior",
      "title": "Compare prior to posterior",
      "topics": [
        "check_model_sensitivity",
        "combine_prior_posterior",
        "compute_prior_influence",
        "plot_prior_influence",
        "plot_prior_posterior",
        "prior_posterior"
      ]
    },
    {
      "page": "summary_statistics",
      "title": "Extract summary statistics",
      "topics": [
        "summary_statistics"
      ]
    }
  ],
  "_readme": "https://github.com/ghurault/huraultmisc/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "base64enc",
    "BH",
    "bslib",
    "cachem",
    "callr",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "HDInterval",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "inline",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "memoise",
    "mime",
    "nnet",
    "numDeriv",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "reshape2",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstan",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 3.45484486000851,
  "_indexed": true,
  "_nocasepkg": "huraultmisc",
  "_universes": [
    "ghurault"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1.9000",
      "date": "2026-06-04T07:38:36.000Z",
      "distro": "noble",
      "commit": "631f04133c3434b2f531730375d7c8da8b954bcf",
      "fileid": "fa4b109faab394c297081712c6b5592d99b43cfc601aec13d89bdcd8afd2a443",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/26937633077"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1.9000",
      "date": "2026-06-04T07:38:50.000Z",
      "distro": "noble",
      "commit": "631f04133c3434b2f531730375d7c8da8b954bcf",
      "fileid": "b8bb0cb04d8835a80b3e44b86810711a32482347da6de8bb943e6b1a40e40b5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/26937633077"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1.9000",
      "date": "2026-06-04T07:38:41.000Z",
      "commit": "631f04133c3434b2f531730375d7c8da8b954bcf",
      "fileid": "b7556cd14bc90ba5dd98adef8afcb57af2fd162a11eda62258d62eb705490fcb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/26937633077"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1.9000",
      "date": "2026-06-04T07:38:11.000Z",
      "commit": "631f04133c3434b2f531730375d7c8da8b954bcf",
      "fileid": "d2b2e1444863052eabb8cb1a19fa2c5ed16cb835b763999eabc712936d710150",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/26937633077"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1.9000",
      "date": "2026-06-04T07:38:57.000Z",
      "commit": "631f04133c3434b2f531730375d7c8da8b954bcf",
      "fileid": "a21d44cb31eb8cd812dbdf6d3d85f72f7da0b7934e8577fa3a575561282af09b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/26937633077"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-06-04T07:37:57.000Z",
      "commit": "631f04133c3434b2f531730375d7c8da8b954bcf",
      "fileid": "aec69a921ac1bd3a45f3f86b0c5c263be76090a80525cf5b7b56c6faad2e7c86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/26937633077"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-06-04T07:37:52.000Z",
      "commit": "631f04133c3434b2f531730375d7c8da8b954bcf",
      "fileid": "0be86848639da539d78b4890dad09400cbc9a18202784a63520d7b2eb125d8f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/26937633077"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-06-04T07:37:47.000Z",
      "commit": "631f04133c3434b2f531730375d7c8da8b954bcf",
      "fileid": "de05015d9abb37092fc428554a500f6c4c1975ce02d30bcca279ae682b001de6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/26937633077"
    }
  ]
}