Type: Package
Package: campsismod
Title: Generic Implementation of a PK/PD Model
Version: 1.3.2
Authors@R: 
    person("Nicolas", "Luyckx", , "nicolas.luyckx@calvagone.com", role = c("aut", "cre"))
Description: 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'.
License: GPL (>= 3)
URL: https://github.com/Calvagone/campsismod,
        https://calvagone.github.io/,
        https://calvagone.github.io/campsismod.doc/
BugReports: https://github.com/Calvagone/campsismod/issues
Depends: R (>= 4.0.0)
Imports: assertthat, dplyr, ggplot2, jsonlite, jsonvalidate,
        LaplacesDemon, magrittr, MASS, methods, purrr, readr, rlang,
        tibble, tidyr, utils
Suggests: devtools, knitr, pkgdown, rmarkdown, roxygen2, testthat, xfun
VignetteBuilder: knitr
Encoding: UTF-8
Language: en-US
LazyData: true
RoxygenNote: 7.3.3
Collate: 'global.R' 'data.R' 'utilities.R' 'special_operators.R'
        'check.R' 'json_element.R' 'generic.R' 'generic_element_list.R'
        'generic_element_position.R' 'generic_list.R' 'pattern.R'
        'model_statement.R' 'model_statements.R'
        'model_unknown_statement.R' 'model_comment.R'
        'model_line_break.R' 'model_equation.R' 'model_ode.R'
        'model_if_statement.R' 'compartment.R' 'compartment_property.R'
        'compartment_properties.R' 'compartment_bioavailability.R'
        'compartment_lag_time.R' 'compartment_infusion_duration.R'
        'compartment_infusion_rate.R' 'compartment_initial_condition.R'
        'compartments.R' 'parameter.R' 'parameters.R' 'code_record.R'
        'code_records.R' 'model_parser.R' 'campsis_model.R'
        'omega_block.R' 'omega_blocks.R'
        'parameter_uncertainty_utils.R' 'replication_settings.R'
        'replicated_campsis_model.R' 'model_add_suffix.R'
        'rxode_model.R' 'rxode_conversion.R' 'mrgsolve_model.R'
        'mrgsolve_conversion.R' 'json_interface.R'
NeedsCompilation: no
Packaged: 2026-05-07 12:31:51 UTC; nicolas.luyckx
Author: Nicolas Luyckx [aut, cre]
Maintainer: Nicolas Luyckx <nicolas.luyckx@calvagone.com>
Repository: CRAN
Date/Publication: 2026-05-07 14:00:48 UTC
