{
  "_id": "6a1f513db401979e73429bc0",
  "Package": "modeldiag",
  "Type": "Package",
  "Title": "Comprehensive Diagnostics for Statistical Models",
  "Version": "0.1.2",
  "Date": "2026-06-02",
  "Authors@R": "c(\nperson(given = \"Emmanuel\", family = \"Adewuyi\",\nemail = \"emmanuel.adewuyi@lshtm.ac.uk\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-7920-6866\")),\nperson(given = \"Adewale\", family = \"Lukman\", role = \"aut\",\nemail = \"adewale.lukman@und.edu\",\ncomment = c(ORCID = \"0000-0003-2881-1297\")),\nperson(given = \"Abiola\", family = \"Owolabi\", role = \"aut\",\nemail = \"abiola.owolabi@lautech.edu.ng\",\ncomment = c(ORCID = \"0000-0001-9843-5085\"))\n)",
  "Description": "Provides a unified framework for diagnosing common issues\nin statistical models including linear models, generalized\nlinear models (logistic and Poisson regression), and survival\nmodels. Implements tests for multicollinearity,\nheteroscedasticity, autocorrelation, normality, influential\nobservations, overdispersion, zero-inflation, and proportional\nhazards assumptions. Includes visualization methods for\ngraphical diagnostics. Methods are based on established\napproaches including Fox and Monette (1992)\n<doi:10.1080/01621459.1992.10475190>, Breusch and Pagan (1979)\n<doi:10.2307/1911963>, and Dean and Lawless (1989)\n<doi:10.1080/01621459.1989.10478792>.",
  "Maintainer": "Emmanuel Adewuyi <emmanuel.adewuyi@lshtm.ac.uk>",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "URL": "https://github.com/Teniola17/modeldiag,\nhttps://teniola17.github.io/modeldiag/",
  "BugReports": "https://github.com/Teniola17/modeldiag/issues",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://teniola17.r-universe.dev",
  "Date/Publication": "2026-06-02 21:22:16 UTC",
  "RemoteUrl": "https://github.com/teniola17/modeldiag",
  "RemoteRef": "HEAD",
  "RemoteSha": "aa83e07d155267866a36eee6d737715d51aa8151",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 21:51:08 UTC",
    "User": "root"
  },
  "Author": "Emmanuel Adewuyi [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-7920-6866>),\nAdewale Lukman [aut] (ORCID: <https://orcid.org/0000-0003-2881-1297>),\nAbiola Owolabi [aut] (ORCID: <https://orcid.org/0000-0001-9843-5085>)",
  "MD5sum": "c41c2c2a4472ca4f7edc834ff4443242",
  "_user": "teniola17",
  "_type": "src",
  "_file": "modeldiag_0.1.2.tar.gz",
  "_fileid": "9bdb553b92c192f6bb9cec86455e4a07376f0e5f607fbc8178d43428d009a07d",
  "_filesize": 915339,
  "_sha256": "9bdb553b92c192f6bb9cec86455e4a07376f0e5f607fbc8178d43428d009a07d",
  "_created": "2026-06-02T21:51:08.000Z",
  "_published": "2026-06-02T21:55:09.729Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79180064750,
      "time": 211,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7370753329"
    },
    {
      "job": 79180064763,
      "time": 196,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7370749344"
    },
    {
      "job": 79180064745,
      "time": 78,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7370715535"
    },
    {
      "job": 79180064731,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7370721440"
    },
    {
      "job": 79179573290,
      "time": 193,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7370692128"
    },
    {
      "job": 79180064722,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7370733320"
    },
    {
      "job": 79180064794,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7370722457"
    },
    {
      "job": 79180064747,
      "time": 145,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7370735455"
    },
    {
      "job": 79180064738,
      "time": 118,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7370726883"
    }
  ],
  "_buildurl": "https://github.com/r-universe/teniola17/actions/runs/26850023128",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/teniola17/modeldiag",
  "_commit": {
    "id": "aa83e07d155267866a36eee6d737715d51aa8151",
    "author": "Teniola17 <olex.taiwo@gmail.com>",
    "committer": "Teniola17 <olex.taiwo@gmail.com>",
    "message": "with the paper and the metadata\n",
    "time": 1780435336
  },
  "_maintainer": {
    "name": "Emmanuel Adewuyi",
    "email": "emmanuel.adewuyi@lshtm.ac.uk",
    "login": "teniola17",
    "linkedin": "in/emmanuel-adewuyi-401813155",
    "orcid": "0000-0002-7920-6866",
    "description": "I am a research-driven data science enthusiast. I bagged a master's degree in statistics. My passion has been helping companies make data-driven decisions.",
    "uuid": 84997150
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "car",
      "role": "Imports"
    },
    {
      "package": "lmtest",
      "role": "Imports"
    },
    {
      "package": "ResourceSelection",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "teniola17",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-19",
      "n": 18
    },
    {
      "week": "2026-20",
      "n": 7
    },
    {
      "week": "2026-21",
      "n": 15
    },
    {
      "week": "2026-23",
      "n": 11
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "teniola17",
      "count": 51,
      "uuid": 84997150
    }
  ],
  "_userbio": {
    "uuid": 84997150,
    "type": "user",
    "name": "Emmanuel Adewuyi",
    "description": "I am a research-driven data science enthusiast. I bagged a master's degree in statistics. My passion has been helping companies make data-driven decisions."
  },
  "_downloads": {
    "count": 70,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/modeldiag"
  },
  "_devurl": "https://github.com/teniola17/modeldiag",
  "_pkgdown": "https://teniola17.github.io/modeldiag/",
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/modeldiag.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/teniola17/modeldiag",
  "_realowner": "teniola17",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-05-28"
    }
  ],
  "_exports": [
    "check_autocorrelation",
    "check_box_tidwell",
    "check_functional_form_coxph",
    "check_heteroskedasticity",
    "check_hosmer_lemeshow",
    "check_influential_coxph",
    "check_influential_glm",
    "check_linearity",
    "check_normality",
    "check_outliers",
    "check_overdispersion",
    "check_proportional_hazards",
    "check_residual_analysis",
    "check_separation",
    "check_vif",
    "check_zero_inflation",
    "diagnose_model"
  ],
  "_help": [
    {
      "page": "check_autocorrelation",
      "title": "Check Autocorrelation",
      "topics": [
        "check_autocorrelation"
      ]
    },
    {
      "page": "check_box_tidwell",
      "title": "Check Logistic Linearity with Box-Tidwell Test",
      "topics": [
        "check_box_tidwell"
      ]
    },
    {
      "page": "check_functional_form_coxph",
      "title": "Check Cox Model Functional Form",
      "topics": [
        "check_functional_form_coxph"
      ]
    },
    {
      "page": "check_heteroskedasticity",
      "title": "Check Heteroskedasticity",
      "topics": [
        "check_heteroskedasticity"
      ]
    },
    {
      "page": "check_hosmer_lemeshow",
      "title": "Check Logistic Goodness of Fit",
      "topics": [
        "check_hosmer_lemeshow"
      ]
    },
    {
      "page": "check_influential_coxph",
      "title": "Check Influential Observations in Cox Models",
      "topics": [
        "check_influential_coxph"
      ]
    },
    {
      "page": "check_influential_glm",
      "title": "Check Influential Observations in GLMs",
      "topics": [
        "check_influential_glm"
      ]
    },
    {
      "page": "check_linearity",
      "title": "Check Linearity",
      "topics": [
        "check_linearity"
      ]
    },
    {
      "page": "check_normality",
      "title": "Check Normality of Residuals",
      "topics": [
        "check_normality"
      ]
    },
    {
      "page": "check_outliers",
      "title": "Check Influential Observations",
      "topics": [
        "check_outliers"
      ]
    },
    {
      "page": "check_overdispersion",
      "title": "Check Overdispersion",
      "topics": [
        "check_overdispersion"
      ]
    },
    {
      "page": "check_proportional_hazards",
      "title": "Check Proportional Hazards",
      "topics": [
        "check_proportional_hazards"
      ]
    },
    {
      "page": "check_residual_analysis",
      "title": "Check Residual Summary",
      "topics": [
        "check_residual_analysis"
      ]
    },
    {
      "page": "check_separation",
      "title": "Check Separation in GLMs",
      "topics": [
        "check_separation"
      ]
    },
    {
      "page": "check_vif",
      "title": "Check Variance Inflation Factors",
      "topics": [
        "check_vif"
      ]
    },
    {
      "page": "check_zero_inflation",
      "title": "Check Zero Inflation",
      "topics": [
        "check_zero_inflation"
      ]
    },
    {
      "page": "diagnose_model",
      "title": "Diagnose Statistical Models",
      "topics": [
        "diagnose_model",
        "diagnose_model.coxph",
        "diagnose_model.glm",
        "diagnose_model.lm"
      ]
    },
    {
      "page": "plot.model_diagnostics",
      "title": "Plot Model Diagnostics",
      "topics": [
        "plot.model_diagnostics"
      ]
    },
    {
      "page": "print.model_diagnostics",
      "title": "Print Model Diagnostics",
      "topics": [
        "print.model_diagnostics"
      ]
    },
    {
      "page": "summary.model_diagnostics",
      "title": "Summarize Model Diagnostics",
      "topics": [
        "summary.model_diagnostics"
      ]
    }
  ],
  "_readme": "https://github.com/teniola17/modeldiag/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "microbenchmark",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbapply",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "ResourceSelection",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to modeldiag",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Linear Models",
        "Multicollinearity",
        "Heteroscedasticity",
        "Autocorrelation",
        "Normality of Errors",
        "Influential Observations",
        "Example",
        "Logistic Regression",
        "Key Diagnostics",
        "Linearity of the Logit",
        "Goodness of Fit",
        "Separation",
        "Poisson Regression",
        "Overdispersion",
        "Zero Inflation",
        "Survival Models",
        "Proportional Hazards",
        "Visualization",
        "Conclusion",
        "References"
      ],
      "created": "2026-05-04 12:35:21",
      "modified": "2026-06-02 18:48:54",
      "commits": 8
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "modeldiag",
  "_universes": [
    "teniola17"
  ],
  "_previous": "0.1.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-02T21:54:25.000Z",
      "distro": "noble",
      "commit": "aa83e07d155267866a36eee6d737715d51aa8151",
      "fileid": "4aa4d4b48f1d5a88a56616f485545ab909e0dbb2eea3a2adfe9031eeef1f9c67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/teniola17/actions/runs/26850023128"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-02T21:54:14.000Z",
      "distro": "noble",
      "commit": "aa83e07d155267866a36eee6d737715d51aa8151",
      "fileid": "0c5e27527b5023894c82a058c773f8108a011dee5c40f641936758bc7f0226f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/teniola17/actions/runs/26850023128"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-02T21:52:29.000Z",
      "commit": "aa83e07d155267866a36eee6d737715d51aa8151",
      "fileid": "332c0b962ef647ef8999260a9570ab9d55955f919b30edd0dfb6df19be73e92a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/teniola17/actions/runs/26850023128"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-02T21:52:43.000Z",
      "commit": "aa83e07d155267866a36eee6d737715d51aa8151",
      "fileid": "e0d6954a6a2c14312bffecf418c7ade3fe7f9a270ee75ddddbb9e8f0728e3911",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/teniola17/actions/runs/26850023128"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-06-02T21:53:46.000Z",
      "commit": "aa83e07d155267866a36eee6d737715d51aa8151",
      "fileid": "a9a419867e99a732b77622dd48fca207f918b4536b1dbeee5185969fe64f4ca3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/teniola17/actions/runs/26850023128"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-02T21:52:37.000Z",
      "commit": "aa83e07d155267866a36eee6d737715d51aa8151",
      "fileid": "5ddfb950b91f83c76642016d343eff9c171ab6ef4dfcc966b9a3b4689912e00d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/teniola17/actions/runs/26850023128"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-02T21:53:22.000Z",
      "commit": "aa83e07d155267866a36eee6d737715d51aa8151",
      "fileid": "82a32677b2e7173d5bb372265f31daea0397a2c732a6456529c2beb5f6d96342",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/teniola17/actions/runs/26850023128"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-02T21:52:50.000Z",
      "commit": "aa83e07d155267866a36eee6d737715d51aa8151",
      "fileid": "35e8ac3506be72b7e7c2624349a26debca09fb173188ca70e661d58d2ec5b9fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/teniola17/actions/runs/26850023128"
    }
  ]
}