{
  "_id": "6a2acbc87b7a29ca600542de",
  "Type": "Package",
  "Package": "INLAvaan",
  "Title": "Approximate Bayesian Latent Variable Analysis",
  "Version": "0.2.5",
  "Authors@R": "c(\nperson(\"Haziq\", \"Jamil\", , \"haziq.jamil@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-3298-1010\")),\nperson(\"Håvard\", \"Rue\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0002-0222-1881\", \"Statistical and computational methodology\")),\nperson(\"Alvin\", \"Bong\", role = \"ctb\",\ncomment = \"Initial site build\")\n)",
  "Description": "Implements approximate Bayesian inference for Structural\nEquation Models (SEM) using a custom adaptation of the\nIntegrated Nested Laplace Approximation (Rue et al., 2009)\n<doi:10.1111/j.1467-9868.2008.00700.x> as described in Jamil\nand Rue (2026a) <doi:10.48550/arXiv.2603.25690>. Provides a\ncomputationally efficient alternative to Markov Chain Monte\nCarlo (MCMC) for Bayesian estimation, allowing users to fit\nlatent variable models using the 'lavaan' syntax. See also the\ncompanion paper on implementation and workflows, Jamil and Rue\n(2026b) <doi:10.48550/arXiv.2604.00671>.",
  "License": "GPL (>= 3)",
  "URL": "https://inlavaan.haziqj.ml/, https://github.com/haziqj/INLAvaan",
  "BugReports": "https://github.com/haziqj/INLAvaan/issues",
  "VignetteBuilder": "quarto",
  "Config/Needs/website": "rmarkdown",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-11 14:48:04 UTC",
    "User": "root"
  },
  "Author": "Haziq Jamil [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-3298-1010>), Håvard Rue [ctb]\n(ORCID: <https://orcid.org/0000-0002-0222-1881>, Statistical\nand computational methodology), Alvin Bong [ctb] (Initial site\nbuild)",
  "Maintainer": "Haziq Jamil <haziq.jamil@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-11 11:51:46 UTC",
  "RemoteUrl": "https://github.com/cran/INLAvaan",
  "RemoteRef": "HEAD",
  "RemoteSha": "348f3d0417491d09493939cf06afa5a9cc42d413",
  "MD5sum": "3cdc47be16a58946a5b089ae083f9c45",
  "_user": "cran",
  "_type": "src",
  "_file": "INLAvaan_0.2.5.tar.gz",
  "_fileid": "e0da2ddde9a6ecab7c651b72afc39bed347faf9b6fbfd533cf3cbc3ee306b787",
  "_filesize": 1393852,
  "_sha256": "e0da2ddde9a6ecab7c651b72afc39bed347faf9b6fbfd533cf3cbc3ee306b787",
  "_created": "2026-06-11T14:48:04.000Z",
  "_published": "2026-06-11T14:52:56.046Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80828223229,
      "time": 248,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7567960064"
    },
    {
      "job": 80828223213,
      "time": 242,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7567957077"
    },
    {
      "job": 80827292275,
      "time": 233,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7567848083"
    },
    {
      "job": 80828223225,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7567915457"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27355118229",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/INLAvaan",
  "_commit": {
    "id": "348f3d0417491d09493939cf06afa5a9cc42d413",
    "author": "Haziq Jamil <haziq.jamil@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.5\n",
    "time": 1781178706
  },
  "_maintainer": {
    "name": "Haziq Jamil",
    "email": "haziq.jamil@gmail.com",
    "login": "haziqj",
    "orcid": "0000-0003-3298-1010",
    "description": "Researcher at BAYESCOMP, KAUST. On leave from Assistant Professorship at UBD.",
    "uuid": 16189362
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "lavaan",
      "version": ">= 0.6-19",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "blavaan",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "numDeriv",
      "role": "Suggests"
    },
    {
      "package": "qrng",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "sn",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "ucminf",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.2",
      "date": "2026-01-27"
    },
    {
      "name": "0.2.3",
      "date": "2026-01-28"
    },
    {
      "name": "0.2.4",
      "date": "2026-04-03"
    },
    {
      "name": "0.2.5",
      "date": "2026-06-11"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "haziqj",
      "count": 4,
      "uuid": 16189362
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 204,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/INLAvaan"
  },
  "_devurl": "https://github.com/haziqj/inlavaan",
  "_pkgdown": "https://inlavaan.haziqj.ml/",
  "_searchresults": 19,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/INLAvaan.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/haziqj/inlavaan",
  "_realowner": "haziqj",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.2",
      "date": "2026-01-27"
    },
    {
      "version": "0.2.3",
      "date": "2026-01-28"
    },
    {
      "version": "0.2.4",
      "date": "2026-04-03"
    },
    {
      "version": "0.2.5",
      "date": "2026-06-11"
    }
  ],
  "_exports": [
    "acfa",
    "agrowth",
    "as_fun_string",
    "asem",
    "bfit_indices",
    "coef",
    "compare",
    "dbeta_box",
    "diagnostics",
    "dsnorm",
    "fit_skew_normal",
    "fit_skew_normal_samp",
    "fitmeasures",
    "fitMeasures",
    "get_inlavaan_internal",
    "inlavaan",
    "is_same_function",
    "nobs",
    "plot",
    "predict",
    "priors_for",
    "qsnorm_fast",
    "sampling",
    "show",
    "simulate",
    "standardisedsolution",
    "standardisedSolution",
    "standardizedsolution",
    "standardizedSolution",
    "summary",
    "timing",
    "vcov"
  ],
  "_help": [
    {
      "page": "acfa",
      "title": "Fit an Approximate Bayesian Confirmatory Factor Analysis Model",
      "topics": [
        "acfa"
      ]
    },
    {
      "page": "agrowth",
      "title": "Fit an Approximate Bayesian Growth Curve Model",
      "topics": [
        "agrowth"
      ]
    },
    {
      "page": "as_fun_string",
      "title": "Convert function to single string",
      "topics": [
        "as_fun_string"
      ]
    },
    {
      "page": "asem",
      "title": "Fit an Approximate Bayesian Structural Equation Model",
      "topics": [
        "asem"
      ]
    },
    {
      "page": "bfit_indices",
      "title": "Bayesian Fit Indices",
      "topics": [
        "bfit_indices",
        "print.bfit_indices",
        "summary.bfit_indices"
      ]
    },
    {
      "page": "compare",
      "title": "Compare Bayesian Models Fitted with INLAvaan",
      "topics": [
        "compare",
        "compare,INLAvaan-method"
      ]
    },
    {
      "page": "dbeta_box",
      "title": "Density of a Beta distribution on a bounded interval",
      "topics": [
        "dbeta_box"
      ]
    },
    {
      "page": "diagnostics",
      "title": "Convergence and Approximation Diagnostics for INLAvaan Models",
      "topics": [
        "diagnostics",
        "diagnostics,INLAvaan-method"
      ]
    },
    {
      "page": "dsnorm",
      "title": "The Skew Normal Distribution",
      "topics": [
        "dsnorm"
      ]
    },
    {
      "page": "fit_skew_normal",
      "title": "Fit a skew normal distribution to log-density evaluations",
      "topics": [
        "fit_skew_normal"
      ]
    },
    {
      "page": "fit_skew_normal_samp",
      "title": "Fit a skew normal distribution to a sample",
      "topics": [
        "fit_skew_normal_samp"
      ]
    },
    {
      "page": "fitmeasures",
      "title": "Fit Measures for a Latent Variable Model estimated using INLA",
      "topics": [
        "fitmeasures",
        "fitMeasures,INLAvaan-method",
        "fitmeasures,INLAvaan-method"
      ]
    },
    {
      "page": "get_inlavaan_internal",
      "title": "Extract the Internal INLAvaan Object",
      "topics": [
        "get_inlavaan_internal"
      ]
    },
    {
      "page": "inlavaan",
      "title": "Fit an Approximate Bayesian Latent Variable Model",
      "topics": [
        "inlavaan"
      ]
    },
    {
      "page": "INLAvaan-class",
      "title": "Class For Representing a (Fitted) Latent Variable Model",
      "topics": [
        "coef",
        "coef,INLAvaan-method",
        "INLAvaan-class",
        "nobs",
        "nobs,INLAvaan-method",
        "show",
        "show,INLAvaan-method",
        "summary",
        "summary,INLAvaan-method"
      ]
    },
    {
      "page": "is_same_function",
      "title": "Helper function to check if two functions are the same",
      "topics": [
        "is_same_function"
      ]
    },
    {
      "page": "plot",
      "title": "Plot an INLAvaan Object",
      "topics": [
        "plot",
        "plot,INLAvaan,ANY-method"
      ]
    },
    {
      "page": "predict",
      "title": "Posterior Predictions for INLAvaan Models",
      "topics": [
        "predict",
        "predict,INLAvaan-method"
      ]
    },
    {
      "page": "priors_for",
      "title": "Specify priors for a SEM",
      "topics": [
        "priors_for"
      ]
    },
    {
      "page": "qsnorm_fast",
      "title": "Fast Approximation of Skew-Normal Quantile Function",
      "topics": [
        "qsnorm_fast"
      ]
    },
    {
      "page": "sampling",
      "title": "Draw Samples from the Generative Model",
      "topics": [
        "sampling",
        "sampling,INLAvaan-method"
      ]
    },
    {
      "page": "simulate",
      "title": "Simulate Datasets from the Generative Model",
      "topics": [
        "simulate",
        "simulate,INLAvaan-method"
      ]
    },
    {
      "page": "standardisedsolution",
      "title": "Standardised solution of a latent variable model",
      "topics": [
        "standardisedSolution",
        "standardisedsolution",
        "standardizedSolution",
        "standardizedsolution"
      ]
    },
    {
      "page": "timing",
      "title": "Timing Information for INLAvaan Models",
      "topics": [
        "timing",
        "timing,INLAvaan-method"
      ]
    },
    {
      "page": "vcov",
      "title": "Variance-Covariance Matrix for INLAvaan Models",
      "topics": [
        "vcov",
        "vcov,INLAvaan-method"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/INLAvaan/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/INLAvaan/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "lavaan",
    "MASS",
    "mnormt",
    "numDeriv",
    "pbivnorm",
    "quadprog"
  ],
  "_vignettes": [
    {
      "source": "INLAvaan.qmd",
      "filename": "INLAvaan.html",
      "title": "Introduction to INLAvaan",
      "engine": "quarto::html",
      "headings": [
        "Introduction",
        "Motivating example",
        "Data",
        "Model fit",
        "Methods",
        "Predictions",
        "Diagnostics",
        "Plot",
        "Model comparison",
        "Setting priors",
        "Dependency on R-INLA",
        "References"
      ],
      "created": "2026-01-27 09:30:02",
      "modified": "2026-04-03 03:30:21",
      "commits": 2
    },
    {
      "source": "mediation.qmd",
      "filename": "mediation.html",
      "title": "Mediation Analysis",
      "engine": "quarto::html",
      "headings": [
        "Data Simulation",
        "Model Specification and Fit",
        "Results",
        "References"
      ],
      "created": "2026-01-27 09:30:02",
      "modified": "2026-04-03 03:30:21",
      "commits": 3
    }
  ],
  "_score": 3.7558748556724915,
  "_indexed": false,
  "_nocasepkg": "inlavaan",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://haziqj.r-universe.dev/INLAvaan",
  "_previous": "0.2.4",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.5",
      "date": "2026-06-11T14:50:57.000Z",
      "distro": "noble",
      "commit": "348f3d0417491d09493939cf06afa5a9cc42d413",
      "fileid": "b94b169e3c09a5462aa6cce2904b1e3d630556cf85a40c5aeae04cda3f4d6d0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27355118229"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.5",
      "date": "2026-06-11T14:51:01.000Z",
      "distro": "noble",
      "commit": "348f3d0417491d09493939cf06afa5a9cc42d413",
      "fileid": "9f3c7c65bb03c091e9e7ec32409d66d889d0c3912057e5ab3f6620ceb1ad5b98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27355118229"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.5",
      "date": "2026-06-11T14:50:52.000Z",
      "commit": "348f3d0417491d09493939cf06afa5a9cc42d413",
      "fileid": "9fb8c92e339d522d456d0f63e4fed363a98a927d88b56a01d270229b60c4942c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27355118229"
    }
  ]
}