Skip to content

merDeriv

0.2-6Package record

Case-Wise and Cluster-Wise Derivatives for Mixed Effects Models

1packages dependsuggested by 10
158.1Kdownloads / year
71.0%test coverage
13/13flavors OK

Overview

About

Compute case-wise and cluster-wise derivative for mixed effects models with respect to fixed effects parameter, random effect (co)variances, and residual variance. This material is partially based on work supported by the National Science Foundation under Grant Number 1460719.

Changes in 0.2-6

Bug fixes

  • vcov.lmerMod(full = TRUE) and estfun.lmerMod() returned the random effect (co)variance results in an order that did not match their labels when a random effect block was 3x3 or larger, so results depended on the order in which random effects were entered in the model formula (Github issue #2, reported by James Pustejovsky). The parameter index matrix is now built from Lambdat, which Lind actually indexes, instead of Lambda.
  • vcov.lmerMod(full = TRUE, information = "observed") failed for REML fits because the internal Hessian entries were not coerced to numeric.

Other changes

  • New regression tests covering Github issues #2 and #3, and updated lavaan model syntax (Github issue #4, reported by Yves Rosseel).
Show all changes in 0.2-6Hide the rest of the changes in 0.2-6
  • Documentation fixes, including the bread.glmerMod() man page (contributed by Ben Bolker).
  • Suggested packages (mirt, lmeInfo, nlme, smdata) are now used conditionally in tests, and the duplicated Suggests field in DESCRIPTION was merged.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 6.1 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-23
  • ERROR12 OK, 1 ERROR2026-07-07
  • OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2-6
READMEYes · 102 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2-6Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JSS article
Help pages
8
Examples that run
0%8 never run
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
100%
Help pages citing references
100%

Downloads

158.1K
CRAN downloads in the past year
Rank #1,067 · ~433/day · ~13.2K/mo
Daily download trend is not available in this view yet.
9K30 days
35.6K90 days
158.1K1 year
Compare downloads with other packages →
Also on224 r2u3 autocran71 c2d4u

Repository

6Stars
1Forks
1Open issues
1Open PRs
0Releases
119Commits
6Commit identities
119 commits · Last activity 2026-07-17 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
67%
Median days to close, 50 most recently updated closed issues
1,491
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-03-04 · 52026-07-07 · 6
PracticesBeta

Checks run against github.com/nctingwang/merderiv on 2026-10-11.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-07-15
    Pull request it wrote: opened by a project member
    Commits: 3 by its own account · at least 3 crediting it in the message
Models named in its commits
  • Claude Fable 53 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
9 external dependencies (excludes base and recommended)

Installing merDeriv adds 18 packages (12 with compiled code, 16 MB of source tarballs). Heaviest: lme4 4.1 MB, nloptr 2.1 MB, Rcpp 1.8 MB.

Depends (7)
R >= 3.2.3lme4statsmethodsnonnest2sandwichlavaan
Imports (3)
utilsMatrixnumDeriv
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
1indirect
Imports 1
Suggested by 10
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (3)
Author, Maintainer since 0.1-1 (2017)
Contributor · added in 0.1-7
Releases (15)

Pick two releases to compare their code metrics.

  • 0.2-6Latest
    record
    2026-07-17 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2-5
    record
    2025-06-12 · 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
  • 0.2-4
    record
    2022-03-12 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2-3
    record
    2021-01-26 · diff ↗
  • 0.2-2
    record
    2020-10-22 · diff ↗
  • 0.2-1
    record
    2020-10-18 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1-9
    record
    2020-03-10 · diff ↗
  • 0.1-8
    record
    2020-02-12 · diff ↗
  • 0.1-7
    record
    2019-07-10 · diff ↗ ·
    added 3 exports
    estfun.glmerMod, bread.glmerMod, llcont.glmerMod
Show 10 earlier eventsHide 10 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1-6
    record
    2018-11-30 · diff ↗ ·
    added 1 export
    vcov.glmerMod
  • 0.1-5
    record
    2018-09-12 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1-4
    record
    2018-03-29 · diff ↗
  • 0.1-3
    record
    2018-02-14 · diff ↗
  • 0.1-2
    record
    2017-08-01 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1-1
    record
    2017-02-18
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2017-02-18
Total releases
15 / 9 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.2.3
Download size
17 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("merDeriv")

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

It points to 10.18637/jss.v087.c01.

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 merDeriv version 0.2-6 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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