Skip to content

declared

0.27Package record

Functions for Declared Missing Values

2packages depend
44.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 2.5 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.27
README· In the repository, left out of the releaseVignettesYes · 3 · staticNEWSNoCitation fileNoWebsiteYes · pkgdown
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

44.1K
CRAN downloads in the past year
Rank #1,804 · ~121/day · ~3.7K/mo
Daily download trend is not available in this view yet.
4K30 days
11.2K90 days
44.1K1 year
Compare downloads with other packages →
Also on548 r2u9 autocran49 c2d4u

Repository

6Stars
3Forks
0Open issues
0Open PRs
0Releases
456Commits
4Commit identities
License file reads as GPL-3.0 · 456 commits · Last activity 2026-08-22
Responsiveness
How these are sampled
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

2025-02-08 · 62026-07-07 · 6
PracticesBeta

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.

Continuous integration (1)
AppVeyor
Governance and community (3)
Contributing guideFunding

Funding links: GitHub Sponsors, Patreon, Liberapay, Buy Me a Coffee

The repository owner accepts GitHub Sponsors

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-08-22

pkgdown site last built 2026-08-09, before release 0.27 (2026-08-22)

Coverage (2)
Coverage reporting (Codecov).covrignore
Show all practicesHide 1 practice
Research and citation (1)
codemeta.json
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing declared adds no packages beyond those that come with R.

Depends (0)
none
Imports (2)
statsutils
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
2direct
6indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 0.5 (2021), Copyright holder
Listed in earlier versions (1)
no longer listed · 0.18 to 0.25
Releases (22)

Pick two releases to compare their code metrics.

  • 0.27Latest
    record
    2026-08-22 · current release · diff ↗ ·
    added 2 exports
    valid_na_index, wmeasures
  • R
    R 4.6.0 released · 2026-04-24
  • 0.26
    record
    2026-04-02 · diff ↗ ·
    added 12 exports
    direct_declared, wIQR, wfivenum, wmean, wmedian, wmode, wquantile, wsd, wstandardize, wsummary, wtable, wvar
  • R
    R 4.5.0 released · 2025-04-11
  • 0.25
    record
    2024-09-08 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.24
    record
    2023-12-07 · diff ↗
  • 0.23
    record
    2023-10-01 · diff ↗
  • 0.22
    record
    2023-07-10 · diff ↗ ·
    added 1 export
    anyTagged_
  • 0.21
    record
    2023-05-16 · diff ↗ ·
    added 2 exports
    w_IQR, w_fivenum
  • R
    R 4.3.0 released · 2023-04-21
  • 0.20
    record
    2023-03-03 · diff ↗ ·
    added 2 exports
    anyNAdeclared, anyNAempty
  • 0.19
    record
    2022-10-01 · diff ↗
  • 0.18
    record
    2022-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
    record
    2022-06-20 · diff ↗ ·
    added 2 exports
    measurement, measurement<-
  • 0.16
    record
    2022-05-13 · diff ↗ ·
    removed 2 exports
    as_declared, as_haven
Show 12 earlier eventsHide 12 earlier events
  • R
    R 4.2.0 released · 2022-04-22
  • 0.15
    record
    2022-04-13 · diff ↗ ·
    removed 4 exports
    is_declared, frtable, names_values, to_labels
    added 2 exports
    as.haven, is.empty
  • 0.13
    record
    2022-04-03 · diff ↗ ·
    added 4 exports
    as.declared, is.declared, w_mode, w_standardize
  • 0.12
    record
    2022-03-14 · diff ↗ ·
    added 1 export
    w_summary
  • 0.11
    record
    2022-03-03 · diff ↗
  • 0.10
    record
    2022-02-22 · diff ↗ ·
    added 6 exports
    w_mean, w_median, w_sd, w_table, w_var, w_quantile
  • 0.9
    record
    2022-02-11 · diff ↗
  • 0.8
    record
    2022-01-11 · diff ↗ ·
    added 1 export
    frtable
  • 0.7
    record
    2021-09-02 · diff ↗
  • 0.6
    record
    2021-08-18 · diff ↗
  • 0.5
    record
    2021-06-16
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-06-16
Total releases
22 / 5 yrs
License
GPL (>= 3) OSI
Download size
72 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("declared")
Dusa, A. (2026). declared: Functions for Declared Missing Values (Version 0.27) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for declared version 0.27 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

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.

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