{
  "_id": "6afefe215d9675f71838c2a5",
  "Package": "ngvb",
  "Type": "Package",
  "Title": "Latent Non-Gaussian Modelling with 'INLA' and Variational Bayes",
  "Version": "0.2.1",
  "Authors@R": "person(\"Rafael\", \"Cabral\", email = \"rafael.medeiros.cabral@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Diagnoses whether the latent Gaussian assumption of a\nmodel fitted with the 'INLA' package is adequate, and fits\nlatent non-Gaussian extensions that relax it. The function\nng.check() reports a Bayes-factor sensitivity diagnostic that\nsays whether, and where, the Gaussian assumption is inadequate;\nngvb() then fits the non-Gaussian model by a variational-Bayes\nloop around 'INLA', adding local flexibility only where the\ndata support it. A single unified engine implements the\nconditional precision Q(theta, V) = D(theta)^T diag(1/V)\nD(theta) and owns its normalizing constant, and a model\nregistry covers iid, random-walk, autoregressive,\nOrnstein-Uhlenbeck, intrinsic-CAR (besag),\nsimultaneous-autoregression, 'SPDE'/Matern and seasonal models.\nMethods follow Cabral, Bolin and Rue (2024)\n<doi:10.1080/01621459.2023.2296704> and Cabral, Bolin and Rue\n(2025) <doi:10.1093/jrsssb/qkae107>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Additional_repositories": "https://inla.r-inla-download.org/R/stable",
  "URL": "https://github.com/rafaelcabral-ai/ngvb,\nhttps://rafaelcabral-ai.github.io/ngvb/",
  "BugReports": "https://github.com/rafaelcabral-ai/ngvb/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "rmarkdown",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-19 13:45:13 UTC",
    "User": "root"
  },
  "Author": "Rafael Cabral [aut, cre, cph]",
  "Maintainer": "Rafael Cabral <rafael.medeiros.cabral@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-19 10:50:02 UTC",
  "RemoteUrl": "https://github.com/cran/ngvb",
  "RemoteRef": "HEAD",
  "RemoteSha": "eb5b47297ea59ebd8a9312b444cf8529827c9a4e",
  "_user": "cran",
  "_type": "src",
  "_file": "ngvb_0.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/2875d5d6afe81f8704a1d9d0030788c30c9b48374f5e1f47ef1cd7dddc12f02f",
  "_filesize": 492090,
  "_sha256": "2875d5d6afe81f8704a1d9d0030788c30c9b48374f5e1f47ef1cd7dddc12f02f",
  "_expires": "2027-02-27T13:48:16.000Z",
  "_created": "2026-11-19T13:45:13.000Z",
  "_published": "2026-11-19T13:48:17.721Z",
  "_upstream": "https://github.com/cran/ngvb",
  "_status": "success",
  "_maintainer": {
    "name": "Rafael Cabral",
    "email": "rafael.medeiros.cabral@gmail.com",
    "login": "rafaelcabral-ai",
    "linkedin": "in/rafael-medeiros-cabral",
    "description": "MTS @ Axiom Math",
    "uuid": 254837935
  },
  "_jobs": [
    {
      "job": 135603737613,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14535219460"
    },
    {
      "job": 135603737811,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14535962523"
    },
    {
      "job": 135600940246,
      "time": 287,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14536236919"
    },
    {
      "job": 135603737714,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14536027375"
    },
    {
      "job": 135603737865,
      "time": 68,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14535139978"
    },
    {
      "job": 135603737765,
      "time": 89,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14535673750"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/44535791713",
  "_commit": {
    "id": "eb5b47297ea59ebd8a9312b444cf8529827c9a4e",
    "author": "Rafael Cabral <rafael.medeiros.cabral@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.1\n",
    "time": 1795085402
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "codetools",
      "role": "Imports"
    },
    {
      "package": "GIGrvg",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "INLA",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "fmesher",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "spData",
      "role": "Suggests"
    },
    {
      "package": "spdep",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "bslib",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.1",
      "date": "2026-11-19"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rafaelcabral-ai",
      "count": 1,
      "uuid": 254837935
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 637,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ngvb"
  },
  "_devurl": "https://github.com/rafaelcabral-ai/ngvb",
  "_pkgdown": "https://rafaelcabral-ai.github.io/ngvb/",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/ngvb.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.1",
      "date": "2026-11-19"
    }
  ],
  "_exports": [
    "areal.plot",
    "bayes.factor",
    "geo.plot",
    "ng.check",
    "ngvb",
    "ngvb_custom",
    "ngvb_operator",
    "ngvb_precision",
    "ngvb_rgeneric",
    "ngvb_sample"
  ],
  "_datasets": [
    {
      "name": "jumpts",
      "title": "Simulated time series with two jumps",
      "object": "jumpts",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "y"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "Orthodont",
      "title": "Orthodontic growth data",
      "object": "Orthodont",
      "class": [
        "data.frame"
      ],
      "fields": [
        "subject",
        "Female",
        "time",
        "value",
        "tF",
        "subject2"
      ],
      "rows": 108,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "areal.plot",
      "title": "Plot areal (regional) data on a map.",
      "topics": [
        "areal.plot"
      ]
    },
    {
      "page": "bayes.factor",
      "title": "Bayes factor of a latent non-Gaussian model against its Gaussian counterpart.",
      "topics": [
        "bayes.factor",
        "bayes.factor.ngvb",
        "bayes.factor.ngvb.samples"
      ]
    },
    {
      "page": "density.ngvb",
      "title": "Posterior density of a component's non-Gaussianity parameter eta.",
      "topics": [
        "density.ngvb"
      ]
    },
    {
      "page": "fitted.ngvb",
      "title": "Fitted values of the underlying INLA fit.",
      "topics": [
        "fitted.ngvb"
      ]
    },
    {
      "page": "geo.plot",
      "title": "Plot geostatistical (point-referenced) data, optionally over a mesh.",
      "topics": [
        "geo.plot"
      ]
    },
    {
      "page": "jumpts",
      "title": "Simulated time series with two jumps",
      "topics": [
        "jumpts"
      ]
    },
    {
      "page": "ng.check",
      "title": "Check the latent Gaussian assumption of an INLA fit.",
      "topics": [
        "ng.check"
      ]
    },
    {
      "page": "ngvb",
      "title": "Fit a latent non-Gaussian model from a fitted INLA (LGM) object.",
      "topics": [
        "ngvb"
      ]
    },
    {
      "page": "ngvb_custom",
      "title": "Define a custom latent non-Gaussian model from a precision \"square root\".",
      "topics": [
        "ngvb_custom"
      ]
    },
    {
      "page": "ngvb_operator",
      "title": "Construct an ngvb operator descriptor.",
      "topics": [
        "ngvb_operator"
      ]
    },
    {
      "page": "ngvb_precision",
      "title": "Conditional precision matrix Q(theta, V) for an operator (main-process helper).",
      "topics": [
        "ngvb_precision"
      ]
    },
    {
      "page": "ngvb_rgeneric",
      "title": "Build an INLA rgeneric model for an ngvb operator at a fixed V.",
      "topics": [
        "ngvb_rgeneric"
      ]
    },
    {
      "page": "ngvb_sample",
      "title": "Sample the mixing variables and refit INLA at each draw.",
      "topics": [
        "ngvb_sample"
      ]
    },
    {
      "page": "Orthodont",
      "title": "Orthodontic growth data",
      "topics": [
        "Orthodont"
      ]
    },
    {
      "page": "plot.ngvb",
      "title": "Diagnostic plots for an ngvb fit.",
      "topics": [
        "plot.ngvb"
      ]
    },
    {
      "page": "plot.ngvb.check",
      "title": "Diagnostic plots for a latent-Gaussianity check.",
      "topics": [
        "plot.ngvb.check"
      ]
    },
    {
      "page": "summary.ngvb",
      "title": "Summary of an ngvb fit: the underlying INLA summaries plus, per component, the non-Gaussianity parameter and the most strongly down-weighted (outlying) indices.",
      "topics": [
        "summary.ngvb"
      ]
    },
    {
      "page": "summary.ngvb.samples",
      "title": "Importance-weighted posterior summary of the sampled fits.",
      "topics": [
        "summary.ngvb.samples"
      ]
    }
  ],
  "_readme": "https://github.com/cran/ngvb/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "farver",
    "ggplot2",
    "GIGrvg",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "patchwork",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "ngvb_pkg.Rmd",
      "filename": "ngvb_pkg.html",
      "title": "ngvb: latent non-Gaussian models with R-INLA",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Vignettes",
        "Installing INLA",
        "References"
      ],
      "created": "2026-11-19 10:50:02",
      "modified": "2026-11-19 10:50:02",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "ngvb",
  "_universes": [
    "cran",
    "rafaelcabral-ai"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-11-19T13:47:22.000Z",
      "distro": "resolute",
      "commit": "eb5b47297ea59ebd8a9312b444cf8529827c9a4e",
      "fileid": "https://r2.ropensci.org/e2a443be8195ef5d75975da0b6eeedb1d57b3c12c22fff9b5465798575cc4419",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44535791713"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-11-19T13:47:24.000Z",
      "distro": "resolute",
      "commit": "eb5b47297ea59ebd8a9312b444cf8529827c9a4e",
      "fileid": "https://r2.ropensci.org/163fbf8f4f9d65dd8ed4698a8e14e8273310051d5481a9d06d88081cc1a66b9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44535791713"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-11-19T13:47:25.000Z",
      "commit": "eb5b47297ea59ebd8a9312b444cf8529827c9a4e",
      "fileid": "https://r2.ropensci.org/22c97fbc4b5b94f75e3311711468011495a9aa533e02d9062302bc899677fc3a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44535791713"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-11-19T13:46:18.000Z",
      "commit": "eb5b47297ea59ebd8a9312b444cf8529827c9a4e",
      "fileid": "https://r2.ropensci.org/55083b8983cff6d3ab89a075556a91c807e8a19a1d4e8d4736e7b8198316e52f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44535791713"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-11-19T13:46:32.000Z",
      "commit": "eb5b47297ea59ebd8a9312b444cf8529827c9a4e",
      "fileid": "https://r2.ropensci.org/a9aca94ead7f3200c4b61ecae81906dcdad39c6b72850e8b2be95827642804db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44535791713"
    }
  ]
}