From a9401b4c948552d6a5a95bbd295e61871f4c6d74 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Wed, 9 Sep 2020 16:59:42 +0200 Subject: [PATCH] gnu: Add r-useful. * gnu/packages/cran.scm (r-useful): New variable. --- gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 3b13bbd585..8f7e379e42 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -3724,6 +3724,36 @@ (define-public r-ucminf with the package @code{optim}.") (license license:gpl2+))) +(define-public r-useful + (package + (name "r-useful") + (version "1.2.6") + (source (origin + (method url-fetch) + (uri (cran-uri "useful" version)) + (sha256 + (base32 + "0n50v1q75k518sq23id14jphwla35q4sasahrnrnllwrachl67v1")))) + (properties `((upstream-name . "useful"))) + (build-system r-build-system) + (propagated-inputs + `(("r-assertthat" ,r-assertthat) + ("r-dplyr" ,r-dplyr) + ("r-ggplot2" ,r-ggplot2) + ("r-magrittr" ,r-magrittr) + ("r-matrix" ,r-matrix) + ("r-plyr" ,r-plyr) + ("r-purrr" ,r-purrr) + ("r-scales" ,r-scales))) + (home-page "https://github.com/jaredlander/useful") + (synopsis "A Collection of Handy, Useful Functions") + (description "This package provides a set of little functions that have been +found useful to do little odds and ends such as plotting the results of K-means +clustering, substituting special text characters, viewing parts of a +@code{data.frame}, constructing formulas from text and building design and +response matrices.") + (license license:bsd-3))) + (define-public r-ordinal (package (name "r-ordinal")