unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/3] gnu: Add r-viridislite.
@ 2016-09-29 15:14 Ricardo Wurmus
  2016-09-29 15:14 ` [PATCH 2/3] gnu: Add r-purrr Ricardo Wurmus
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2016-09-29 15:14 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/statistics.scm (r-viridislite): 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 9cf79ef..51294e5 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -3040,6 +3040,31 @@ black-and-white.  They are also designed to be perceived by readers with the
 most common form of color blindness.")
     (license license:x11)))
 
+(define-public r-viridislite
+  (package
+    (name "r-viridislite")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "viridisLite" version))
+       (sha256
+        (base32
+         "1b0fhj8i1m9jsz91gzag60k7vy7kk5xkdg31rc3h3spq96l66psp"))))
+    (properties `((upstream-name . "viridisLite")))
+    (build-system r-build-system)
+    (home-page "https://github.com/sjmgarnier/viridisLite")
+    (synopsis "Default color maps from matplotlib")
+    (description
+     "This package is a port of the new @code{matplotlib} color maps ('viridis',
+'magma', 'plasma' and 'inferno') to R.  matplotlib is a popular plotting
+library for Python.  These color maps are designed in such a way that they
+will analytically be perfectly perceptually-uniform, both in regular form and
+also when converted to black-and-white.  They are also designed to be
+perceived by readers with the most common form of color blindness.  This is
+the 'lite' version of the more complete @code{viridis} package.")
+    (license license:expat)))
+
 (define-public r-tidyr
   (package
     (name "r-tidyr")
-- 
2.10.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] gnu: Add r-purrr.
  2016-09-29 15:14 [PATCH 1/3] gnu: Add r-viridislite Ricardo Wurmus
@ 2016-09-29 15:14 ` Ricardo Wurmus
  2016-09-29 15:14 ` [PATCH 3/3] gnu: r-plotly: Update to 4.5.2 Ricardo Wurmus
  2016-10-02 13:23 ` [PATCH 1/3] gnu: Add r-viridislite Ludovic Courtès
  2 siblings, 0 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2016-09-29 15:14 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/statistics.scm (r-purrr): 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 51294e5..fd5aaf4 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -3117,6 +3117,31 @@ and tidyr provides no margins or aggregation.")
 It uses and relies on grid graphics and formal (S4) classes and methods.")
     (license license:gpl2+)))
 
+(define-public r-purrr
+  (package
+    (name "r-purrr")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "purrr" version))
+       (sha256
+        (base32
+         "0lss8q733nv7s154wargm6vnxq55qygnxakib8xdj4jv0y86sxc3"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-bh" ,r-bh)
+       ("r-dplyr" ,r-dplyr)
+       ("r-lazyeval" ,r-lazyeval)
+       ("r-magrittr" ,r-magrittr)
+       ("r-rcpp" ,r-rcpp)))
+    (home-page "https://github.com/hadley/purrr")
+    (synopsis "Functional programming tools")
+    (description
+     "This package completes R's functional programming tools with missing
+features present in other programming languages.")
+    (license license:gpl3+)))
+
 (define-public r-plotly
   (package
     (name "r-plotly")
-- 
2.10.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] gnu: r-plotly: Update to 4.5.2.
  2016-09-29 15:14 [PATCH 1/3] gnu: Add r-viridislite Ricardo Wurmus
  2016-09-29 15:14 ` [PATCH 2/3] gnu: Add r-purrr Ricardo Wurmus
@ 2016-09-29 15:14 ` Ricardo Wurmus
  2016-10-02 13:23 ` [PATCH 1/3] gnu: Add r-viridislite Ludovic Courtès
  2 siblings, 0 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2016-09-29 15:14 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/statistics.scm (r-plotly): Update to 4.5.2.
[propagated-inputs]: Remove r-plyr; remove r-viridis; add r-dplyr; add
r-lazyeval; add r-purrr; add r-tibble; add r-viridislite.
---
 gnu/packages/statistics.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index fd5aaf4..cbaf026 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -3145,27 +3145,30 @@ features present in other programming languages.")
 (define-public r-plotly
   (package
     (name "r-plotly")
-    (version "3.6.0")
+    (version "4.5.2")
     (source (origin
               (method url-fetch)
               (uri (cran-uri "plotly" version))
               (sha256
                (base32
-                "15hvqa0sf4z6l6vvr614zjszfphwpv66zpc665iyiynq0pd1jv2c"))))
+                "08shs0qhy9js0fpj3d4rzfbwmw11ki3z5vg8jszfm6m69mfkgzw1"))))
     (build-system r-build-system)
     (propagated-inputs
      `(("r-base64enc" ,r-base64enc)
        ("r-digest" ,r-digest)
+       ("r-dplyr" ,r-dplyr)
        ("r-ggplot2" ,r-ggplot2)
        ("r-hexbin" ,r-hexbin)
        ("r-htmlwidgets" ,r-htmlwidgets)
        ("r-httr" ,r-httr)
        ("r-jsonlite" ,r-jsonlite)
+       ("r-lazyeval" ,r-lazyeval)
        ("r-magrittr" ,r-magrittr)
-       ("r-plyr" ,r-plyr)
+       ("r-purrr" ,r-purrr)
        ("r-scales" ,r-scales)
+       ("r-tibble" ,r-tibble)
        ("r-tidyr" ,r-tidyr)
-       ("r-viridis" ,r-viridis)))
+       ("r-viridislite" ,r-viridislite)))
     (home-page "https://plot.ly/r")
     (synopsis "Create interactive web graphics")
     (description
-- 
2.10.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/3] gnu: Add r-viridislite.
  2016-09-29 15:14 [PATCH 1/3] gnu: Add r-viridislite Ricardo Wurmus
  2016-09-29 15:14 ` [PATCH 2/3] gnu: Add r-purrr Ricardo Wurmus
  2016-09-29 15:14 ` [PATCH 3/3] gnu: r-plotly: Update to 4.5.2 Ricardo Wurmus
@ 2016-10-02 13:23 ` Ludovic Courtès
  2016-10-02 15:34   ` Ricardo Wurmus
  2 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2016-10-02 13:23 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus <rekado@elephly.net> skribis:

> * gnu/packages/statistics.scm (r-viridislite): New variable.

[...]

> * gnu/packages/statistics.scm (r-plotly): Update to 4.5.2.
> [propagated-inputs]: Remove r-plyr; remove r-viridis; add r-dplyr; add
> r-lazyeval; add r-purrr; add r-tibble; add r-viridislite.

[...]

> * gnu/packages/statistics.scm (r-purrr): New variable.

LGTM, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/3] gnu: Add r-viridislite.
  2016-10-02 13:23 ` [PATCH 1/3] gnu: Add r-viridislite Ludovic Courtès
@ 2016-10-02 15:34   ` Ricardo Wurmus
  0 siblings, 0 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2016-10-02 15:34 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel


Ludovic Courtès <ludo@gnu.org> writes:

> Ricardo Wurmus <rekado@elephly.net> skribis:
>
>> * gnu/packages/statistics.scm (r-viridislite): New variable.
>
> [...]
>
>> * gnu/packages/statistics.scm (r-plotly): Update to 4.5.2.
>> [propagated-inputs]: Remove r-plyr; remove r-viridis; add r-dplyr; add
>> r-lazyeval; add r-purrr; add r-tibble; add r-viridislite.
>
> [...]
>
>> * gnu/packages/statistics.scm (r-purrr): New variable.
>
> LGTM, thanks!

Thanks for the review.  Pushed as
88cf917b74731146abecf9fd306459dd29ed4789.

~~ Ricardo

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-10-02 15:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-29 15:14 [PATCH 1/3] gnu: Add r-viridislite Ricardo Wurmus
2016-09-29 15:14 ` [PATCH 2/3] gnu: Add r-purrr Ricardo Wurmus
2016-09-29 15:14 ` [PATCH 3/3] gnu: r-plotly: Update to 4.5.2 Ricardo Wurmus
2016-10-02 13:23 ` [PATCH 1/3] gnu: Add r-viridislite Ludovic Courtès
2016-10-02 15:34   ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).