naniar
1.1.0Data Structures, Summaries, and Visualisations for Missing Data
Overview
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
- 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
- NOTE2026-06-082 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-071 OK · 11 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-104 OK · 10 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 95%
- Documented parameters
- 100%
- Return-value docs
- 88%
- References docs
- 1%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
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.
Show all practices
Dependencies
Code & Tests
- 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
Call graph
Open call graph →Lowest coverage
186 functions| Function | Cyclo | Coverage |
|---|---|---|
| add_miss_cluster exp | 1 | 0% |
| draw_key_missing_point exp | 1 | 0% |
| gg_miss_upset exp | 1 | 0% |
| miss_case_cumsum exp | 1 | 0% |
| stat_miss_point exp | 1 | 0% |
| where_na exp | 1 | 0% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| common_na_numbers | vector | – | – |
| common_na_strings | vector | – | – |
| oceanbuoys | tbl_df/tbl/data.frame | 736 × 8 | – |
| pedestrian | tbl_df/tbl/data.frame | 37,700 × 9 | – |
| riskfactors | tbl_df/tbl/data.frame | 245 × 34 | – |
People & History
14 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.1.0Latest
- RR 4.3.0 released · 2023-04-21
- 1.0.02023-02-02 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.6.12021-05-14 · diff ↗
- 0.6.02020-09-02 · diff ↗
- 0.5.22020-06-29 · diff ↗
- 0.5.12020-05-01 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.5.02020-02-28 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.4.22019-02-15 · diff ↗
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