From 3f22a115bd792af0ce8cee9f0723c5f5fada0b2d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 7 Mar 2019 22:05:03 +0100 Subject: gnu: Add r-ellipsis. * gnu/packages/cran.scm (r-ellipsis): New variable. --- gnu/packages/cran.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index cc23c53f4c..cb7689ecdb 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -84,6 +84,28 @@ (define-public r-clipr the system clipboards.") (license license:gpl3))) +(define-public r-ellipsis + (package + (name "r-ellipsis") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "ellipsis" version)) + (sha256 + (base32 + "0pw94qpg81xmsdsagpqxddv7m2cmdszmyyq99dk3caqqj01z7wg6")))) + (build-system r-build-system) + (home-page "https://github.com/hadley/ellipsis") + (synopsis "Tools for working with additional arguments") + (description + "In S3 generics, it's useful to take @code{...} so that methods can have +additional arguments. But this flexibility comes at a cost: misspelled +arguments will be silently ignored. The @code{ellipsis} package is an +experiment that allows a generic to warn if any arguments passed in @code{...} +are not used.") + (license license:gpl3))) + (define-public r-sys (package (name "r-sys") -- cgit v1.2.3