naniar
Data Structures, Summaries, and Visualisations for Missing Data
Description
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>.
Downloads
21.1K
Last 30 days
789th
70.8K
Last 90 days
331.1K
Last year
Trend: -12.8% (30d vs prior 30d)
192
Last 30 days
655
Last 90 days
4.8K
Last year
Trend: -22.9% (30d vs prior 30d)
10
Last 7 days
21
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
200
Last 30 days
605
Last 90 days
3.2K
Last year
Trend: -22.8% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| 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-macos-x86_64 | OK |
| 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 | NOTE |
Check details (12 non-OK)
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'impute_below.Rd' 'impute_factor.Rd' 'impute_fixed.Rd'
'impute_mean.Rd' 'impute_median.Rd' 'impute_mode.Rd' 'impute_zero.Rd'
'replace_na_with.Rd'
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'impute_below.Rd' 'impute_factor.Rd' 'impute_fixed.Rd'
'impute_mean.Rd' 'impute_median.Rd' 'impute_mode.Rd' 'impute_zero.Rd'
'replace_na_with.Rd'
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'impute_below.Rd' 'impute_factor.Rd' 'impute_fixed.Rd'
'impute_mean.Rd' 'impute_median.Rd' 'impute_mode.Rd' 'impute_zero.Rd'
'replace_na_with.Rd'
Check History
NOTE 2 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'impute_below.Rd' 'impute_factor.Rd' 'impute_fixed.Rd'
'impute_mean.Rd' 'impute_median.Rd' 'impute_mode.Rd' 'impute_zero.Rd'
'replace_na_with.Rd'
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'impute_below.Rd' 'impute_factor.Rd' 'impute_fixed.Rd'
'impute_mean.Rd' 'impute_median.Rd' 'impute_mode.Rd' 'impute_zero.Rd'
'replace_na_with.Rd'
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'impute_below.Rd' 'impute_factor.Rd' 'impute_fixed.Rd'
'impute_mean.Rd' 'impute_median.Rd' 'impute_mode.Rd' 'impute_zero.Rd'
'replace_na_with.Rd'
ERROR 1 OK · 11 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'impute_below.Rd' 'impute_factor.Rd' 'impute_fixed.Rd'
'impute_mean.Rd' 'impute_median.Rd' 'impute_mode.Rd' 'impute_zero.Rd'
'replace_na_with.Rd'
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'impute_below.Rd' 'impute_factor.Rd' 'impute_fixed.Rd'
'impute_mean.Rd' 'impute_median.Rd' 'impute_mode.Rd' 'impute_zero.Rd'
'replace_na_with.Rd'
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'impute_below.Rd' 'impute_factor.Rd' 'impute_fixed.Rd'
'impute_mean.Rd' 'impute_median.Rd' 'impute_mode.Rd' 'impute_zero.Rd'
'replace_na_with.Rd'
NOTE 4 OK · 10 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'impute_below.Rd' 'impute_factor.Rd' 'impute_fixed.Rd'
'impute_mean.Rd' 'impute_median.Rd' 'impute_mode.Rd' 'impute_zero.Rd'
'replace_na_with.Rd'
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘impute_below.Rd’ ‘impute_factor.Rd’ ‘impute_fixed.Rd’
‘impute_mean.Rd’ ‘impute_median.Rd’ ‘impute_mode.Rd’ ‘impute_zero.Rd’
‘replace_na_with.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'impute_below.Rd' 'impute_factor.Rd' 'impute_fixed.Rd'
'impute_mean.Rd' 'impute_median.Rd' 'impute_mode.Rd' 'impute_zero.Rd'
'replace_na_with.Rd'
Code & tests
Open call graph →Code intelligence has not been computed for this package yet.
Code
Structure
Lines of code
16,302
Files
373
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
122
Internal functions
72
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
1.40
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
88%
\dontrun example ratio
5.4%
Roxygen coverage
99.2%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
11.8%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.1.2
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
14
First release
2017-08-09
Latest release
2024-03-05
Avg cadence
94 days
Cold removal rate
100%
Dep drift
9
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.