guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/20: gnu: Add r-farver.


From: guix-commits
Subject: 09/20: gnu: Add r-farver.
Date: Wed, 27 Mar 2019 11:17:31 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 1c59ec707e3a6f4496af411d4e2f46fbd4628ce4
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Mar 27 15:44:00 2019 +0100

    gnu: Add r-farver.
    
    * gnu/packages/cran.scm (r-farver): New variable.
---
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5f1dd03..c943efe 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -13120,3 +13120,28 @@ package.  The result looks like the original 
@code{graphics}-based plot, but
 consists of @code{grid} grobs and viewports that can then be manipulated with
 @code{grid} functions (e.g., edit grobs and revisit viewports).")
     (license license:gpl2+)))
+
+(define-public r-farver
+  (package
+    (name "r-farver")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "farver" version))
+       (sha256
+        (base32
+         "1dllgx121al374gyp9pjv1m8ip4imm8zhbgyh1970dsz2c4z71i0"))))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-rcpp" ,r-rcpp)))
+    (home-page "https://github.com/thomasp85/farver";)
+    (synopsis "Vectorized color conversion and comparison")
+    (description
+     "The encoding of color can be handled in many different ways, using
+different color spaces.  As different color spaces have different uses,
+efficient conversion between these representations are important.  This
+package provides a set of functions that gives access to very fast color space
+conversion and comparisons implemented in C++, and offers 100-fold speed
+improvements over the @code{convertColor} function in the @code{grDevices}
+package.")
+    (license license:expat)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]