campsisnca: Non-Compartmental Analysis for Campsis Simulation Platform

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).

Version: 1.7.1
Depends: campsismod, R (≥ 4.0.0)
Imports: assertthat, campsis, cards, dplyr, glue, gt, gtsummary, jsonlite, jsonvalidate, lifecycle, magrittr, methods, purrr, rlang, stringr, tibble, tidyr
Suggests: devtools, ggplot2, mrgsolve, pkgdown, rmarkdown, roxygen2, rxode2, testthat
Published: 2026-09-15
DOI: 10.32614/CRAN.package.campsisnca (may not be active yet)
Author: Nicolas Luyckx [aut, cre]
Maintainer: Nicolas Luyckx <nicolas.luyckx at calvagone.com>
BugReports: https://github.com/Calvagone/campsisnca/issues
License: GPL (≥ 3)
URL: https://github.com/Calvagone/campsisnca
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: campsisnca results

Documentation:

Reference manual: campsisnca.html , campsisnca.pdf

Downloads:

Package source: campsisnca_1.7.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): campsisnca_1.7.1.tgz, r-release (x86_64): campsisnca_1.7.1.tgz, r-oldrel (x86_64): campsisnca_1.7.1.tgz

Linking:

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