Skip to content

nlmixr2

7.0.1Package record

Nonlinear Mixed Effects Models in Population PK/PD

2packages dependsuggested by 7
19.2Kdownloads / year
45.3%test coverage
13/13flavors OK

Overview

About

Fit and compare nonlinear mixed-effects models in differential equations with flexible dosing information commonly seen in pharmacokinetics and pharmacodynamics (Almquist, Leander, and Jirstrand 2015 doi:10.1007/s10928-015-9409-1). Differential equation solving is by compiled C code provided in the 'rxode2' package (Wang, Hallow, and James 2015 doi:10.1002/psp4.12052).

Changes in 7.0.1
  • nlmixr2CheckInstall() no longer fails when the repositories cannot be queried for package updates. Both an unreachable repository and an error from utils::old.packages() itself (seen on Windows, where pkgType is "both" and R's internal .available.both() can fail with "subscript out of bounds" when the source and binary indexes disagree) are now reported as "updates could not be checked" instead of stopping the check.
  • nlmixr2CheckInstall() messages are escaped before they are handed to cli, so paths or command output containing { or } are shown literally rather than being interpreted as glue expressions.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-10-03
  • ERROR11 OK, 2 ERROR2026-09-12
  • OK13 OK2026-08-12
  • ERROR10 OK, 1 NOTE, 2 ERROR2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
Show 27 earlier changesHide 27 earlier changes
  • OK13 OK2026-07-23
  • ERROR12 OK, 1 ERROR2026-07-21
  • OK13 OK2026-07-18
  • ERROR12 OK, 1 ERROR2026-07-14
  • OK13 OK2026-07-13
  • ERROR12 OK, 1 ERROR2026-07-10
  • OK13 OK2026-07-07
  • ERROR12 OK, 1 ERROR2026-06-30
  • OK13 OK2026-06-29
  • ERROR12 OK, 1 ERROR2026-06-25
  • OK13 OK2026-06-24
  • ERROR12 OK, 1 ERROR2026-06-16
  • OK13 OK2026-06-15
  • ERROR12 OK, 1 ERROR2026-06-11
  • OK13 OK2026-06-09
  • ERROR11 OK, 2 ERROR2026-06-08
  • OK13 OK2026-06-06
  • ERROR12 OK, 1 ERROR2026-06-01
  • OK13 OK2026-05-29
  • ERROR12 OK, 1 ERROR2026-05-27
  • OK13 OK2026-05-10
  • ERROR12 OK, 1 ERROR2026-05-08
  • OK13 OK2026-05-04
  • ERROR12 OK, 1 ERROR2026-04-28
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-15
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 7.0.1
READMEYes · 591 wordsVignettes· In the repository, left out of the releaseNEWSYes · 100% structured · mentions 7.0.1Citation fileYes · cites a publicationWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
6 (1 internal)
Examples that run
75%3 run in a plain check · 1 never run
Exported functions with examples
67%
Documented parameters
100%
Return-value docs
33%
Help pages citing references
0%

Downloads

19.2K
CRAN downloads in the past year
Rank #2,886 · ~53/day · ~1.6K/mo
Daily download trend is not available in this view yet.
1.7K30 days
5K90 days
19.2K1 year
Compare downloads with other packages →
Also on506 r2u18.8K conda_forge85 c2d4u

Repository

103Stars
7Forks
48Open issues
4Open PRs
14Releases
473Commits
6Commit identities
License file reads as GPL-3.0 · 473 commits · Last activity 2026-09-18 · +3% stars, 30d · Discussions: 124 posts
Responsiveness
How these are sampled
PRs merged (all time)
87%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-07-14 · 932026-10-23 · 103
PracticesBeta

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

Checks run against github.com/nlmixr2/nlmixr2 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 (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-20 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
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-07-08
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: at least 64 crediting it in the message
Models named in its commits
  • Claude Opus 4.829 commits · Jul 2026
  • Claude Opus 527 commits · Jul to Aug 2026
  • Claude Fable 58 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
35 external dependencies (excludes base and recommended)

Installing nlmixr2 adds 140 packages (89 with compiled code, 113 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Suggested by 7
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (11)
Author, Maintainer since 2.0.6 (2022)
Contributor
Contributor
Contributor · added in 4.0.0
Contributor · added in 3.0.2
Contributor
Contributor
Show 2 more contributorsHide 2 contributors
Contributor
Contributor
Listed in earlier versions (3)
Show 3 peopleHide 3 people
no longer listed · 2.0.6 to 3.0.1
no longer listed · 2.0.6 to 3.0.1
Huijuan Xu
no longer listed · 2.0.6 to 3.0.1
Releases (14)

Pick two releases to compare their code metrics.

  • 7.0.1Latest
    record
    2026-08-05 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 5.0.0
    record
    2025-11-30 · diff ↗
  • 4.0.1
    record
    2025-08-29 · diff ↗
  • 4.0.0
    record
    2025-07-17 · diff ↗ ·
    removed 97 exports
    %>%, ini<-, model<-, .nlmixrNlmeFun, ACF, RxODE, VarCorr, add.dosing, add.sampling, addCwres, addNpde, addTable, augPred, bobyqaControl, bootplot, bootstrapFit, et, etExpand, eventTable, expit, fixed.effects, fixef, foceiControl, geom_amt, geom_cens, getData, getVarCov, groupedData, ini, lbfgsb3cControl and 67 more
    added 5 exports
    .nlmixr2attach, nlmixr2conflicts, nlmixr2deps, nlmixr2packages, nlmixr2update
  • R
    R 4.5.0 released · 2025-04-11
  • 3.0.2
    record
    2025-02-20 · diff ↗ ·
    added 1 export
    rxSetSeed
  • 3.0.1
    record
    2024-10-28 · diff ↗ ·
    removed 1 export
    covarSearchAuto
  • 3.0.0
    record
    2024-09-18 · diff ↗ ·
    added 3 exports
    profileFixed, profileFixedSingle, profileLlp
  • 2.1.2
    record
    2024-05-30 · diff ↗ ·
    added 9 exports
    bobyqaControl, lbfgsb3cControl, n1qn1Control, newuoaControl, nlmControl, nlminbControl, nlsControl, optimControl, uobyqaControl
  • R
    R 4.4.0 released · 2024-04-24
  • 2.1.1
    record
    2024-02-01 · diff ↗
  • 2.1.0
    record
    2024-01-09 · diff ↗ ·
    added 6 exports
    ini<-, model<-, etExpand, nlmixr2AllEst, rxFun, rxSetPipingAuto
  • R
    R 4.3.0 released · 2023-04-21
  • 2.0.9
    record
    2023-02-21 · diff ↗ ·
    added 2 exports
    nlmixr2CheckInstall, rxDerived
  • 2.0.8
    record
    2022-10-23 · diff ↗ ·
    added 3 exports
    vpcCens, vpcCensTad, vpcPlotTad
Show 3 earlier eventsHide 3 earlier events
  • 2.0.7
    record
    2022-06-28 · diff ↗ ·
    added 1 export
    logit
  • 2.0.6
    record
    2022-05-24
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-05-24
Total releases
14 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Download size
1.1 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("nlmixr2")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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

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