Skip to content

campsismod

1.4.2Package record

Generic Implementation of a PK/PD Model

2packages depend
7Kdownloads / year
92.3%test coverage
13/13flavors OK

Overview

About

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

Changes in 1.4.2
  • Update maintainer's email address

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 6.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.4.2
READMEYes · 173 wordsVignettesYes · 7 · dynamicNEWSYes · 100% structured · mentions 1.4.2Citation fileNoWebsiteYes · pkgdown
Help pages
237 (70 internal)
Examples that run
no examples
Exported functions with examples
0%
Documented parameters
97%
Return-value docs
96%
Help pages citing references
0%

Downloads

7K
CRAN downloads in the past year
Rank #5,358 · ~19/day · ~587/mo
Daily download trend is not available in this view yet.
71530 days
1.5K90 days
7K1 year
Compare downloads with other packages →
Also on207 r2u15 autocran

Repository

Moved from calvagone/campsismod.

7Stars
3Forks
6Open issues
0Open PRs
27Releases
473Commits
1Commit identities
License file reads as GPL-3.0 · 473 commits · Last activity 2026-09-30 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
97%
Median days to close, 50 most recently updated closed issues
5
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2023-03-21 · 52026-08-31 · 7
PracticesBeta

10 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/calvagone/campsismod on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (2)
README.Rmdpkgdown
Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing campsismod adds 46 packages (24 with compiled code, 37 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, LaplacesDemon 2.0 MB.

Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Depends 2
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 0.8.0 (2022)
Copyright holder · added in 1.4.2
Releases (17)

Pick two releases to compare their code metrics.

  • 1.4.2Latest
    record
    2026-09-28 · current release · diff ↗
  • 1.4.1
    record
    2026-09-27 · diff ↗
  • 1.4.0
    record
    2026-07-30 · diff ↗ ·
    removed 43 exports
    addRSE, allNa, assertSingleCharacterString, autoDetectNONMEM, exportToJSON, extractLhs, extractRhs, extractTextBetweenBrackets, getCampsismodOption, getCampsismodOptions, getNONMEMName, getOmegaBlock, getOmegaIndexes, getPrefix, getRecordDelimiter, getRecordEquationNames, getRecordName, getVarCov, hasComment, hasExactMethod, hasOffDiagonalOmegas, isComment, isEmptyLine, isEquation, isIfStatement, isMatrixPositiveDefinite, isODE, isRecordDelimiter, isRxODE, isStrictRecordDelimiter and 13 more
    added 65 exports
    add_rse, add_suffix, all_na, assert_single_character_string, auto_detect_nonmem, export_to_json, extract_lhs, extract_rhs, extract_text_between_brackets, fix_omega, get_by_index, get_by_name, get_campsismod_option, get_campsismod_options, get_compartment_index, get_name, get_name_in_model, get_names, get_nonmem_name, get_omega_block, get_omega_indexes, get_prefix, get_record_delimiter, get_record_equation_names, get_record_name, get_uncertainty, get_var_cov, has_comment, has_exact_method, has_off_diagonal_omegas and 35 more
  • 1.3.2
    record
    2026-05-07 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.3.1
    record
    2026-03-17 · diff ↗ ·
    added 1 export
    hasExactMethod
  • 1.3.0
    record
    2026-01-27 · diff ↗ ·
    added 8 exports
    JSONElement, exportToJSON, getCampsismodOption, getCampsismodOptions, jsonToParameter, loadFromJSON, mapJSONPropertiesToS4Slots, mapS4SlotsToJSONProperties
  • 1.2.3
    record
    2025-07-31 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2.2
    record
    2025-03-28 · diff ↗
  • 1.2.1
    record
    2025-03-17 · diff ↗
  • 1.2.0
    record
    2025-02-07 · diff ↗ ·
    added 14 exports
    :=, AutoReplicationSettings, ManualReplicationSettings, OmegaBlock, OmegaBlocks, addRSE, getOmegaBlock, getOmegaIndexes, hasOffDiagonalOmegas, isMatrixPositiveDefinite, move, replicate, setMinMax, shiftOmegaIndexes
  • 1.1.2
    record
    2024-11-26 · diff ↗ ·
    added 1 export
    isRxODE
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.1
    record
    2024-02-16 · diff ↗
  • 1.1.0
    record
    2023-10-12 · diff ↗ ·
    added 2 exports
    allNa, removeNaColumn
Show 7 earlier eventsHide 7 earlier events
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.0
    record
    2023-04-11 · diff ↗ ·
    added 2 exports
    addSuffix, getRecordEquationNames
  • 0.9.0
    record
    2022-06-17 · diff ↗ ·
    removed 1 export
    UndefinedPosition
    added 2 exports
    getUncertainty, getVarCov
  • 0.8.1
    record
    2022-05-24 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.8.0
    record
    2022-02-14
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-02-14
Total releases
17 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.0.0
Bundled data
16 KB / 1 file
Download size
738 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("campsismod")
Luyckx, N., & Calvagone. (2026). campsismod: Generic Implementation of a PK/PD Model (Version 1.4.2) [Computer software]. https://doi.org/10.32614/CRAN.package.campsismod

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for campsismod version 1.4.2 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy