R Observatory
Search
install.packages("madrat")
CRAN checks, method
OKnotes on 5 of 13
CRAN 30-day downloads, method
489−14.7% down on the 30 days before, the worse direction
Test coverage, method
89%of lines run by tests

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.

Full 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.

Maintainer
Jan Philipp Dietrich
Latest release
2 Jul 2026
First release
29 May 2017

Compare with another package

More details
Releases
14
Needs compilation
No
Needs R
>= 2.10.0
Config/Keywords
tool
Config/Needs/website
tidyverse/tidytemplate
Config/roxygen2/version
8.0.0
Date
2026-07-01
Task views (1)
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("madrat")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

The repository also keeps a CITATION.cff.

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

From data release v2026-10-28, which the citation names so these numbers can be found later.

No warnings or errors. 5 of 13 check platforms have notes.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    Note

    Version checked
    3.37.1
    Time taken
    217 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    3.37.1
    Time taken
    151 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    Note

    Version checked
    3.37.1
    Time taken
    167 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    Note

    Version checked
    3.37.1
    Time taken
    144 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    Note

    Version checked
    3.37.1
    Time taken
    247 s

    R code for possible problems: Note

    Found calls to structure() using deprecated special names:

    Full output

  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    3.37.1
    Time taken
    70 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    3.37.1
    Time taken
    287 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    3.37.1
    Time taken
    303 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    3.37.1
    Time taken
    200 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    3.37.1
    Time taken
    201 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    3.37.1
    Time taken
    68 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    3.37.1
    Time taken
    226 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    3.37.1
    Time taken
    248 s
  • 5 Note
  • 8 OK
Check output (1)

R code for possible problems, Note on 5 platforms

Found calls to structure() using deprecated special names:
  madrat/tests/testthat/test-calcOutput.R (.Dim: 10, .Dimnames: 10)
  madrat/tests/testthat/test-toolAggregate.R (.Dim: 1, .Dimnames: 1)
  madrat/tests/testthat/test-toolFillWithRegionAvg.R (.Dim: 1, .Dimnames: 1)
  madrat/tests/testthat/test-toolISOhistorical.R (.Dim: 3, .Dimnames: 3)
  madrat/tests/testthat/test-variousTools.R (.Dim: 4, .Dimnames: 4)
'.Dim' should be changed to 'dim'.
'.Dimnames' should be changed to 'dimnames'.

Over time

No change since 16 Jul 2026

As a list (8)
ChangedWorst statusOKNotesWarningsErrors
16 Jul 2026Note11200
4 Jul 2026OK13000
19 Jun 2026Error11002
13 Jun 2026OK13000
4 Jun 2026Error12001
14 May 2026OK13000
11 May 2026Error11002
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
523−16.7% down on the 30 days before, the worse directionIt is the sum of 4 channels: CRAN, r2u, autoCRAN and c2d4u.

CRAN rank

6,359 of 26,530

CRAN

489 downloads in the last 30 days

Rank
6,359 of 26,530
Change
−14.7% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

15 downloads in the last 30 days

Rank
5,485 of 30,526
Change
−55.9% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

6 downloads in the last 30 days

Rank
8,234 of 29,212
Change
−57.1% down on the 30 days before, the worse direction

It is in the total. Take it out

c2d4u, no longer updated

13 downloads in the last 30 days

Rank
1,323 of 7,575
Change
+85.7% up on the 30 days before, the better direction

It is in the total. Take it out

Over time

Compare downloads

Needs
14
Dependent packages
0
Suggested by
1
Needs (14)
Installing it adds
28 packages, 29.2 MB of source
Of those, need compilation
14
Optional extras (9)
Functions
126
Public exports
55
Lines of R code
7,857
Median complexity
6
Functions (126)
Size and composition

Lines by kind (16,039)

KindLinesShare
R code7,85749%
Tests3,85224%
Documentation3,88924%
Guides4413%

Lines by language

LanguageLinesShare
R11,70973%
Rd3,88924%
Vignettes4413%

Languages are counted from file extensions.

Files
240
R functions
126
Complexity
Median
6
Mean
8.78
Highest
104
Median lines per function
27.5
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
126
Calls
259
Unconnected
12
Groups
3
Growth (14 releases)
Total lines by release
3,822 on 29 May 201716,039 on 2 Jul 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
89%
Expressions run by tests
88.8%
Test cases
158
Exports named in tests
89.1%
Coverage by file (83)
Coverage run
Lines counted
3,753
Lines the tests ran
3,339
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
158
Lines of tests
3,852
Test lines per line of code
0.49
Exports documented
100%
Arguments documented
99.7%
Return value documented
69.8%
Help pages with examples
59.5%
Examples run in checks
56%
Guides (3)
Other documentation
README
Yes, 281 words
Release notes file
No
Help pages
84
Lines of documentation
3,889

7 datasets, 0 can be loaded by name

DatasetSizeColumns
ISOhistorical35 × 3fromISO, toISO, lastYear
country2iso986 × 2X, x
iso_country249 × 2X, x
pop2015length 2,490
regionmappingH12249 × 3X, CountryCode, RegionCode
regionmapping_21_EU11-columnname249 × 3X, ISOcountry, X21EU11
sysdatalength 1
Earlier names (1)
  • Pascal Führlich

pik-piam / madrat on github.com

Stars
18no change on 30 days ago
Forks
47
Open issues
11
Last commit
22 Oct 2026
Activity
Commits
1,632
Open pull requests
2
Tagged releases
5
Latest tagged release
v3.30, 2 May 2023
In development
Default branch at 3.44.1, ahead of CRAN 3.37.1 (checked 2026-10-25)
Issues closed in
4 days (median)
Pull requests closed in
1 day (median)
Pull requests merged
93%
Created
30 May 2017
Licence file reads as
–
Development practices (13)
KindFound
Continuous integrationGitHub Actions
Governance and communityContributing guide
Docs sourcepkgdown
GitHub Pages site last deployed 2026-10-22
The repository has a site deploy workflow
CoverageCoverage reporting (Codecov)
Reproducibility and dev environmentMakefile
CRAN release processcran-comments.md, CRAN-SUBMISSION
Research and citationCITATION.cff
Automation and maintenancepre-commit
Lint, format, editorlintr
Git structural.gitattributes

Method, repository practices

Across pik-piam

Claude Codeat least 3 crediting itClaude CodeFirst seen 13 Mar 2026at least 3 crediting it
Claude Sonnet 5Claude Sonnet 517 Aug 2026 to 31 Aug 20263 commits

Tools

ToolFirst seenFoundCommits crediting it
Claude Code13 Mar 2026Named in .Rbuildignore.claude3 at least
  • Named in .Rbuildignore

Models

ModelCommitsFirst commitLast commitCredit lines of
Claude Sonnet 5317 Aug 202631 Aug 2026Claude Code

Across pik-piam

R releases
  • On CRAN
  • Archived
  • Release
1.8.01.61.03.3.03.37.1Archived and backArchived and back

Archived and back

ArchivedBackCRAN's reasonKind
3 Jul 20236 Jul 2023issues were not corrected in timeChecks not fixed
VersionReleasedREvents
3.37.1 current2 Jul 20264.6.1
3.15.619 Dec 20244.4.2
3.6.423 Aug 20234.3.1
3.3.69 Jul 20234.3.1
3.3.56 Jul 20234.3.1Back on CRAN 6 Jul 2023
3.3.46 Jul 20234.3.1
3.3.02 May 20234.3.0Archived 3 Jul 2023
“issues were not corrected in time”
2.3.211 Oct 20214.1.1
Earlier versions (6)
VersionReleasedR
2.3.15 Oct 20214.1.1
1.64.517 Dec 20193.6.2
1.64.417 Dec 20193.6.2
1.61.029 May 20193.6.0
1.22.16 Sep 20173.4.1
1.8.029 May 20173.4.0