[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28980] [PATCH] gnu: Add r-forcats.
From: |
Kyle Meyer |
Subject: |
[bug#28980] [PATCH] gnu: Add r-forcats. |
Date: |
Tue, 24 Oct 2017 18:21:16 -0400 |
* gnu/packages/statistics.scm (r-forcats): New variable.
---
gnu/packages/statistics.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index b3ebd5abb..2fcef8369 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2016 Roel Janssen <address@hidden>
;;; Copyright © 2016 Ben Woodcroft <address@hidden>
;;; Copyright © 2016, 2017 Raoul Bonnal <address@hidden>
+;;; Copyright © 2017 Kyle Meyer <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5442,3 +5443,27 @@ the least concave majorant (LCM), for the half-normal
and correlation
distributions, and for computing empirical higher criticism (HC) scores and
the corresponding decision threshold.")
(license license:gpl3+)))
+
+(define-public r-forcats
+ (package
+ (name "r-forcats")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "forcats" version))
+ (sha256
+ (base32
+ "1mvwkynvvgz2vi8dyz11x7xrp53kadjawjcja34hwk1d89qf7g5m"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-magrittr" ,r-magrittr)
+ ("r-tibble" ,r-tibble)))
+ (home-page "http://forcats.tidyverse.org")
+ (synopsis "Tools for working with factors")
+ (description
+ "Helpers for reordering factor levels (including moving specified levels
+to front, ordering by first appearance, reversing, and randomly shuffling),
+and tools for modifying factor levels (including collapsing rare levels into
+other, \"anonymising\", and manually \"recoding\").")
+ (license license:gpl3)))
--
2.14.2
- [bug#28980] [PATCH] gnu: Add r-forcats.,
Kyle Meyer <=