Non-Compartmental Analysis for Campsis Simulation Platform
Overview
A flexible and user-friendly non-compartmental analysis (NCA) toolkit designed to work seamlessly with simulated pharmacokinetic data generated using the 'campsis' ecosystem. The package provides a comprehensive framework to compute standard and custom NCA metrics, including exposure (AUC), peak/trough concentrations, half-life and time-above/below thresholds, with support for configurable time windows and summary statistics. 'campsisnca' integrates tightly with 'campsis' and 'campsismod', enabling streamlined workflows from simulation to analysis. In addition, the package provides a JSON-based interface to define NCA analyses, metrics and options using formal schemas, allowing analyses to be created, validated and executed outside of R and facilitating reproducibility, automation and system integration. The package also includes utilities for generating formatted summary tables and exporting results in multiple formats suitable for reporting. Trapezoidal rule implementation for AUC calculation is based on the 'qpNCA' package by Huisman, Jolling, Mehta and Bergsma (2021) doi:10.32614/CRAN.package.qpNCA, following methodology from Rowland and Tozer (2011, ISBN:978-0-683-07404-8). 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).
- Migrate package to campsisverse organisation #101
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK7 OK2026-09-16
Documentation
- Help pages
- 132 (7 internal)
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 0%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
- github.com/calvagone/campsisnca · last recorded on 2026-10-18
9 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/campsisverse/campsisnca on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows
Show all practicesHide 2 practices
Dependencies
Installing campsisnca adds 88 packages (39 with compiled code, 65 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.
Code & Tests
Datasets
People & History
Package metadata
- First published
- 2026-09-15
- Total releases
- 3 / 1 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 267 KB / 1 file
- Download size
- 493 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("campsisnca")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-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.