Skip to content

leakr

0.1.0Package record

Data Leakage Detection Tools for Machine Learning

0packages depend
2.6Kdownloads / year
10.9%test coverage
13/13flavors OK

Overview

About

Provides utilities to detect common data leakage patterns including train/test contamination, temporal leakage, and data duplication, enhancing model reliability and reproducibility in machine learning workflows. Generates diagnostic reports and visual summaries to support data validation. Methods based on best practices from Hastie, Tibshirani, and Friedman (2009, ISBN:978-0387848570).

Changes in 0.1.0
  • Initial CRAN submission
  • Core functionality for detecting data leakage in ML workflows:
  • Train/test contamination detection
  • Target leakage identification
  • Duplicate record detection
  • Temporal misalignment checks
  • Comprehensive reporting with visual summaries
  • Integration support for caret, mlr3, and tidymodels

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.1 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
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 423 wordsVignettesYes · 3 · dynamicNEWSYes · 67% structured · mentions 0.1.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
51 (28 internal)includes a package overview page
Examples that run
25%2 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran) · 4 never run
Exported functions with examples
30%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.6K
CRAN downloads in the past year
Rank #20,274 · ~7/day · ~220/mo
Daily download trend is not available in this view yet.
23330 days
65890 days
2.6K1 year
Compare downloads with other packages →
Also on62 r2u4 autocran

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing leakr adds 74 packages (37 with compiled code, 55 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2025)
Listed in earlier versions (1)
Lim
no longer listed · 0.1.0
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2025-10-26 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-10-26
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Download size
113 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("leakr")
Lim, C. I. (2025). leakr: Data Leakage Detection Tools for Machine Learning (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.leakr

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

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