campsis: Generic PK/PD Simulation Platform Campsis

A generic, easy-to-use and intuitive pharmacokinetic/pharmacodynamic (PK/PD) simulation platform based on the R packages 'rxode2' and 'mrgsolve'. Campsis provides an abstraction layer over the underlying processes of defining a PK/PD model, assembling a custom dataset and running a simulation. The package has a strong dependency on the R package 'campsismod', which allows models to be read from and written to files, including through a JSON-based interface, and to be adapted further on the fly in the R environment. In addition, 'campsis' allows users to assemble datasets in an intuitive manner, including via a JSON-based interface to import Campsis datasets defined using formal JSON schemas distributed with the package. Once the dataset is ready, the package prepares the simulation, calls 'rxode2' or 'mrgsolve' (at the user's choice), and returns the results for the given model, dataset and desired simulation settings. The package itself is licensed under the GPL (>= 3); the JSON schema files shipped in inst/extdata are licensed separately under the Creative Commons Attribution 4.0 International (CC BY 4.0).

Version: 1.8.1
Depends: campsismod, R (≥ 4.0.0)
Imports: assertthat, digest, dplyr, furrr, future, ggplot2, jsonlite, jsonvalidate, MASS, methods, progressr, purrr, rlang, stats, tibble, tidyr
Suggests: bookdown, devtools, gridExtra, knitr, mrgsolve, pkgdown, rmarkdown, roxygen2, rxode2, stringr, testthat, tictoc, vdiffr, xfun
Published: 2026-01-28
DOI: 10.32614/CRAN.package.campsis
Author: Nicolas Luyckx [aut, cre]
Maintainer: Nicolas Luyckx <nicolas.luyckx at calvagone.com>
BugReports: https://github.com/Calvagone/campsis/issues
License: GPL (≥ 3)
URL: https://github.com/Calvagone/campsis, https://calvagone.github.io/, https://calvagone.github.io/campsis.doc/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: campsis results

Documentation:

Reference manual: campsis.html , campsis.pdf
Vignettes: Get started with CAMPSIS (source, R code)
Create your dataset (source, R code)
Variability levels (source, R code)
Covariates (source, R code)
Bioavailability (source, R code)
Lag time (source, R code)
Infusions (source, R code)
Inter-occasion variability (source, R code)
Initial conditions (source, R code)
Simple dose adaptations (source, R code)
Replicate your study (source, R code)
Scenarios (source, R code)
Time-varying covariates (source, R code)
Interruption events (source, R code)
Complex PK/PD models from literature (source, R code)
PK/PD model library (source, R code)
Progress bar (source, R code)
Run your simulation in parallel (source, R code)

Downloads:

Package source: campsis_1.8.1.tar.gz
Windows binaries: r-devel: campsis_1.7.0.zip, r-release: campsis_1.7.0.zip, r-oldrel: campsis_1.7.0.zip
macOS binaries: r-release (arm64): campsis_1.7.0.tgz, r-oldrel (arm64): campsis_1.7.0.tgz, r-release (x86_64): campsis_1.7.0.tgz, r-oldrel (x86_64): campsis_1.7.0.tgz
Old sources: campsis archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=campsis to link to this page.