{
  "_id": "6a4e0ed0e691af43f13dfca0",
  "Package": "lavacreg",
  "Type": "Package",
  "Title": "Latent Variable Count Regression Models",
  "Version": "0.2-3-9011",
  "Date": "2026-06-05",
  "Authors@R": "c(person(\"Christoph\", \"Kiefer\", \nemail = \"christoph.kiefer@uni-bielefeld.de\",\nrole = c(\"cre\", \"aut\"),\ncomment = c(ORCID = \"0000-0002-9166-400X\")))",
  "Description": "Estimation of a multi-group count regression models (i.e.,\nPoisson, negative binomial) with latent covariates. This\npackages provides two extensions compared to ordinary count\nregression models based on a generalized linear model: First,\nmeasurement models for the predictors can be specified allowing\nto account for measurement error. Second, the count regression\ncan be simultaneously estimated in multiple groups with\nstochastic group weights. The marginal maximum likelihood\nestimation is described in Kiefer & Mayer (2020)\n<doi:10.1080/00273171.2020.1751027>.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/chkiefer/lavacreg",
  "BugReports": "https://github.com/chkiefer/lavacreg/issues",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Repository": "https://chkiefer.r-universe.dev",
  "Date/Publication": "2026-06-08 09:09:54 UTC",
  "RemoteUrl": "https://github.com/chkiefer/lavacreg",
  "RemoteRef": "HEAD",
  "RemoteSha": "920c9605dbf8d0062007737a32b2058c383d3dd6",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-08 08:41:32 UTC",
    "User": "root"
  },
  "Author": "Christoph Kiefer [cre, aut] (ORCID:\n<https://orcid.org/0000-0002-9166-400X>)",
  "Maintainer": "Christoph Kiefer <christoph.kiefer@uni-bielefeld.de>",
  "_user": "chkiefer",
  "_type": "src",
  "_file": "lavacreg_0.2-3-9011.tar.gz",
  "_fileid": "https://r2.ropensci.org/06e8d8800c7f3b255fca1d52c29522b357a9f07361dfc23e9e443d38e14e608f",
  "_filesize": 159925,
  "_sha256": "06e8d8800c7f3b255fca1d52c29522b357a9f07361dfc23e9e443d38e14e608f",
  "_expires": "2026-10-16T08:48:14.000Z",
  "_created": "2026-07-08T08:41:32.000Z",
  "_published": "2026-07-08T08:48:16.339Z",
  "_jobs": [
    {
      "job": 85824994580,
      "time": 137,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8162839448"
    },
    {
      "job": 85824994537,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8162834922"
    },
    {
      "job": 85824994532,
      "time": 141,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8162840420"
    },
    {
      "job": 85824994540,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8162837758"
    },
    {
      "job": 85824994512,
      "time": 190,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8162859652"
    },
    {
      "job": 85824994515,
      "time": 349,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8162922956"
    },
    {
      "job": 85824994478,
      "time": 169,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8162851007"
    },
    {
      "job": 85824994500,
      "time": 230,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8162876033"
    },
    {
      "job": 85824339770,
      "time": 209,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8162782198"
    },
    {
      "job": 85824994448,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8162834748"
    },
    {
      "job": 85824994456,
      "time": 106,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8162825926"
    },
    {
      "job": 85824994495,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8162819831"
    },
    {
      "job": 85824994543,
      "time": 108,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8162825703"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559",
  "_status": "success",
  "_upstream": "https://github.com/chkiefer/lavacreg",
  "_commit": {
    "id": "920c9605dbf8d0062007737a32b2058c383d3dd6",
    "author": "Christoph <christoph.kiefer@uni-bielefeld.de>",
    "committer": "Christoph <christoph.kiefer@uni-bielefeld.de>",
    "message": "add lvglm function internally\n",
    "time": 1780909794
  },
  "_maintainer": {
    "name": "Christoph Kiefer",
    "email": "christoph.kiefer@uni-bielefeld.de",
    "login": "chkiefer",
    "twitter": "@ChristophKiefe2",
    "description": "PostDoc at Bielefeld University, Germany",
    "uuid": 23380262,
    "orcid": "0000-0002-9166-400X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.5",
      "role": "Imports"
    },
    {
      "package": "fastGHQuad",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "SparseGrid",
      "role": "Imports"
    },
    {
      "package": "lavaan",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "chkiefer",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "count-regression",
    "latent-covariates",
    "structural-equation-modeling",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "chkiefer",
      "count": 35,
      "uuid": 23380262
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 23380262,
    "type": "user",
    "name": "Christoph Kiefer ",
    "followers": 2,
    "description": "PostDoc at Bielefeld University, Germany"
  },
  "_downloads": {
    "count": 674,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lavacreg"
  },
  "_devurl": "https://github.com/chkiefer/lavacreg",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lavacreg.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/chkiefer/lavacreg",
  "_realowner": "chkiefer",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-0",
      "date": "2021-02-16"
    },
    {
      "version": "0.1-1",
      "date": "2021-03-03"
    },
    {
      "version": "0.1-2",
      "date": "2021-08-19"
    },
    {
      "version": "0.2-0",
      "date": "2023-10-23"
    },
    {
      "version": "0.2-1",
      "date": "2023-10-26"
    },
    {
      "version": "0.2-2",
      "date": "2024-06-14"
    }
  ],
  "_exports": [
    "countreg",
    "is_count",
    "summary"
  ],
  "_datasets": [
    {
      "name": "example01",
      "title": "A first example dataset to illustrate the use of lavacreg",
      "object": "example01",
      "class": [
        "data.frame"
      ],
      "fields": [
        "dv",
        "treat",
        "z11",
        "z12",
        "z21",
        "z22",
        "z41",
        "z42",
        "z43"
      ],
      "rows": 871,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "countreg",
      "title": "Fitting Count Regression Models with Latent Covariates",
      "topics": [
        "countreg"
      ]
    },
    {
      "page": "creg_cfa",
      "title": "CFA function as a wrapper for countreg",
      "topics": [
        "creg_cfa"
      ]
    },
    {
      "page": "example01",
      "title": "A first example dataset to illustrate the use of lavacreg",
      "topics": [
        "example01"
      ]
    },
    {
      "page": "is_count",
      "title": "Check for count variable",
      "topics": [
        "is_count"
      ]
    },
    {
      "page": "summary-lavacreg-method",
      "title": "Summary of a lavacreg object",
      "topics": [
        "summary,lavacreg-method"
      ]
    }
  ],
  "_readme": "https://github.com/chkiefer/lavacreg/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "fastGHQuad",
    "lavaan",
    "MASS",
    "mnormt",
    "numDeriv",
    "pbivnorm",
    "pracma",
    "quadprog",
    "Rcpp",
    "RcppArmadillo",
    "SparseGrid"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "intro.Rmd",
      "filename": "intro.html",
      "title": "Introduction",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simple Poisson Regression Model",
        "Negative Binomial Regression with Latent Covariate",
        "Multi-group Poisson Regression with Latent and Manifest Covariates"
      ],
      "created": "2020-07-15 07:31:46",
      "modified": "2021-08-19 14:48:29",
      "commits": 8
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "lavacreg",
  "_universes": [
    "chkiefer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2-3-9011",
      "date": "2026-07-08T08:44:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "920c9605dbf8d0062007737a32b2058c383d3dd6",
      "fileid": "https://r2.ropensci.org/2676c6a74cbdbc33fb8cd42f6b8c8a142cedcc82df8f453fe2e296c7d30aa879",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2-3-9011",
      "date": "2026-07-08T08:43:57.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "920c9605dbf8d0062007737a32b2058c383d3dd6",
      "fileid": "https://r2.ropensci.org/1bdd48222d74371a6808bb32822db060faf4bba8f0051cc95aad249b0c643885",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2-3-9011",
      "date": "2026-07-08T08:44:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "920c9605dbf8d0062007737a32b2058c383d3dd6",
      "fileid": "https://r2.ropensci.org/5aed2bb3c03bf6e8654080deaaaaf19b14f8c8faab5a5efc1bd24339466f2543",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2-3-9011",
      "date": "2026-07-08T08:44:01.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "920c9605dbf8d0062007737a32b2058c383d3dd6",
      "fileid": "https://r2.ropensci.org/127baf57c088be03b5217433b684d3467f8e0dd04033f47b1410ab8892d58a3f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2-3-9011",
      "date": "2026-07-08T08:44:53.000Z",
      "arch": "aarch64",
      "commit": "920c9605dbf8d0062007737a32b2058c383d3dd6",
      "fileid": "https://r2.ropensci.org/217dc94d8918705c8f84fb04e57d3b33e4d4e9e85117b6b0ddce210ad5fd64fd",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2-3-9011",
      "date": "2026-07-08T08:47:08.000Z",
      "arch": "x86_64",
      "commit": "920c9605dbf8d0062007737a32b2058c383d3dd6",
      "fileid": "https://r2.ropensci.org/9ad26184080d3af6160758bf63ec6b9b93a8c40d5c7931d908a752cb61196e0e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2-3-9011",
      "date": "2026-07-08T08:44:19.000Z",
      "arch": "aarch64",
      "commit": "920c9605dbf8d0062007737a32b2058c383d3dd6",
      "fileid": "https://r2.ropensci.org/c84b80cc15106292ac01e596aea096823ac2a71ca0b64e8a793dfa99e07e2c3a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2-3-9011",
      "date": "2026-07-08T08:45:08.000Z",
      "arch": "x86_64",
      "commit": "920c9605dbf8d0062007737a32b2058c383d3dd6",
      "fileid": "https://r2.ropensci.org/78db2085f5ed31338abb6016a3644f7d31afda4c61316f8ae1ccfcf52374b0bb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2-3-9011",
      "date": "2026-07-08T08:43:58.000Z",
      "arch": "emscripten",
      "commit": "920c9605dbf8d0062007737a32b2058c383d3dd6",
      "fileid": "https://r2.ropensci.org/cf67a42d55da539d2e70ee064aa5a4c8e04d8b22454242d6cbef8384b39bfe3e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2-3-9011",
      "date": "2026-07-08T08:43:11.000Z",
      "arch": "x86_64",
      "commit": "920c9605dbf8d0062007737a32b2058c383d3dd6",
      "fileid": "https://r2.ropensci.org/42d80cf4d9996561987c43ba56471581d4bce74fda1b7a7fa3e40b1d9c8a13de",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2-3-9011",
      "date": "2026-07-08T08:43:01.000Z",
      "arch": "x86_64",
      "commit": "920c9605dbf8d0062007737a32b2058c383d3dd6",
      "fileid": "https://r2.ropensci.org/6660ee87275ba0fa6142a27cac978bddd17c909567b9ea2a1c6b22cba0800d1f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2-3-9011",
      "date": "2026-07-08T08:43:02.000Z",
      "arch": "x86_64",
      "commit": "920c9605dbf8d0062007737a32b2058c383d3dd6",
      "fileid": "https://r2.ropensci.org/3f3d538c37be7fddd211e1edce5c8f525d417c6e7f5c0173e9154cc3a41aecc7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/chkiefer/actions/runs/28929311559"
    }
  ]
}