lineager: Row-Level Data Provenance and Exclusion Tracking

Provides row-level data provenance tracking for analytical pipelines. Tags datasets with unique lineage identifiers that persist through filter, join, and derive operations. Requires documented reasons for every row exclusion, capturing who was removed, why, and at which pipeline stage. Variable derivations are registered as structured specifications linking output variables back to their source. Any row in any downstream dataset can be traced back to its origin via lg_trace(). Generates structured HTML provenance reports suitable for regulatory submissions, internal audit, or analytical documentation. General-purpose: works for clinical data, machine learning pipelines, financial modelling, epidemiology, or any workflow where row-level accountability matters. Optional features support pharmaceutical users including population flag definitions, source-to-analysis variable mapping, and Reviewer's Guide-aligned report output. Complements the 'regulog' package for tamper-evident session-level audit logging. For more details see <https://reprostats.org/lineager/>.

Version: 0.1.1
Imports: dplyr (≥ 1.1.0), magrittr (≥ 2.0.3)
Suggests: admiral, DiagrammeR, ggplot2, haven, knitr, mockery, rmarkdown, testthat (≥ 3.0.0), tibble
Published: 2026-08-20
DOI: 10.32614/CRAN.package.lineager (may not be active yet)
Author: Ndoh Penn ORCID iD [aut, cre]
Maintainer: Ndoh Penn <ndohpenn9 at gmail.com>
BugReports: https://github.com/repro-stats/lineager/issues
License: MIT + file LICENSE
URL: https://reprostats.org, https://github.com/repro-stats/lineager
NeedsCompilation: no
Language: en-GB
Materials: README, NEWS
CRAN checks: lineager results

Documentation:

Reference manual: lineager.html , lineager.pdf
Vignettes: Exclusion tracking and subject tracing (source, R code)
Getting started with lineager (source, R code)
Populations, variable specifications, and reporting (source, R code)

Downloads:

Package source: lineager_0.1.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): lineager_0.1.1.tgz, r-oldrel (arm64): lineager_0.1.1.tgz, r-release (x86_64): lineager_0.1.1.tgz, r-oldrel (x86_64): lineager_0.1.1.tgz

Linking:

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

mirror server hosted at Truenetwork, Russian Federation.