Functions for Declared Missing Values
Overview
A zero dependency package containing functions to declare labels and missing values, coupled with associated functions to create (weighted) tables of frequencies and various other summary measures. Some of the base functions have been rewritten to make use of the specific information about the missing values, most importantly to distinguish between empty and declared NA values. Some functions have similar functionality with the corresponding ones from packages "haven" and "labelled". The aim is to ensure as much compatibility as possible with these packages, while offering an alternative in the objects of class "declared".
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 12 (2 internal)includes a package overview page
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 90%
- Documented parameters
- 90%
- Return-value docs
- 90%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
Commits over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/dusadrian/declared on 2026-10-18.
Funding links: GitHub Sponsors, Patreon, Liberapay, Buy Me a Coffee
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-08-22
pkgdown site last built 2026-08-09, before release 0.27 (2026-08-22)
Show all practicesHide 1 practice
Dependencies
Installing declared adds no packages beyond those that come with R.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.27Latest
- RR 4.6.0 released · 2026-04-24
- 0.262026-04-02 · diff ↗ ·
added 12 exports
direct_declared, wIQR, wfivenum, wmean, wmedian, wmode, wquantile, wsd, wstandardize, wsummary, wtable, wvar - RR 4.5.0 released · 2025-04-11
- 0.252024-09-08 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.242023-12-07 · diff ↗
- 0.232023-10-01 · diff ↗
- 0.22
- 0.21
- RR 4.3.0 released · 2023-04-21
- 0.20
- 0.192022-10-01 · diff ↗
- 0.182022-09-29 · diff ↗ ·
removed 2 exports
value_labels<-, variable_label<-added 8 exports
label<-, labels<-, drop_na, getTag_, hasTag_, label, makeTag_, names_values - 0.17
- 0.16
Show 12 earlier eventsHide 12 earlier events
Package metadata
- First published
- 2021-06-16
- Total releases
- 22 / 5 yrs
- License
- GPL (>= 3) OSI
- Download size
- 72 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("declared")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-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.