Skip to content

HLMdiag

0.5.1Package record

Diagnostic Tools for Hierarchical (Multilevel) Linear Models

3packages depend
16.8Kdownloads / year
54.1%test coverage
13/13flavors OK

Overview

About

A suite of diagnostic tools for hierarchical (multilevel) linear models. The tools include not only leverage and traditional deletion diagnostics (Cook's distance, covratio, covtrace, and MDFFITS) but also convenience functions and graphics for residual analysis. Models can be fit using either lmer in the 'lme4' package or lme in the 'nlme' package.

Changes in 0.5.1
  • Added a NEWS.md file to track changes to the package.
  • cooks.distance() and mdffits() with include.attr = TRUE now returns a tibble with column names for the fixed effects in agreement with the fixef() output.
  • First columns of hlm_resid() output is now .id to avoid conflicts with id columns

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • WARNING11 OK, 3 WARNING2026-04-22
  • ERROR10 OK, 3 WARNING, 1 ERROR2026-04-18
  • WARNING11 OK, 3 WARNING2026-03-10
Advisories

none known

Documentation

In release 0.5.1
READMEYes · 764 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 0.5.1Citation fileYes · cites a publication
Cites a JSS article
Help pages
26includes a package overview page
Examples that run
91%10 run in a plain check · 1 never run
Exported functions with examples
56%
Documented parameters
100%
Return-value docs
50%
Help pages citing references
62%

Downloads

16.8K
CRAN downloads in the past year
Rank #3,129 · ~46/day · ~1.4K/mo
Daily download trend is not available in this view yet.
1.7K30 days
4K90 days
16.8K1 year
Compare downloads with other packages →
Also on607 r2u7 autocran132 c2d4u

Repository

19Stars
6Forks
3Open issues
0Open PRs
4Releases
427Commits
4Commit identities
427 commits · Last activity 2026-07-01 · Default branch at 0.5.1.9000, ahead of CRAN 0.5.1 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
182
Median days to close, 50 most recently updated closed PRs
0
PracticesBeta

8 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/aloy/hlmdiag on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-07-01

CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-06-26
    Named in .Rbuildignore: CLAUDE.md
    Commits: at least 2 crediting it in the message
Models named in its commits
  • Claude Sonnet 4.62 commits · Jul 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
25 external dependencies (excludes base and recommended)

Installing HLMdiag adds 40 packages (22 with compiled code, 33 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.5.0
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
3direct
3indirect
Imports 3
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (3)
Maintainer since 0.1.0 (2011), Author
Author · added in 0.4.0
Author · added in 0.4.0
Releases (18)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.1Latest
    record
    2025-05-13 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.5.0
    record
    2021-05-02 · diff ↗ ·
    removed 3 exports
    HLMresid, diagnostics, group_qqnorm
    added 2 exports
    resid_conditional, resid_marginal
  • 0.4.0
    record
    2020-12-14 · diff ↗ ·
    removed 1 export
    ggplot_qqnorm
    added 5 exports
    extract_design, hlm_augment, hlm_influence, hlm_resid, pull_resid
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 0.3.1
    record
    2015-12-12 · diff ↗ ·
    added 1 export
    ggplot_qqnorm
  • 0.3.0
    record
    2015-06-23 · diff ↗ ·
    removed 10 exports
    HLMresid.default, LSresids.default, case_delete.default, covratio.default, covtrace.default, ggplot_qqnorm, leverage.default, mdffits.default, rvc.default, rotate_ranef.default
Show 20 earlier eventsHide 20 earlier events
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 0.2.5
    record
    2014-01-31 · diff ↗
  • 0.2.4
    record
    2014-01-16 · diff ↗
  • 0.2.3
    record
    2013-10-17 · diff ↗ ·
    added 2 exports
    rotate_ranef, rotate_ranef.default
  • 0.2.2
    record
    2013-05-01 · diff ↗ ·
    added 3 exports
    HLMresid.default, LSresids.default, case_delete.default
  • R
    R 3.0.0 released · 2013-04-03
  • 0.2.1
    record
    2013-03-26 · diff ↗
  • 0.2.0
    record
    2013-02-18 · diff ↗ ·
    removed 9 exports
    cooksd_hlm, covratio_hlm, covtrace_hlm, ggplot_ppnorm, mdffits_hlm, ppnormBand, .sampleQuantiles, .parse_formula, .parse_f
    added 10 exports
    covratio, covratio.default, covtrace, covtrace.default, leverage, leverage.default, mdffits, mdffits.default, rvc.default, varcomp.mer
  • 0.1.6
    record
    2012-09-01 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 0.1.5
    record
    2012-03-06 · diff ↗
  • 0.1.4
    record
    2012-01-28 · diff ↗
  • 0.1.3
    record
    2012-01-03 · diff ↗
  • 0.1.2
    record
    2011-12-19 · diff ↗ ·
    added 3 exports
    HLMresid, .parse_formula, .parse_f
  • 0.1.1
    record
    2011-11-04 · diff ↗ ·
    removed 1 export
    pattern:^[^\\.]
    added 16 exports
    adjust_lmList, case_delete, compare_eb_ls, cooksd_hlm, covratio_hlm, covtrace_hlm, diagnostics, dotplot_diag, ggplot_qqnorm, ggplot_ppnorm, group_qqnorm, LSresids, mdffits_hlm, ppnormBand, rvc, .sampleQuantiles
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • 0.1.0
    record
    2011-03-22
  • R
    R 2.12.0 released · 2010-10-15

Package metadata

First published
2011-03-22
Total releases
18 / 15 yrs
License
GPL-2 OSI
Minimum R
≥ 3.5.0
Bundled data
107 KB / 4 files
Download size
399 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("HLMdiag")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v056.i05.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for HLMdiag version 0.5.1 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy