Package: coreval
Title: Check Clinical Trial Data Against 'CDISC' Open Rules
Version: 0.4.0
Authors@R: 
    person("Hrach", "Gevorgyan", email = "hrach.gevorgyan@yandex.com", role = c("aut", "cre", "cph"))
Description: Finds conformance problems in clinical trial data without
    leaving R, using the openly published 'CORE' conformance rules: the 'CORE'
    1.0 rules maintained by Verisian for 'SDTM', and the 'CDISC' Open Rules for
    'SEND', 'TIG' and 'USDM'. 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' or Verisian, and not a 'CORE'-certified
    conformance engine.
Copyright: Hrach Gevorgyan holds the copyright in this package's own
        code. The bundled rule definitions under inst/extdata are
        derived from verisianHQ/core-contributor, copyright Verisian,
        and cdisc-org/cdisc-open-rules, copyright CDISC, and the
        bundled standards metadata and controlled terminology from
        cdisc-org/cdisc-rules-engine, copyright CDISC, and reference
        tables in inst/extdata/core1_reference.rds and the per-version
        SDTM Model in inst/extdata/sdtm_model_versions.rds from
        verisianHQ/cdisc-rules-engine, copyright CDISC, all 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.
License: MIT + file LICENSE
URL: https://hrach-gevorgyan.github.io/coreval/,
        https://github.com/hrach-gevorgyan/coreval
BugReports: https://github.com/hrach-gevorgyan/coreval/issues
Encoding: UTF-8
Language: en-US
Depends: R (>= 4.1)
Imports: data.table, haven
Suggests: jsonlite, knitr, QuickJSR, rmarkdown, testthat (>= 3.0.0),
        writexl, xml2
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/roxygen2/version: 8.1.0
NeedsCompilation: no
Packaged: 2026-11-10 08:17:47 UTC; hrach
Author: Hrach Gevorgyan [aut, cre, cph]
Maintainer: Hrach Gevorgyan <hrach.gevorgyan@yandex.com>
Repository: CRAN
Date/Publication: 2026-11-11 13:40:02 UTC
Built: R 4.5.2; ; 2026-11-11 19:18:31 UTC; unix
