trialdiff: Clinical Trial Data-Cut Change Detection and Impact Assessment

A transparent, rule-based framework for detecting changes between successive data cuts of clinical trial datasets, classifying those changes into clinically meaningful categories, tracing user-defined data lineage, and assessing which downstream analyses and outputs may be affected. The package is designed to complement existing low-level data frame comparison tools by adding clinical-trial-specific classification, lineage and impact-assessment layers on top of deterministic comparison. The rule-based classification is similar in spirit to the data validation infrastructure of van der Loo and de Jonge (2021) <doi:10.18637/jss.v097.i10>.

Version: 0.2.0
Depends: R (≥ 4.1)
Imports: cli, dplyr, htmltools, jsonlite, rlang, tibble
Suggests: admiral, cards, covr, diffdf, haven, igraph, knitr, lintr, metacore, pharmaverseadam, pharmaversesdtm, pkgdown, rmarkdown, rtables, styler, tern, testthat (≥ 3.0.0), waldo, withr
Published: 2026-09-27
DOI: 10.32614/CRAN.package.trialdiff (may not be active yet)
Author: Hirujan Rangaraj [aut, cre]
Maintainer: Hirujan Rangaraj <hirujanrangaraj at gmail.com>
BugReports: https://github.com/Hirujan-R/trialdiff/issues
License: MIT + file LICENSE
URL: https://github.com/Hirujan-R/trialdiff, https://Hirujan-R.github.io/trialdiff/
NeedsCompilation: no
Language: en-GB
Materials: README, NEWS
CRAN checks: trialdiff results

Documentation:

Reference manual: trialdiff.html , trialdiff.pdf
Vignettes: Case study: data-cut review on public ADaM data (source, R code)
The change-classification system (source, R code)
trialdiff and the existing ecosystem (source, R code)
Lineage and impact assessment (source, R code)
Getting started with trialdiff (source, R code)

Downloads:

Package source: trialdiff_0.2.0.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): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

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