diff options
author | Wiktor Żelazny <wzelazny@vurv.cz> | 2019-09-12 18:44:57 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-09-13 00:44:57 +0200 |
commit | 16fddf17f5ba90cd1b3c203a5fd8ec5b652fddb7 (patch) | |
tree | 7946ab98360e3910b7a9441ddb438b9c93c996f1 /gnu/packages | |
parent | 86ce3691e1439ca446c2089bf4f24b36b23212d5 (diff) | |
download | guix-16fddf17f5ba90cd1b3c203a5fd8ec5b652fddb7.tar guix-16fddf17f5ba90cd1b3c203a5fd8ec5b652fddb7.tar.gz |
gnu: Add r-assertr.
* gnu/packages/cran.scm (r-assertr): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/cran.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 6ef2066429..aa1135d0e4 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2018, 2019 Brett Gilio <brettg@posteo.net> ;;; Copyright © 2019 Nicolò Balzarotti <anothersms@gmail.com> +;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz> ;;; ;;; This file is part of GNU Guix. ;;; @@ -15365,3 +15366,30 @@ common graph algorithms.") removing cell free mRNA contamination (the \"soup\") from droplet based single cell RNA-seq experiments.") (license license:gpl2)))) + +(define-public r-assertr + (package + (name "r-assertr") + (version "2.6") + (source + (origin + (method url-fetch) + (uri (cran-uri "assertr" version)) + (sha256 + (base32 + "0g4ii6vhp0155a29ljhs64a09x0nzy5ybvwwchhk4mkcgsvnvfkj")))) + (build-system r-build-system) + (propagated-inputs + `(("r-dplyr" ,r-dplyr) + ("r-mass" ,r-mass) + ("r-rlang" ,r-rlang))) + (native-inputs + `(("r-knitr" ,r-knitr))) ; needed for vignette + (home-page "https://github.com/ropensci/assertr") + (synopsis "Assertive programming for R analysis pipelines") + (description + "This package provides functionality to assert conditions that have to be +met so that errors in data used in analysis pipelines can fail quickly. It is +similar to @code{stopifnot()} but more powerful, friendly, and easier for use +in pipelines.") + (license license:expat))) |