Row-Level Data Provenance and Exclusion Tracking
Overview
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/.
CRAN resubmission:
- Removed an unnecessary
\dontrun{}around thelg_plot()example — it runs in under a second and doesn't require anything beyond the package's own dependencies. - Removed single quotes around the function name
lg_trace()in theDESCRIPTIONfile's Description field (quotes are reserved for package names).
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK6 OK2026-08-21
Documentation
- Help pages
- 20 (1 internal)includes a package overview page
- Examples that run
- 94%15 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 89%
- Documented parameters
- 98%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/repro-stats/lineager on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-20 · The repository has a site deploy workflow
pkgdown site last built 2026-08-20
Show all practicesHide 1 practice
Dependencies
Code & Tests
People & History
- 0.1.1Latest2026-08-20 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-08-20
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 321 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("lineager")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.
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.