Description
Assist in reproducible retrospective (ex-post) harmonization of data, particularly individual level survey data, by providing tools for organizing metadata, standardizing the coding of variables, and variable names and value labels, including missing values, and documenting the data transformations, with the help of comprehensive s3 classes.
Downloads
537
Last 30 days
7141st
861
Last 90 days
926
Last year
Trend: +98.2% (30d vs prior 30d)
0
Last 30 days
37
Last 90 days
180
Last year
Trend: -100% (30d vs prior 30d)
3
Last 7 days
14
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
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 Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
tests
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [20s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(retroharmonize)
>
> test_check("retroharmonize")
Saving ZA5913_subset.rds
Saving
...[truncated]...
else(append, "a", "w"))`: cannot open the connection
Backtrace:
▆
1. └─utils::write.table(...)
2. └─base::file(file, ifelse(append, "a", "w"))
[ FAIL 1 | WARN 7 | SKIP 5 | PASS 276 ]
Error:
! Test failures.
Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 25, 2026
ERROR 3 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 21, 2026
package dependencies
Packages required but not available: 'dataset', 'labelled' See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
Code
Structure
Lines of code
13,756
Files
186
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
50
Internal functions
50
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.56
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
93.9%
\dontrun example ratio
23.1%
Roxygen coverage
98%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
5%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.5.0
System requirements
–
C++ standard
–
License
GPL-3
License flags
SPDX valid, OSI approved
History
Versions
5
First release
2020-09-21
Latest release
2026-05-21
Avg cadence
204 days
Cold removal rate
100%
Dep drift
7
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.