Skip to content

campsismod

Generic Implementation of a PK/PD Model

v1.3.1 · Mar 17, 2026 · GPL (>= 3)

Description

A generic, easy-to-use and expandable implementation of a pharmacokinetic (PK) / pharmacodynamic (PD) model based on the S4 class system. This package allows the user to read and write pharmacometric models from and to files, including a JSON-based interface to import Campsis models defined using a formal JSON schema distributed with the package. Models can be adapted further on the fly in the R environment using an intuitive API to add, modify or delete equations, ordinary differential equations (ODEs), model parameters or compartment properties (such as infusion duration or rate, bioavailability and initial values). The package also provides export facilities for use with the simulation packages 'rxode2' and 'mrgsolve'. The package itself is licensed under the GPL (>= 3); the JSON schema file shipped in inst/extdata is licensed separately under the Creative Commons Attribution 4.0 International (CC BY 4.0). This package is designed and intended to be used with the package 'campsis', a PK/PD simulation platform built on top of 'rxode2' and 'mrgsolve'.

Downloads

695

Last 30 days

5332nd

1.6K

Last 90 days

8.4K

Last year

Trend: +36.5% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

depends

Dependency Network

Dependencies Reverse dependencies assertthat dplyr ggplot2 jsonlite jsonvalidate LaplacesDemon magrittr MASS purrr readr rlang tibble tidyr campsis campsismod

Version History

updated 1.3.1 ← 1.3.0 diff Mar 17, 2026
new 1.3.0 Mar 10, 2026
updated 1.3.0 ← 1.2.3 diff Jan 26, 2026
updated 1.2.3 ← 1.2.2 diff Jul 30, 2025
updated 1.2.2 ← 1.2.1 diff Mar 27, 2025
updated 1.2.1 ← 1.2.0 diff Mar 16, 2025
updated 1.2.0 ← 1.1.2 diff Feb 6, 2025
updated 1.1.2 ← 1.1.1 diff Nov 25, 2024
updated 1.1.1 ← 1.1.0 diff Feb 15, 2024
updated 1.1.0 ← 1.0.0 diff Oct 11, 2023
updated 1.0.0 ← 0.9.0 diff Apr 10, 2023
updated 0.9.0 ← 0.8.1 diff Jun 16, 2022
updated 0.8.1 ← 0.8.0 diff May 23, 2022
new 0.8.0 Feb 13, 2022