diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index c2a01d5c30..757c67bcf5 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -6244,3 +6244,41 @@ (define-public r-norm normal model.") ;; Custom license, see https://cran.r-project.org/web/packages/norm/LICENSE. (license (license:non-copyleft "file://LICENSE")))) + +(define-public r-naniar + (package + (name "r-naniar") + (version "0.6.1") + (source (origin + (method url-fetch) + (uri (cran-uri "naniar" version)) + (sha256 + (base32 + "0l3l2x85v3srilww483kpgp4zlwixyml257b0cqly8kcpwawlinm")))) + (build-system r-build-system) + (propagated-inputs + `(("r-dplyr" ,r-dplyr) + ("r-norm" ,r-norm) + ("r-forcats" ,r-forcats) + ("r-ggplot2" ,r-ggplot2) + ("r-glue" ,r-glue) + ("r-magrittr" ,r-magrittr) + ("r-purrr" ,r-purrr) + ("r-rlang" ,r-rlang) + ("r-tibble" ,r-tibble) + ("r-tidyr" ,r-tidyr) + ("r-upsetr" ,r-upsetr) + ("r-viridis" ,r-viridis) + ("r-visdat" ,r-visdat))) + (native-inputs + `(("r-knitr" ,r-knitr))) + (home-page "https://github.com/njtierney/naniar") + (synopsis + "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. The package 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 @code{ggplot2} and tidy data.") + (license license:expat)))