A Model Library for 'nlmixr2'
Overview
A model library for 'nlmixr2'. The models include (and plan to include) pharmacokinetic, pharmacodynamic, and disease models used in pharmacometrics. Where applicable, references for each model are included in the meta-data for each individual model. The package also includes model composition and modification functions to make model updates easier.
- Add Kim 2006 model for IgG metabolism
- Add Xie 2019 agomelatine PK model
- Drop
qssince it will be archived - Update tumor growth inhibition models
addResErr()now works with multiple-endpoint models- Additional testing
From NEWS.md in the release
Install
Health
- 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 9 earlier changesHide 9 earlier changes
- OK13 OK2026-06-17
- ERROR12 OK, 1 ERROR2026-06-15
- OK13 OK2026-04-30
- ERROR12 OK, 1 ERROR2026-04-28
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-29
- ERROR13 OK, 1 ERROR2026-03-25
- OK14 OK2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 36 (1 internal)
- Examples that run
- 97%31 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 91%
- Documented parameters
- 95%
- Return-value docs
- 94%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 95%
- Median days to close, 50 most recently updated closed issues
- 17
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
13 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/nlmixr2/nlmixr2lib on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-10 · The repository has a site deploy workflow
pkgdown site last built 2026-10-10
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-01-22Pull request: opened by its own accountCommits: 2 by its own account
- Claude Codefirst seen 2026-04-08Seen in the repository: .claude, .claude/skills, CLAUDE.mdNamed in .Rbuildignore: .claude, CLAUDE.mdNamed in .gitignore: .claudePull request it wrote: opened by a project memberCommits: at least 3,588 crediting it in the message
- Claude CodePull requests: 178 from outside contributors, first on 2026-04-18, 1 from forks
- Claude Opus 4.773 commits · Apr to Jun 2026
- Claude Sonnet 4.623 commits · Apr 2026
- Claude Opus 4.64 commits · Apr 2026
- Claude Opus 51 commit · Jul 2026
Some of these counts are a minimum, because the search stopped before the oldest commits.
Dependencies
Installing nlmixr2lib adds 66 packages (42 with compiled code, 71 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.3.2Latest
- 0.3.12025-10-22 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.3.02024-10-07 · diff ↗ ·
added 52 exports
addBaseline1exp, addBaselineConst, addBaselineExp, addBaselineLin, addBioavailability, addCmtProp, addDepot, addDirectLin, addDur, addEffectCmtLin, addIndirect, addIndirectLin, addIni, addLag, addLogEstimates, addRate, addTransit, addWeibullAbs, assertCompartmentExists, assertCompartmentName, assertParameterValue, assertRxUi, assertRxUiEstimatedResiduals, assertRxUiMixedOnly, assertRxUiMuRefOnly, assertRxUiNormal, assertRxUiPopulationOnly, assertRxUiPrediction, assertRxUiRandomOnIdOnly, assertRxUiSingleEndpoint and 22 more - RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.2.0
- 0.1.02022-10-31
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-10-31
- Total releases
- 5 / 4 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.1
- Bundled data
- 3.2 KB / 1 file
- Download size
- 156 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("nlmixr2lib")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.