coreval: Check Clinical Trial Data Against 'CDISC' Open Rules

Finds conformance problems in clinical trial data without leaving R, using the openly published 'CDISC' Open Rules ('CORE'). Check a single dataset while you are still writing the code that builds it, or a whole study folder once it exists, and get the findings back as a tidy data frame pointing at the exact row and variable. Reads transport ('XPT'), 'SAS', comma-separated and 'Dataset-JSON' files, plus 'Define-XML' when present, and 'USDM' study-design documents. Covers rules for the 'SDTM', 'SEND', 'TIG' and 'USDM' standards. The rules are bundled inside the package, so nothing is downloaded and your data never leaves your machine: no internet, no API key, no account. When a rule cannot be checked - because it needs a dataset you did not supply, for instance - it is reported as skipped with the reason, never counted as a pass. Meant as a quick first pass before a qualified validation system, never as a replacement for one. An independent project: not affiliated with or endorsed by 'CDISC', and not a 'CORE'-certified conformance engine.

Version: 0.3.0
Depends: R (≥ 4.1)
Imports: data.table, haven
Suggests: jsonlite, knitr, QuickJSR, rmarkdown, testthat (≥ 3.0.0), writexl, xml2
Published: 2026-09-15
DOI: 10.32614/CRAN.package.coreval
Author: Hrach Gevorgyan [aut, cre, cph]
Maintainer: Hrach Gevorgyan <hrach.gevorgyan at yandex.com>
BugReports: https://github.com/hrach-gevorgyan/coreval/issues
License: MIT + file LICENSE
Copyright: Hrach Gevorgyan holds the copyright in this package's own code. The bundled rule definitions under inst/extdata are derived from cdisc-org/cdisc-open-rules and the bundled standards metadata and controlled terminology from cdisc-org/cdisc-rules-engine, both copyright CDISC and both used under their MIT licenses. Two further bundled components belong to others: inst/extdata/js/jsonata.min.js is JSONata, copyright IBM Corp., under the MIT license, and inst/extdata/schema/xml/xhtml-1.1 holds the XHTML Schema modules, copyright the World Wide Web Consortium, under the W3C's own permission notice. See inst/COPYRIGHTS for every required notice and for which files each covers.
coreval copyright details
URL: https://github.com/hrach-gevorgyan/coreval
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: coreval results

Documentation:

Reference manual: coreval.html , coreval.pdf
Vignettes: Getting started with coreval (source, R code)

Downloads:

Package source: coreval_0.3.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): coreval_0.1.0.tgz, r-release (x86_64): coreval_0.1.0.tgz, r-oldrel (x86_64): coreval_0.1.0.tgz
Old sources: coreval archive

Linking:

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