{
  "_id": "6abe60eb99f7aa8c6aa560b6",
  "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-09-01 20:39:34 UTC",
  "RemoteUrl": "https://github.com/ghurault/huraultmisc",
  "RemoteRef": "HEAD",
  "RemoteSha": "5941bfcb0310bec1100912f5f7795ce2349f7ee9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-01 13:09:07 UTC",
    "User": "root"
  },
  "Author": "Guillem Hurault [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1052-3564>)",
  "Maintainer": "Guillem Hurault <ghurault.dev@outlook.com>",
  "_user": "ghurault",
  "_type": "src",
  "_file": "HuraultMisc_1.2.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/8d61762f2a584d0d2abe4b7904e3cc135351ba3ce48607edf504d0d64b70ad71",
  "_filesize": 1481835,
  "_sha256": "8d61762f2a584d0d2abe4b7904e3cc135351ba3ce48607edf504d0d64b70ad71",
  "_expires": "2027-01-09T13:32:24.000Z",
  "_created": "2026-10-01T13:09:07.000Z",
  "_published": "2026-10-01T13:32:27.252Z",
  "_jobs": [
    {
      "job": 110383652216,
      "time": 196,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11164027520"
    },
    {
      "job": 110383652186,
      "time": 196,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11163987430"
    },
    {
      "job": 110383652285,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11166866137"
    },
    {
      "job": 110383652035,
      "time": 164,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11165437344"
    },
    {
      "job": 110382057535,
      "time": 270,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11163887221"
    },
    {
      "job": 110383652109,
      "time": 171,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11163842292"
    },
    {
      "job": 110383652110,
      "time": 169,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11164062229"
    },
    {
      "job": 110383652150,
      "time": 217,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11163892756"
    },
    {
      "job": 110383652084,
      "time": 123,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11164272305"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ghurault/actions/runs/36866126737",
  "_status": "success",
  "_upstream": "https://github.com/ghurault/huraultmisc",
  "_commit": {
    "id": "5941bfcb0310bec1100912f5f7795ce2349f7ee9",
    "author": "Guillem Hurault <39564817+ghurault@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #17 from ghurault/ghurault-patch-1\n\ndocs: remove Google Analytics script",
    "time": 1788295174
  },
  "_maintainer": {
    "name": "Guillem Hurault",
    "email": "ghurault.dev@outlook.com",
    "orcid": "0000-0002-1052-3564"
  },
  "_distro": "resolute",
  "_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": "2026-10",
      "n": 1
    },
    {
      "week": "2026-36",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "bayesian-statistics",
    "data-analysis",
    "statistical-models"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ghurault",
      "count": 282,
      "uuid": 39564817
    }
  ],
  "_userbio": {
    "uuid": 39564817,
    "type": "user",
    "name": "Guillem Hurault",
    "followers": 15,
    "description": "Data Scientist | PhD | Engineer"
  },
  "_downloads": {
    "count": 437,
    "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.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/HuraultMisc.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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",
    "otel",
    "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.278753600952829,
  "_indexed": true,
  "_nocasepkg": "huraultmisc",
  "_universes": [
    "ghurault"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1.9000",
      "date": "2026-10-01T13:12:07.000Z",
      "distro": "resolute",
      "commit": "5941bfcb0310bec1100912f5f7795ce2349f7ee9",
      "fileid": "https://r2.ropensci.org/b54420eabe1011ca535931bf4fa517bd11b0ee018c6574fe160adc9fb1083a80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/36866126737"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.1.9000",
      "date": "2026-10-01T13:12:06.000Z",
      "distro": "resolute",
      "commit": "5941bfcb0310bec1100912f5f7795ce2349f7ee9",
      "fileid": "https://r2.ropensci.org/f8f43d0f9ab355bf5c332b660aa8f9e45a3cec144117097b0e9a9c7c4191cdad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/36866126737"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1.9000",
      "date": "2026-10-01T13:30:51.000Z",
      "commit": "5941bfcb0310bec1100912f5f7795ce2349f7ee9",
      "fileid": "https://r2.ropensci.org/86a80298b274ad681d3f14e89e11e04999cf73c4e73cf2f6204049e902313c2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/36866126737"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.1.9000",
      "date": "2026-10-01T13:29:57.000Z",
      "commit": "5941bfcb0310bec1100912f5f7795ce2349f7ee9",
      "fileid": "https://r2.ropensci.org/64f222967123b88d4706f9c719ed327100d958ba6a33961e4e84d7fa109b722f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/36866126737"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1.9000",
      "date": "2026-10-01T13:12:19.000Z",
      "commit": "5941bfcb0310bec1100912f5f7795ce2349f7ee9",
      "fileid": "https://r2.ropensci.org/ac80cbce205d41a013432f8d0823719860bb2ac32bba4e72db3d9099e920e86e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/36866126737"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-10-01T13:11:45.000Z",
      "commit": "5941bfcb0310bec1100912f5f7795ce2349f7ee9",
      "fileid": "https://r2.ropensci.org/d5263236a70853e1932bf5b2be0e9211ad5e0f33d50353015a8a7fadc3d5f60d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/36866126737"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-10-01T13:12:31.000Z",
      "commit": "5941bfcb0310bec1100912f5f7795ce2349f7ee9",
      "fileid": "https://r2.ropensci.org/bc15767871cec30776fff53640158f20878f85ac92062ad3d3739e7100e98905",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/36866126737"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-10-01T13:10:45.000Z",
      "commit": "5941bfcb0310bec1100912f5f7795ce2349f7ee9",
      "fileid": "https://r2.ropensci.org/eeeab3b5cd5c730772dc467be9b86ce44cd8f9785c49351fe5cc075bb5e99f27",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ghurault/actions/runs/36866126737"
    }
  ]
}