Skip to content

madrat

May All Data be Reproducible and Transparent (MADRaT) *

v3.37.1 · Jul 2, 2026 · BSD_2_clause + file LICENSE

Description

Provides a framework which should improve reproducibility and transparency in data processing. It provides functionality such as automatic meta data creation and management, rudimentary quality management, data caching, work-flow management and data aggregation. * The title is a wish not a promise. By no means we expect this package to deliver everything what is needed to achieve full reproducibility and transparency, but we believe that it supports efforts in this direction.

Downloads

CRAN

491

Last 30 days

8258th

1.2K

Last 90 days

6.3K

Last year

Trend: +61.5% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

52

Last 90 days

129

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

5

Last 7 days

12

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jul 4, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Jun 19, 2026
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘testthat.R’ [49s/53s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(madrat)
  Loading required package: magclass
  
  Attaching package: 'magclass'
  
  The following objects are masked fr
...[truncated]...
, rel)
   5.         ├─newX[, i]
   6.         └─newX[, i]
   7.           └─magclass (local) .local(x, i, j, ..., drop = drop)
  
  [ FAIL 6 | WARN 0 | SKIP 8 | PASS 650 ]
  Error:
  ! Test failures.
  Execution halted
  Ran 3/3 deferred expressions
ERROR r-devel-linux-x86_64-fedora-gcc

tests

Running ‘testthat.R’ [63s/66s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(madrat)
  Loading required package: magclass
  
  Attaching package: 'magclass'
  
  The following objects are masked fr
...[truncated]...
, rel)
   5.         ├─newX[, i]
   6.         └─newX[, i]
   7.           └─magclass (local) .local(x, i, j, ..., drop = drop)
  
  [ FAIL 6 | WARN 0 | SKIP 7 | PASS 651 ]
  Error:
  ! Test failures.
  Execution halted
  Ran 3/3 deferred expressions
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 13, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 4, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [26s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(madrat)
  Loading required package: magclass
  
  Attaching package: 'magclass'
  
  The following objects are masked fr
...[truncated]...
, rel)
   5.         ├─newX[, i]
   6.         └─newX[, i]
   7.           └─magclass (local) .local(x, i, j, ..., drop = drop)
  
  [ FAIL 6 | WARN 0 | SKIP 8 | PASS 650 ]
  Error:
  ! Test failures.
  Execution halted
  Ran 3/3 deferred expressions
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 14, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE May 11, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [26s/34s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(madrat)
  Loading required package: magclass
  
  Attaching package: 'magclass'
  
  The following objects are masked fr
...[truncated]...
, rel)
   5.         ├─newX[, i]
   6.         └─newX[, i]
   7.           └─magclass (local) .local(x, i, j, ..., drop = drop)
  
  [ FAIL 6 | WARN 0 | SKIP 8 | PASS 650 ]
  Error:
  ! Test failures.
  Execution halted
  Ran 3/3 deferred expressions
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [51s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(madrat)
  Loading required package: magclass
  
  Attaching package: 'magclass'
  
  The following objects are masked from '
...[truncated]...
, rel)
   5.         ├─newX[, i]
   6.         └─newX[, i]
   7.           └─magclass (local) .local(x, i, j, ..., drop = drop)
  
  [ FAIL 6 | WARN 0 | SKIP 8 | PASS 649 ]
  Error:
  ! Test failures.
  Execution halted
  Ran 3/3 deferred expressions
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

16,039

Files

240

Compiled share

0%

Has compiled src

No

Language breakdown

R 7,857 (49%)Tests 3,852 (24%)Docs 3,889 (24.2%)Vignettes 441 (2.7%)

API

Exported functions

55

Internal functions

71

Recent export changes

v3.6.4+4 getMadratMessage, putMadratMessage, resetMadratMessages +1 more
v3.37.1+3 returnCalcOutput, toolCompareStatusLogs, toolFixWeight  −2 madapply, madlapply

Testing & CI

Has tests

Yes

Test-to-code ratio

0.49

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

69.8%

\dontrun example ratio

44%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

57

Dep constraint coverage

21.4%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.10.0

System requirements

C++ standard

License

BSD_2_clause + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

14

First release

2017-05-29

Latest release

2026-07-02

Avg cadence

100 days

Cold removal rate

100%

Dep drift

24

LOC over versions

v1.8.0: 3,822 LOCv1.22.1: 4,312 LOCv1.61.0: 4,982 LOCv1.64.4: 5,283 LOCv1.64.5: 5,279 LOCv2.3.1: 8,833 LOCv2.3.2: 8,834 LOCv3.3.0: 11,680 LOCv3.3.4: 11,749 LOCv3.3.5: 11,756 LOCv3.3.6: 11,762 LOCv3.6.4: 12,297 LOCv3.15.6: 13,333 LOCv3.37.1: 16,039 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies magclass callr digest filelock igraph Matrix pkgload renv stringi withr yaml GDPuc madrat

Version History

15 tracked
updated 3.37.1 ← 3.15.6 diff Jul 2, 2026
new 3.15.6 Mar 10, 2026
updated 3.15.6 ← 3.6.4 diff Dec 18, 2024
updated 3.6.4 ← 3.3.6 diff Aug 22, 2023
updated 3.3.6 ← 3.3.5 diff Jul 8, 2023
updated 3.3.5 ← 3.3.4 diff Jul 5, 2023
updated 3.3.4 ← 3.3.0 diff Jul 5, 2023
updated 3.3.0 ← 2.3.2 diff May 1, 2023
updated 2.3.2 ← 2.3.1 diff Oct 10, 2021
updated 2.3.1 ← 1.64.5 diff Oct 4, 2021
updated 1.64.5 ← 1.64.4 diff Dec 16, 2019
updated 1.64.4 ← 1.61.0 diff Dec 16, 2019
updated 1.61.0 ← 1.22.1 diff May 28, 2019
updated 1.22.1 ← 1.8.0 diff Sep 5, 2017
new 1.8.0 May 28, 2017