Skip to content

pmxTools

1.5

Pharmacometric and Pharmacokinetic Toolkit

3packages depend
20.9Kdownloads / year
63.1%test coverage
13/13checks pass

Overview

About
Maintained by Justin WilkinsFirst published 2018-03-148 releasesCRAN page ↗GitHub ↗

Pharmacometric tools for common data analytical tasks; closed-form solutions for calculating concentrations at given times after dosing based on compartmental PK models (1-compartment, 2-compartment and 3-compartment, covering infusions, zero- and first-order absorption, and lag times, after single doses and at steady state, per Bertrand & Mentre (2008) https://www.facm.ucl.ac.be/cooperation/Vietnam/WBI-Vietnam-October-2011/Modelling/Monolix32_PKPD_library.pdf); parametric simulation from NONMEM-generated parameter estimates and other output; and parsing, tabulating and plotting results generated by Perl-speaks-NONMEM (PsN).

Install

Health

CRAN checks
13OK
Slowest check: 3.8 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 1.15
63.1%
Coverage · measured lines
100%
Documentation · exports
13
Dependencies · direct
Check history
  • OK2026-06-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-07
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 99 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
32%
Documented parameters
98%
Return-value docs
95%
References docs
24%

Downloads

20.9K
CRAN downloads in the past year
Rank #3,716 · ~57/day · ~1.7K/mo
Daily download trend is not available in this view yet.
1.1K30 days
2.8K90 days
20.9K1 year
Compare downloads with other packages →
Also on120 r2u27 autocran51 c2d4u

Repository

Repository
35Stars
11Forks
5Open issues
1Open PRs
2Releases
127Commits
4Contributors
simulationnonmempharmacokinetics
127 commits · Last activity 2026-05-02 · +2.9% stars, 30d

Stars over time

2025-03-07 · 312026-07-07 · 35

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/kestrel99/pmxtools on 2026-07-19.

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (2)
R >= 4.00patchwork
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
0indirect

Code & Tests

Code Composition
R 6,884 (43%)Other 6,302 (39%)Rd 2,505 (16%)Vignettes 398 (2%)
Code characteristics
Cyclomatic complexity
1.0 median / 87 max
Test cases
66 / 1.15 per code line

Test coverage

Line coverage

63%

Expression

60.6%

Tests / Examples

63.1% / – ex

Functions

89 86 exported

Complexity

6.3 avg / 87 max

Call network

89 nodes / 124 edges

Loading call graph…

Lowest coverage

89 functions
FunctionCycloCoverage
blq_log_trans exp20%
blq_trans exp20%
calc_sd_1cmt exp10%
calc_sd_2cmt exp10%
calc_sd_3cmt exp10%
calc_ss_1cmt exp10%

People & History

People (9)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author · added in 0.1.3
Contributors (6)
Contributor
Contributor
Contributor
Contributor
Contributor · added in 1.2.3
Package Timeline

8 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.5Latest
    2025-08-25 · 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
  • 1.3
    2023-02-21 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.3
    2022-04-06 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.2.1
    2020-08-26 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0
    2020-01-10 · diff ↗
  • 0.1.3
    2019-10-28 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.1
    2019-03-11 · diff ↗
  • unarchivedReturned to CRAN
    2019-03-11
Show 4 earlier events
  • archivedRemoved from CRAN
    2019-01-30
    requires archived package 'xpose'
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.0
    2018-03-14
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-03-14
Total releases
8 / 8 yrs
License
GPL-2 OSI
Minimum R
≥ 4.00
Download size
844 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →