Open-source R packages

Rigorous by
design.

R infrastructure for regulated pharmaceutical statistics — reproducibility auditing, Bayesian methodology, electronic audit logging, and row-level data provenance.

R console
21 CFR
Part 11 & EU Annex 11 compliant
CDISC
ADaM & SDTM aligned
FDA
2026 Bayesian guidance aligned
IQ/OQ/PQ
qualification suites included
R packages

Two suites.
One workflow.

Open-source R tooling for regulated clinical analysis — an infrastructure suite under the ReproStats organisation, and a Bayesian clinical trial suite by Ndoh Penn.

ReproStats Infrastructure github.com/repro-stats
reproducr
CRAN

The reproducibility foundation. Audit, certify, and monitor R scripts and environments for regulated settings. Designed around 21 CFR Part 11-aligned compliance processes.

  • Script-level audit trail with cryptographic hash
  • Risk scoring for regulatory compliance
  • Environment certification and lockfiles
  • Drift detection across analysis runs
> install.packages("reproducr")
Docs & source →
regulog
CRAN pending

Electronic audit logging for R, designed around 21 CFR Part 11 requirements. Tamper-evident, user-attributed, timestamp-verified logging of all analytical actions. Ships with IQ/OQ/PQ qualification scripts.

  • Hash-chained audit log with electronic signatures
  • User-attributed action tracking with mandatory reasons
  • IQ/OQ/PQ qualification suite included
  • Deep integration with reproducr
> pak::pak("repro-stats/regulog")
View on GitHub →
lineager
In development

Row-level data provenance for clinical datasets. Track every transformation from raw SDTM input to analysis-ready ADaM datasets with complete traceability and CDISC Reviewer's Guide-aligned reports.

  • Row-level lineage IDs that survive filters and joins
  • Mandatory documented reasons for every exclusion
  • CONSORT-style disposition tables from derivation objects
  • Subject-level trace across the full pipeline
> pak::pak("repro-stats/lineager")
View on GitHub →
Bayesian Methods Suite by Ndoh Penn · github.com/ndohpenngit
bayprior
CRANShiny app

Structured Bayesian prior elicitation, conflict diagnostics, sensitivity analysis, and regulatory reporting for clinical trials. Aligned with the FDA 2026 draft guidance on Bayesian methods.

  • SHELF-style elicitation across 6 distribution families
  • Prior-data conflict diagnostics
  • Sensitivity analysis with tornado plots
  • Regulatory prior justification reports (HTML/PDF/Word)
> install.packages("bayprior")
Docs & source →
baymon
Planned

Bayesian interim monitoring using predictive probability. Unified futility and efficacy stopping rules across binary, continuous, and time-to-event endpoints. Integrates bayprior priors directly.

  • Predictive probability of trial success at each interim
  • Efficacy and futility stopping boundaries
  • Operating characteristics via Monte Carlo simulation
  • FDA 2026 Bayesian guidance aligned
> Coming soon
Follow progress →
bayoc
Planned

Bayesian operating characteristics simulation for clinical trial design. Simulate type I error, power, and expected sample size under user-specified priors and decision thresholds.

  • OC simulation across prior and design scenarios
  • Prior sensitivity on operating characteristics
  • Regulatory-ready OC tables and plots
  • Works with bayprior and baymon
> Coming soon
Follow progress →
baysen
Planned

Bayesian sensitivity analysis for clinical trials. Prior sensitivity, missing data tipping points, and estimand-aware sensitivity analyses across binary, continuous, and time-to-event endpoints.

  • Prior sensitivity across elicited prior families
  • Bayesian tipping point analysis for missing data
  • ICH E9(R1) estimand-linked sensitivity framework
  • Unified across all endpoint types
> Coming soon
Follow progress →
From the blog

Recent writing on
R in regulated settings.

Practical guides, methodology notes, and regulatory context for pharma statisticians. See all posts →

Enterprise platform

Need more than
open source? Reprosia.

These packages are the open-source foundation. Reprosia is the platform built on top — adding environment validation, submission tooling, and expert services for regulated pharma teams.

Explore reprosia.com →
About ReproStats

Why these packages
exist.

Reproducibility in clinical analyses is harder than it should be. R environments go undocumented, package versions drift, and the steps between raw data and submission output are rarely captured in a way that supports independent verification.

ReproStats is an open-source project building the R infrastructure to address this. Packages covering behavioural reproducibility auditing (reproducr), electronic audit logging (regulog), Bayesian prior methodology (bayprior), and row-level data provenance (lineager).

Alongside the infrastructure suite, Ndoh Penn maintains a Bayesian clinical trial suite (bayprior on CRAN, with baymon, bayoc, and baysen in development) aligned with FDA 2026 Bayesian guidance.

ReproStats is maintained by Ndoh Penn, a biostatistician based in Antwerp, Belgium. The enterprise platform built on this foundation is Reprosia.

21 CFR
Part 11 & EU Annex 11
CDISC
ADaM & SDTM aligned
FDA
2026 Bayesian guidance
EU
Antwerp, Belgium

Questions, contributions,
or collaboration?