Skip to content

integrity

1.0.3Package record

Assessing the Integrity and Trustworthiness of Clinical Trials Data

0packages depend
2.3Kdownloads / year
57.6%test coverage
13/13flavors OK

Overview

About

The integrity package implements the IPD Integrity Tool, a structured and transparent framework for evaluating the integrity of individual participant data (IPD) from randomised trials (see Hunter et al. (2024) doi:10.1002/jrsm.1738 and doi:10.1002/jrsm.1739). It supports users to identify potential issues, such as unusual data patterns, implausible values, lack of expected correlations, date violations, and inconsistencies. The package provides reproducible workflows for screening, documenting and summarising integrity concerns, and may be applied by evidence synthesists, editors, and others to determine whether a randomised trial may be considered sufficiently trustworthy to contribute to the evidence base that informs policy and practice.

Changes in 1.0.3
  • Changed item 2.1 to a two-sided Wald-Wolfowitz runs test, aligning it with the published IPD Integrity Tool. Small or unbalanced category counts use exact conditional p-values; larger counts use a normal approximation.
  • Item 2.1 detailed output now reports observed and expected runs, missing counts, p-values, and test methods instead of adjacent-pair counts. This changes the columns in detail_tables[["2.1"]].
  • Item 2.1 now sorts by the nominated randomisation date, retaining row order for ties. It warns and falls back to row order if no usable dates are available. Partly missing dates are excluded from this item with a warning.
  • Clarified omission of missing baseline values and interpretation of untestable variables for item 2.1; recorded the ordering and date exclusions in the detailed output.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK6 OK2026-04-09
Advisories

none known

Documentation

In release 1.0.3
READMEYes · 10 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.3Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
10
Examples that run
100%10 run in a plain check (3 of them under a condition)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.3K
CRAN downloads in the past year
Rank #14,195 · ~6/day · ~193/mo
Daily download trend is not available in this view yet.
31030 days
82790 days
2.3K1 year
Compare downloads with other packages →
Also on48 r2u8 autocran

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing integrity adds 110 packages (52 with compiled code, 93 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (6)
Author, Maintainer since 1.0.1 (2026)
Author
Author · added in 1.0.2

Previously maintained by Dario Strbenac (1.0).

Listed in earlier versions (1)
Anne Lene Seidler
no longer listed · 1.0.1
Releases (4)

Pick two releases to compare their code metrics.

  • 1.0.3Latest
    record
    2026-10-20 · current release · diff ↗ ·
    6 hours in CRAN's queue
    Listed in CRAN's incoming queue from 2026-10-20 06:56 to 2026-10-20 12:27 UTC, in 2 readings.
  • 1.0.2
    record
    2026-10-19 · diff ↗ ·
    listed once in CRAN's queue
    Seen in one reading of CRAN's incoming queue, at 2026-10-19 05:32 UTC, so it stayed less than the time between readings.
  • 1.0.1
    record
    2026-05-26 · diff ↗ ·
    added 2 exports
    read_metadata_excel, read_metadata_r
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0
    record
    2026-04-08
  • R
    R 4.5.0 released · 2025-04-11
Across CRAN, the median accepted release of the past year spent 23 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2026-04-08
Total releases
4 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Download size
393 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("integrity")
Libesman, S., Hunter, K., Kang, J., Nguyen, D., Seidler, A. L., & Strbenac, D. (2026). integrity: Assessing the Integrity and Trustworthiness of Clinical Trials Data (Version 1.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.integrity

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 integrity version 1.0.3 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, 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