Type: Package
Package: campsisnca
Title: Non-Compartmental Analysis for Campsis Simulation Platform
Version: 1.7.1
Authors@R: 
    person("Nicolas", "Luyckx", , "nicolas.luyckx@calvagone.com", role = c("aut", "cre"))
Description: 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).
License: GPL (>= 3)
URL: https://github.com/Calvagone/campsisnca
BugReports: https://github.com/Calvagone/campsisnca/issues
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
Config/roxygen2/version: 8.1.0
Encoding: UTF-8
Language: en-US
LazyData: true
Collate: 'all_classes.R' 'check.R' 'utilities.R' 'special_operators.R'
        'consistency_checks.R' 'stat_formula.R' 'export_type.R'
        'generic.R' 'data.R' 'stat_utils.R' 'export_utils.R'
        'nca_options.R' 'nca_time_window.R' 'nca_metric_utils.R'
        'gtsummary_utils.R' 'filter_utils.R' 'rounding_utils.R'
        'theoretical_metrics.R' 'nca_metric.R' 'nca_metrics.R'
        'auc_trap_rule.R' 'auc.R' 'cmax.R' 'tmax.R' 'cmin.R' 'tmin.R'
        'cat.R' 'ctrough.R' 'cavg.R' 'thalf.R' 'theoretical_thalf.R'
        'time_above_below.R' 'change_from_baseline.R' 'custom_metric.R'
        'nca_analysis.R' 'nca_analyses.R' 'nca_table.R'
        'replicated_nca_table.R' 'json_interface.R'
        'deprecated_methods.R'
NeedsCompilation: no
Packaged: 2026-09-07 12:16:58 UTC; nicolas
Author: Nicolas Luyckx [aut, cre]
Maintainer: Nicolas Luyckx <nicolas.luyckx@calvagone.com>
Repository: CRAN
Date/Publication: 2026-09-15 12:00:10 UTC
Built: R 4.5.2; ; 2026-09-15 14:54:44 UTC; unix
