{
  "_id": "6a47994ee06c18f0a65181c6",
  "Package": "dirinla",
  "Type": "Package",
  "Title": "Hierarchical Bayesian Dirichlet regression models using\nIntegrated Nested Laplace Approximation",
  "Version": "1.0.5.9001",
  "Authors@R": "c(\nperson(\"Joaquín Martínez-Minaya\", email = \"jomarminaya@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-1016-8734\")),\nperson(\"Finn Lindgren\", email = \"Finn.Lindgren@ed.ac.uk\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-5833-2011\"))\n)",
  "Description": "The R-package dirinla allows the user to fit models in the\ncompositional data context. In particular, it allows fit\nDirichlet regression models using the Integrated Nested Laplace\nApproximation (INLA) methodology.",
  "License": "GPL-2",
  "Additional_repositories": "https://inla.r-inla-download.org/R/testing",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "URL": "https://inlabru-org.github.io/dirinla/",
  "BugReports": "https://github.com/inlabru-org/dirinla/issues",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://inlabru-org.r-universe.dev",
  "Date/Publication": "2026-06-03 21:21:40 UTC",
  "RemoteUrl": "https://github.com/inlabru-org/dirinla",
  "RemoteRef": "HEAD",
  "RemoteSha": "db1b64eab3e09ae51e8feec76ca51bf84d8060fc",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-03 09:15:16 UTC",
    "User": "root"
  },
  "Author": "Joaquín Martínez-Minaya [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1016-8734>),\nFinn Lindgren [aut] (ORCID: <https://orcid.org/0000-0002-5833-2011>)",
  "Maintainer": "Joaquín Martínez-Minaya <jomarminaya@gmail.com>",
  "_user": "inlabru-org",
  "_type": "src",
  "_file": "dirinla_1.0.5.9001.tar.gz",
  "_fileid": "https://r2.ropensci.org/766946ed7da556f8ab4b3ada311ee005fb4e4a8aa56efb41ca477f1237b99b82",
  "_filesize": 187465,
  "_sha256": "766946ed7da556f8ab4b3ada311ee005fb4e4a8aa56efb41ca477f1237b99b82",
  "_expires": "2026-10-11T11:13:18.000Z",
  "_created": "2026-07-03T09:15:16.000Z",
  "_published": "2026-07-03T11:13:18.950Z",
  "_jobs": [
    {
      "job": 84987965504,
      "time": 202,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8062667497"
    },
    {
      "job": 84987965644,
      "time": 235,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8062679504"
    },
    {
      "job": 84987965540,
      "time": 154,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8062649843"
    },
    {
      "job": 84987965217,
      "time": 162,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8062653149"
    },
    {
      "job": 84987964969,
      "time": 292,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8062592101"
    },
    {
      "job": 84987965239,
      "time": 212,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8062670865"
    },
    {
      "job": 84987965656,
      "time": 141,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8062645161"
    },
    {
      "job": 84987965494,
      "time": 196,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8062665259"
    },
    {
      "job": 84987965595,
      "time": 148,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8062648055"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/inlabru-org/actions/runs/28650612622",
  "_status": "success",
  "_upstream": "https://github.com/inlabru-org/dirinla",
  "_commit": {
    "id": "db1b64eab3e09ae51e8feec76ca51bf84d8060fc",
    "author": "Finn Lindgren <Finn.Lindgren@gmail.com>",
    "committer": "Finn Lindgren <Finn.Lindgren@gmail.com>",
    "message": "Typo fix\n",
    "time": 1780521700
  },
  "_maintainer": {
    "name": "Joaquín Martínez-Minaya",
    "email": "jomarminaya@gmail.com",
    "login": "jmartinez-minaya",
    "orcid": "0000-0002-1016-8734",
    "description": "",
    "uuid": 12198227
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Rfast",
      "role": "Imports"
    },
    {
      "package": "Rfast2",
      "role": "Imports"
    },
    {
      "package": "ggtern",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "DirichletReg",
      "role": "Suggests"
    },
    {
      "package": "INLA",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "utils",
      "role": "Suggests"
    },
    {
      "package": "sn",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    }
  ],
  "_owner": "inlabru-org",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "jmartinez-minaya",
      "count": 147,
      "uuid": 12198227
    },
    {
      "user": "finnlindgren",
      "count": 48,
      "uuid": 7162803
    }
  ],
  "_userbio": {
    "uuid": 76439976,
    "type": "organization",
    "name": "inlabru development organization",
    "followers": 13
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dirinla"
  },
  "_devurl": "https://github.com/inlabru-org/dirinla",
  "_pkgdown": "https://inlabru-org.github.io/dirinla/",
  "_searchresults": 13,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dirinla.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "data_stack_dirich",
    "data_stack_dirich_formula",
    "dirichlet_log_pos_x",
    "dirinla_safe_inla",
    "dirinlareg",
    "dirinlaregmodel",
    "extract_fixed",
    "extract_linear_predictor",
    "formula_list",
    "summary_fast"
  ],
  "_help": [
    {
      "page": "dirinla-package",
      "title": "dirinla",
      "topics": [
        "dirinla-package",
        "dirinla"
      ]
    },
    {
      "page": "bdiag_m",
      "title": "Block diagonal matrix creation",
      "topics": [
        "bdiag_m"
      ]
    },
    {
      "page": "data_stack_dirich",
      "title": "Preparing the data",
      "topics": [
        "data_stack_dirich"
      ]
    },
    {
      "page": "data_stack_dirich_formula",
      "title": "Preparing the data",
      "topics": [
        "data_stack_dirich_formula"
      ]
    },
    {
      "page": "digamma_red",
      "title": "Computing the function digamma",
      "topics": [
        "digamma_red"
      ]
    },
    {
      "page": "dirichlet_log_pos_x",
      "title": "Dirichlet log posterior function",
      "topics": [
        "dirichlet_log_pos_x"
      ]
    },
    {
      "page": "dirinlareg",
      "title": "Fitting a Dirichlet regression",
      "topics": [
        "dirinlareg"
      ]
    },
    {
      "page": "dirinlaregmodel",
      "title": "Defining a new class",
      "topics": [
        "dirinlaregmodel"
      ]
    },
    {
      "page": "extract_fixed",
      "title": "Extracting marginals fixed of an inla object",
      "topics": [
        "extract_fixed"
      ]
    },
    {
      "page": "extract_linear_predictor",
      "title": "Extracting posterior distributions from the linear predictor",
      "topics": [
        "extract_linear_predictor"
      ]
    },
    {
      "page": "formula_list",
      "title": "Formula in to list",
      "topics": [
        "formula_list"
      ]
    },
    {
      "page": "g0_vector_eta_1",
      "title": "Computing gradient vector in eta",
      "topics": [
        "g0_vector_eta_1"
      ]
    },
    {
      "page": "H_matrix_eta_diag",
      "title": "Computing additional diagonal part for the real Hessian H = H0 + diag",
      "topics": [
        "H_matrix_eta_diag"
      ]
    },
    {
      "page": "H0_matrix_eta_x",
      "title": "Computing expected Hessian in eta",
      "topics": [
        "H0_matrix_eta_x"
      ]
    },
    {
      "page": "H0_matrix_eta1",
      "title": "Computing expected Hessian for a vector eta",
      "topics": [
        "H0_matrix_eta1"
      ]
    },
    {
      "page": "log_beta_mult_eta",
      "title": "Calculating the log beta function in eta",
      "topics": [
        "log_beta_mult_eta"
      ]
    },
    {
      "page": "look_for_mode_x",
      "title": "Finding the mode of the full posterior distribution",
      "topics": [
        "look_for_mode_x"
      ]
    },
    {
      "page": "newton_x",
      "title": "Newton-Raphson algorithm",
      "topics": [
        "newton_x"
      ]
    },
    {
      "page": "plot.dirinlaregmodel",
      "title": "plot of dirinlaregmodel xs",
      "topics": [
        "plot.dirinlaregmodel"
      ]
    },
    {
      "page": "predict.dirinlaregmodel",
      "title": "Finding the mode of the full posterior distribution",
      "topics": [
        "predict.dirinlaregmodel"
      ]
    },
    {
      "page": "summary_fast",
      "title": "Summary using the packages Rfast and Rfast2 of a matrix by rows",
      "topics": [
        "summary_fast"
      ]
    },
    {
      "page": "summary.dirinlaregmodel",
      "title": "Summary of dirinlaregmodel objects",
      "topics": [
        "summary.dirinlaregmodel"
      ]
    },
    {
      "page": "trigamma_red",
      "title": "Computing the function trigamma",
      "topics": [
        "trigamma_red"
      ]
    }
  ],
  "_readme": "https://github.com/inlabru-org/dirinla/raw/HEAD/README.md",
  "_rundeps": [
    "bayesm",
    "BH",
    "cli",
    "compositions",
    "cpp11",
    "DEoptimR",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "ggtern",
    "glue",
    "gridExtra",
    "gtable",
    "hexbin",
    "isoband",
    "labeling",
    "latex2exp",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "pillar",
    "pkgconfig",
    "plyr",
    "proto",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "Rfast",
    "Rfast2",
    "rlang",
    "Rnanoflann",
    "robustbase",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zigg"
  ],
  "_vignettes": [
    {
      "source": "articles.Rmd",
      "filename": "articles.html",
      "title": "Articles list",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Package examples",
        "Package vignettes"
      ],
      "created": "2024-11-15 11:17:53",
      "modified": "2024-11-15 11:17:53",
      "commits": 1
    }
  ],
  "_score": 3.5118833609788744,
  "_indexed": true,
  "_nocasepkg": "dirinla",
  "_universes": [
    "inlabru-org",
    "jmartinez-minaya"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5.9001",
      "date": "2026-07-03T09:18:16.000Z",
      "distro": "resolute",
      "commit": "db1b64eab3e09ae51e8feec76ca51bf84d8060fc",
      "fileid": "https://r2.ropensci.org/36bcba6e58e33ddbe3d0efed27a98e168142f08d53081873bc127b9835d6622f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inlabru-org/actions/runs/28650612622"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.5.9001",
      "date": "2026-07-03T09:18:42.000Z",
      "distro": "resolute",
      "commit": "db1b64eab3e09ae51e8feec76ca51bf84d8060fc",
      "fileid": "https://r2.ropensci.org/e72801a02c6e1152e3944d73b846b3d31a740b2232b8ff37af8ed9e1dc33f3b0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inlabru-org/actions/runs/28650612622"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5.9001",
      "date": "2026-07-03T09:17:23.000Z",
      "commit": "db1b64eab3e09ae51e8feec76ca51bf84d8060fc",
      "fileid": "https://r2.ropensci.org/d0aaf1e7d5a062fcb38e2684d4d97a2e14e282b2802165018f941106975b1f06",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inlabru-org/actions/runs/28650612622"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.5.9001",
      "date": "2026-07-03T09:17:38.000Z",
      "commit": "db1b64eab3e09ae51e8feec76ca51bf84d8060fc",
      "fileid": "https://r2.ropensci.org/03a01e1b20b32e4432e51632843e51f79e59502f2a4c052980e69402523e4e0d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inlabru-org/actions/runs/28650612622"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5.9001",
      "date": "2026-07-03T09:19:12.000Z",
      "commit": "db1b64eab3e09ae51e8feec76ca51bf84d8060fc",
      "fileid": "https://r2.ropensci.org/3e6041c8fb18594797757f9f8cba1f02eb6c70f75cf487f9cb5b770240f91c9e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/inlabru-org/actions/runs/28650612622"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5.9001",
      "date": "2026-07-03T09:17:07.000Z",
      "commit": "db1b64eab3e09ae51e8feec76ca51bf84d8060fc",
      "fileid": "https://r2.ropensci.org/67cf4b6bae6c79576e08606c261d8c4d53906b7bab200fbf1b41446646e5f259",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inlabru-org/actions/runs/28650612622"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5.9001",
      "date": "2026-07-03T09:18:06.000Z",
      "commit": "db1b64eab3e09ae51e8feec76ca51bf84d8060fc",
      "fileid": "https://r2.ropensci.org/8171ca096f3e1609d8d3e358d571ebb0ff939b7b97602c207f0810ec86138704",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inlabru-org/actions/runs/28650612622"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.5.9001",
      "date": "2026-07-03T09:17:10.000Z",
      "commit": "db1b64eab3e09ae51e8feec76ca51bf84d8060fc",
      "fileid": "https://r2.ropensci.org/d8151c49452059d4cd97c01a46b490b5663d5b35dd71b9f52ded3b1e78ce3135",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/inlabru-org/actions/runs/28650612622"
    }
  ]
}