Skip to content

naniar

1.1.0

Data Structures, Summaries, and Visualisations for Missing Data

13packages depend
319.5Kdownloads / year
91.1%test coverage
1/13checks pass

Overview

About
Maintained by Nicholas TierneyFirst published 2017-08-0914 releasesCRAN page ↗GitHub ↗

Missing values are ubiquitous in data and need to be explored and handled in the initial stages of analysis. 'naniar' provides data structures and functions that facilitate the plotting of missing values and examination of imputations. This allows missing data dependencies to be explored with minimal deviation from the common work patterns of 'ggplot2' and tidy data. The work is fully discussed at Tierney & Cook (2023) doi:10.18637/jss.v105.i07.

Install

Health

CRAN checks
12NOTE1OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 5.4 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 1.40
91.1%
Coverage · measured lines
99%
Documentation · exports
17
Dependencies · direct
Check history
  • NOTE2026-06-08
    2 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    1 OK · 11 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    4 OK · 10 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,104 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
95%
Documented parameters
100%
Return-value docs
88%
References docs
1%

Downloads

319.5K
CRAN downloads in the past year
Rank #801 · ~875/day · ~26.6K/mo
Daily download trend is not available in this view yet.
18.8K30 days
66K90 days
319.5K1 year
Compare downloads with other packages →
Also on4.8K r2u41 autocran3.2K conda_forge104 c2d4u

Repository

Repository
673Stars
56Forks
68Open issues
2Open PRs
13Releases
967Commits
24Contributors
missing-datadata-visualisationggplot2missingnesstidy-datar-package
967 commits · Last activity 2025-04-30 · 0% stars, 30d

Stars over time

2025-06-20 · 6562026-07-07 · 673

Repository practices

Upstream repositoryBeta

7 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/njtierney/naniar on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
29 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.1.2
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Code Composition
R 9,380 (58%)Rd 4,235 (26%)Vignettes 1,353 (8%)Markdown 1,331 (8%)Other 3 (0%)
Code characteristics
Object systems
S341
Cyclomatic complexity
1.0 median / 7 max
Test cases
364 / 1.40 per code line

Test coverage

Line coverage

91%

Expression

91.7%

Tests / Examples

91.1% / – ex

Functions

186 114 exported

Complexity

1.4 avg / 7 max

Call network

186 nodes / 182 edges

Loading call graph…

Lowest coverage

186 functions
FunctionCycloCoverage
add_miss_cluster exp10%
draw_key_missing_point exp10%
gg_miss_upset exp10%
miss_case_cumsum exp10%
stat_miss_point exp10%
where_na exp10%

Datasets

Bundled datasets · 5
NameClassRows × ColsAlso ships in
common_na_numbersvector
common_na_stringsvector
oceanbuoystbl_df/tbl/data.frame736 × 8
pedestriantbl_df/tbl/data.frame37,700 × 9
riskfactorstbl_df/tbl/data.frame245 × 34

People & History

People (8)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Author
Author
Contributors (4)
Contributor · added in 0.6.1
Contributor · added in 0.2.0
Contributor · added in 0.4.0.0
Contributor · added in 0.3.0
Package Timeline

14 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.0Latest
    2024-03-05 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.0
    2023-02-02 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.6.1
    2021-05-14 · diff ↗
  • 0.6.0
    2020-09-02 · diff ↗
  • 0.5.2
    2020-06-29 · diff ↗
  • 0.5.1
    2020-05-01 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.5.0
    2020-02-28 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.4.2
    2019-02-15 · diff ↗
Show 8 earlier events
  • 0.4.1
    2018-11-20 · diff ↗
  • 0.4.0.0
    2018-09-10 · diff ↗
  • 0.3.1
    2018-06-08 · diff ↗
  • 0.3.0
    2018-06-07 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.0
    2018-02-09 · diff ↗
  • 0.1.0
    2017-08-09
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-08-09
Total releases
14 / 9 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.1.2
Bundled data
70 KB / 5 files
Download size
2.7 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →